Good evening, I am currently running a WGCNA analysis. As suggested by a colleague, I switched from regular single-block WGCNA calculation to blockwiseModules, due to large (42,000 genes) dataset size. By setting the max block dimension to 40,000 , I obtain two separate blocks. Also, TOM matrices are exported and saved separately.
I don’t know how to proceed at this point. The function produced some data objects, but also exported two separated TOMs matrices.
What should I do? Most of the downstream functions explicitly require to work on a TOM (exporting data to Cytoscape for instance). I can easily import the matrix back into R, but I have two of them (same as number of blocks). Do I need to merge them somehow? Or should work on the two matrices separately? If so, how is this done? The tutorial doesn’t really expand on this.
Thank you in advance!
Some of the discussion I had previously re: exporting/saving/combining TOMs here might help: https://support.bioconductor.org/p/125161/
Hello, Maybe it's too late for this answer, sorry...
I was looking for Horvath's website, but it appears unavailable (I don't know if it was mired or another general problem).
https://horvath.genetics.ucla.edu/html/CoexpressionNetwork/Rpackages/WGCNA/Tutorials/Consensus-NetworkConstruction-blockwise.pdf
This was my code:
The internet archive has a cached version
https://web.archive.org/web/20230203001746/https://horvath.genetics.ucla.edu/html/CoexpressionNetwork/Rpackages/WGCNA/Tutorials/Consensus-NetworkConstruction-blockwise.pdf