WGCNA Different Module Results
1
0
Entering edit mode
5.4 years ago

I'm using WGCNA to find gene modules- I've been using both the code from http://pklab.med.harvard.edu/scw2014/WGCNA.html and from here https://horvath.genetics.ucla.edu/html/CoexpressionNetwork/Rpackages/WGCNA/Tutorials/ and I am getting different results in the number of modules/module sizes. Can anyone explain these discrepancies.

RNA-Seq R • 2.5k views
ADD COMMENT
1
Entering edit mode
5.4 years ago
Sam ★ 4.8k

One of the step of WGCNA involves hierachical clustering, which is partially random. Unless you've set the random seed before each run, you'd expect to see slight difference in the number of modules, module size and module membership, especially when your sample size is relatively small

ADD COMMENT
0
Entering edit mode

Thank you so much!

Do you know why the Hovarth code uses this command : dynamicMods = cutreeDynamic(dendro = geneTree, distM = dissTOM, method="hybrid", deepSplit = 2, pamRespectsDendro = FALSE, minClusterSize = minModuleSize); when creating modules stepwise as opposed to this command used in the Harvard version: dynamicMods = cutreeDynamic(dendro = geneTree, method="tree", minClusterSize = minModuleSize);

I ask because using the different commands gives me a vastly different amounts of modules.

ADD REPLY
0
Entering edit mode

I'm not sure. But from the glance of it, those two codes are using two different method (tree vs hybrid). So I am not surprise that they generate a different result

ADD REPLY

Login before adding your answer.

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