WGCNA export network into cytoscape : problem
0
0
Entering edit mode
6.9 years ago
ASid ▴ 40

The threshold (which corresponds to adjacency threshold for including edges in the output.) in the function “exportNetworkToCytoscape” (WGCNA) affects the results in which manner? I wanted to export the network of 461 module size into cutoscape network format and it gave me the 447 nodes in the resultant network when I used threshold =0.02 . Why this number was reduced from 461 to 447? What does this value does to the node numbers in module when exported ? I used the code:

cyt = exportNetworkToCytoscape(modTOM,
                               edgeFile = paste("CytoscapeInput-edges-", paste(modules, collapse="-"), ".txt", sep=""),
                               nodeFile = paste("CytoscapeInput-nodes-", paste(modules, collapse="-"), ".txt", sep=""),
                               weighted = TRUE,
                               threshold = 0.02,
                               nodeNames = modProbes,
                               nodeAttr = moduleColors[inModule]);
R wgcna cytoscape network export • 3.7k views
ADD COMMENT
1
Entering edit mode

It could be that the function discards singletons (i.e. unconnected nodes) after thresholding.

ADD REPLY
0
Entering edit mode

I added code markup to your post for increased readability. You can do this by selecting the text and clicking the 101010 button. When you compose or edit a post that button is in your toolbar, see image below:

101010 Button

ADD REPLY

Login before adding your answer.

Traffic: 2615 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6