Search
Question: WGCNA - module membership via max kME?
0
gravatar for ly.leifels
8 weeks ago by
ly.leifels0
ly.leifels0 wrote:

Hello,

I am working with a scRNA-seq dataset and I want to analyse module memberships for low abundance genes via WGCNA generated gene co-expression networks. I found that the module-color assignments from BlockWiseModules() are different from the module it would be assigned to looking only at the maximum abs(kME) value from singnedkME(). I am computing the kME-Table for all modules based on the module eigengenes generated from BlockWiseModules(). The color-assignment is important to me, for visualisation of switching modules during downscaling. Looking at the maximum kME-value for a gene it gets assigned to, for example, the black-module, while the module assignment from BlockWiseModules$colors says it is assigned to the grey-module. There is a analyses step mentioned in the supplementary material of the WGCNA-paper, saying that after merging close modules genes with higher kME-values for another module than the one they are assigned to get switched to the higher correlated module. How can this difference still happen? How are genes assigned to modules in detail? Thank you for any hints!! 

 

 

 

 

ADD COMMENTlink modified 5 weeks ago by Peter Langfelder1.3k • written 8 weeks ago by ly.leifels0
0
gravatar for Lluís R
6 weeks ago by
Lluís R300
European Union
Lluís R300 wrote:

The genes are assigned to a module using the TOM approach. There is some technical discussion about how does it work in the website of WGCNA.

When merging the modules, the gene correlation to the modules also changes! Thus it implies a new module assignment which could be different from what it is expected (not that I have looked how frequently this happens)

ADD COMMENTlink written 6 weeks ago by Lluís R300
0
gravatar for Peter Langfelder
6 weeks ago by
United States
Peter Langfelder1.3k wrote:

First things first: grey is not really a module, it is a label for unassigned genes, and the eigengene and kME for the grey "module" are more or less meaningless. In other words, ignore the eigengene and kME values for the grey "module".

WGCNA assigns module labels using dynamic tree cut (look up dynmaicTreeCut) of hierarchical clustering tree that is based on the Toplogical Overlap Measure (TOM). TOM results in similar but not quite the same similarity as correlation, hence for some genes the assigned module may differ from the module with highest kME. Module merging can also play a part here.

Practically speaking, genes will have a high kME to their assigned module. When assigned module and module of highest kME differ, the gene probably has high kME to both and can be considered intermediate between the two modules.

I don't really recommend this, but if you absolutely want all genes to be assigned to the module of highest kME, try using argument reassignThreshold=1 to blockwiseModules. This will re-assign all genes to the module of their highest kME after the initial modules have been identified. Note though that the reassignment is not iterated with module eigengene re-calculation.

In all, I don't worry about the module assignment vs. max. kME differences in my own analyses, and I recommend not worrying it about it to others as well.

Peter

ADD COMMENTlink written 6 weeks ago by Peter Langfelder1.3k
0
gravatar for ly.leifels
5 weeks ago by
ly.leifels0
ly.leifels0 wrote:

Thank you for your responses!
I will only use the original module assignments for my thesis and the associated kME-values for those modules. 
Why is it that nearly 90% of the 25,600 genes in my dataset (1,800 cells from mouse cortex) could not be assigned to any module? The dataset is very deeply sequenced to a depth of at least 5,000,000 total reads (median ~8,700,000, range ~3,800,000 - 84,300,000). Changing the minimum module size from 20 to 10 did not change the fact that 90% of all genes could not be clustered to a module.
Can I argument, that this is only due to the fact that those genes have too low kME-values to get assigned to a module? I detected 12 gene modules of which 5 had a size of less than 40 genes.
Thank you in advance!
best wishes,
Lydia

 

 

 

ADD COMMENTlink written 5 weeks ago by ly.leifels0

How many samples do you have? Which is your scale-free topology threshold? What coverage do you have? Are you filtering by low abundance genes or are you filtering them somehow?

ADD REPLYlink written 5 weeks ago by Lluís R300
0
gravatar for Peter Langfelder
5 weeks ago by
United States
Peter Langfelder1.3k wrote:

It is hard to say why you don't get more genes in modules (it's like asking "why does my experiment not work" without actually telling people what you did in your experiment), but perhaps you should look into how many genes are actually detected (have counts > 0) in each cell, and how many genes have counts greater than a few (say 3) across a sufficiently large number of cells that a correlation analysis makes sense.

ADD COMMENTlink written 5 weeks ago by Peter Langfelder1.3k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.2.0
Traffic: 164 users visited in the last hour