Entering edit mode
4.5 years ago
Vasu
▴
790
I have a very basic question for co-expression network analysis. I'm using WGCNA. I got 34 modules as output. After this, I calculated their eigengenes and clustered them on their correlation into 17 modules.
My question - Can I use the genes from the merged modules for pathway analysis? or do I need to use only the genes from modules before merging?
thanks and I have a small question. I'm able to get the hub genes from the modules before merging i.e. from 34 modules. But I would like to know how to get the hub genes from the merged modules i.e. 17 modules. How to do it? The below code gave me hub genes from one of the modules before merging.
So above I'm able to get the hub genes from
module turquoise
, but this module is before merging. After merging I see that this module and some other modules are clustered together. And I want to get hub genes from the clustered module. How to do it?Just calculate again
datKME
usingmergedMEs
yes just now found that and I thought of doing this. thanks a lot.
one help again.
When I used like above to get the hub genes from module
green
I see that it gave 1019 hub genes based on 0.8 correlation. Thisgreen module
is basically after merging another 5 modules. So, after merging these 5 modules into thegreen module
there are around 2000 genes.And when I checked whether 1019 hub genes are present in the 2000 genes of the green module, I see that not all 1019 genes present in 2000 genes of the green module.
Some of the hub genes are not members of that green module.
Did I do something wrong here?
hey,
I think this is a problem with the way you use to select the hub. For example, a gene could have
datKME$kMEgreen=0.81
anddatKME$kMEblue=0.82
. In this case the gene belong to the blue module. Instead of the module membership datKME you should use the function[intramodularConnectivity][1]
to calculate the intramodular connectivity (kWithin) and use this measure to select the hub genes:Results_kIn
is a dataframe containing the kWithin of each gene and the module to which they belong. The genes with the highestkWithin
are the hub genes. You could also attach thedatKME
values toResults_kIn
.