WGCNA cytoscape export question
2
0
Entering edit mode
@akridgerunner-7719
Last seen 7.9 years ago
United States

Hi,

We've successfully exported the top hub genes in a module to Cytoscape from a network based on a single TOM. However, how do export from networks based on multiple TOMs? Do the TOMs have to be merged somehow, and if so, do you have a script snippet?

Thanks as always,

Robert

WGCNA • 2.8k views
ADD COMMENT
1
Entering edit mode
@peter-langfelder-4469
Last seen 5 weeks ago
United States

There is only one TOM for the entire network. The module TOM you reference is (if I understand your question right) the full network TOM subset to the module genes. You can subset the TOM to any subset of genes you like, for example hubs from different modules, or all genes from several modules.

ADD COMMENT
0
Entering edit mode

Hi Peter, I had to set my maxblocksize to 20,000 so I got three TOMs during network creation, so I'm not sure how to handle this. Thanks again.

ADD REPLY
1
Entering edit mode
@peter-langfelder-4469
Last seen 5 weeks ago
United States

The silent assumption in blockwise analysis is that TOM between genes in different blocks is zero, so you could also use this assumption. See the help for blockwiseModules, especially the output component blockGenes which tells you which genes went into each block.

The alternative, if you are patient, is to use the function vectorTOM. This allows you to calculate TOM among a subset of genes/probes as long as the subset is not too large. You need patience because the function is slower than standard TOM calculation, but will give you TOM among the subset of genes.
 

ADD COMMENT

Login before adding your answer.

Traffic: 649 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