smorabit / hdWGCNA

High dimensional weighted gene co-expression network analysis
https://smorabit.github.io/hdWGCNA/
Other
341 stars 34 forks source link

Module Trait Correlation #40

Closed xiang-cy closed 2 years ago

xiang-cy commented 2 years ago

Hello,

Thank you for this wonderful package! I wanna do a correlation between cell clusters and modules, should I add cell clusters into metadata? And what data should I add into?

Best wishes!

smorabit commented 2 years ago

So I am guessing you want to identify which module is expressed in each cluster? It doesn't really make sense to do a correlation in that case. You just want to inspect the module eigengene in each cluster. You can do this using DotPlot or VlnPlot with Seurat or you can use ModuleFeaturePlot. Examples of how to do that are in the basics tutorial.

xiang-cy commented 2 years ago

So I am guessing you want to identify which module is expressed in each cluster? It doesn't really make sense to do a correlation in that case. You just want to inspect the module eigengene in each cluster. You can do this using DotPlot or VlnPlot with Seurat or you can use ModuleFeaturePlot. Examples of how to do that are in the basics tutorial.

Thanks for your reply, help me a lot! And there is another double that ModuleFeaturePlot or DotPlot in the basics tutorial plot using hME, which can represent the real expression of module genes in samples? Best wishes!