Need advice: I want to display a heatmap of gene expression based on a dendrogram from the WGCNA package
1
0
Entering edit mode
8.9 years ago
jon.brate ▴ 290

Sorry for the vague question, but I am not really sure how to proceed with this. I have used the WGCNA package in R to identify modules of co-expressed genes. The procedure creates a dendrogram like this:

image: dendrogram

And I would like to create a heatmap of gene expression using the dendrogram from WGCNA. Like this:

image: heatmap

But I am not sure how I can order the expression matrix according to the dendrogram. Any advice will be greatly appreciated!

heatmap clustering RNA-Seq wgcna R • 4.7k views
ADD COMMENT
2
Entering edit mode
8.9 years ago
alesssia ▴ 580

It seems to me that you would like to do is similar to this: http://stats.stackexchange.com/questions/6890/plotting-a-heatmap-given-a-dendrogram-and-a-distance-matrix-in-r

ADD COMMENT

Login before adding your answer.

Traffic: 2036 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6