Thanks Kevin for your reply. When I used the code as mentioned by you,
data.frame(colnames(datExpr), mergedColors)
it gave me like,
colnames.datExpr. mergedColors
1 1-Dec grey
2 1-Mar grey
3 12-Sep grey
4 4-Sep grey
5 A1BG grey
6 A2M blue
7 AACS grey
8 AADAC grey
9 AADACL2 grey
10 AADACL3 purple
11 AADACL4 grey
12 AASS grey
13 AB074188 grey
14 AB209061 red
But, I want the name of eigen-gene in each module calculated by WGCNA to merge modules.
Means I want to print the name of ME (module eigen-gene) in each of the module created by WGCNA. I assume that if there are 20 modules, there must be 20 eigen-genes, each from one module. I just want to have them.
Thanks in advance.
Paste what you have tried; otherwise, nobody will respond.
Agree with Kevin's point.
you can try with this code to extract modules..
Extract modules
I just want to print name of eigengene in each module, I have tried using MEList, MEs, MEList$eigengenes but could not get the name of gene, when I tried using MEList$eigengenes$MEsblack, it printed result as above. But I want to have name of that eigengene in each module.
Hi Mike
I want to extract eigengenes in each module and not modules, I have given all codes I followed and the one I tried for eigengenes extraction, but could not do. Please look into it.
Thanks in advance
This script will give you name of genes in each module
Ya MiKe you are right But I want to also know the name of eigengene in each module.
Regards
Hello
Can anyone tell how to print out the ME (module eigengenes) while using WGCNA?
Regards Shivangi
Please don't post another question as an answer. We will get around to it when we have time. We are volunteers here, each with our own full-time job (or jobs) and struggles that we face.
Ok,I am sorry Kevin. But, it is not the other question, it is the same question.
With regards
Please use
ADD REPLY/ADD COMMENTwhen responding to existing posts to keep threads logically organized. Do not useSUBMIT ANSWERto add comments.OK genomax, thanks for the information. Actually, I am new to it.. Anyway, thanks
With regards