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

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:

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

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

clustering wgcna heatmap RNA-Seq R • 3.8k views
ADD COMMENT
2
Entering edit mode
6.2 years ago
alesssia ▴ 570

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: 1451 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