This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Importing WGCNA edge and node files into Cytoscape

I've used the WGCNA packages (https://horvath.genetics.ucla.edu/html/CoexpressionNetwork/Rpackages/WGCNA/) to generate edge and node files for use in Cytoscape.

cyt = exportNetworkToCytoscape(modTOM, edgeFile = file.path("./environment", paste(label, "_CytoscapeInput-edges-", paste(modules, collapse="-"), ".txt", sep="")), nodeFile = file.path("./environment", paste(label, "_CytoscapeInput-nodes-", paste(modules, collapse="-"), ".txt", sep="")), weighted = TRUE, threshold = 0.02, nodeNames = modProbes, altNodeNames = modGenes, nodeAttr = moduleColors[inModule])

I've read about importing these to Cytoscape here Importing Network From Wgcna Into Cytoscape

However, when I import, I can't get the node names to appear (see image linked below). Any help please!

https://1drv.ms/u/s!AvBi5ipmBYfrhdd1q52dWajjWl9NgA?e=iw8dLB

wgcna cytoscape

For networks with lots of nodes and edges, cytoscape hide the node names to make the navigation smoother. If you zoom in, or export the network as image, the node names should appear again

0 answers

No answers yet.

Log in to answer this question.