https://mp.weixin.qq.com/s/2VXprzgJSYJ39AhZ_FprCQ
https://www.jianshu.com/p/b24e5f52a7a7
https://support.bioconductor.org/tag/WGCNA/
offical tutorial
offical FAQ
1. prepare input expression matrix & trait
- a matrix of genes at rows & samples at column
- over 20 samples
- log2(TPM+1) to normalise
combatorsvato remove batch effect- filter low express genes
2
ALLOW_WGCNA_THREADS=8
allowWGCNAThreads()
recommend setting
networkType = "signed" # or "signed hybrid"corType = "bicor"TOMType = "signed"maxPOutliers = 0.05 #or 0.10robustY = FALSE
