Need advice: I want to display a heatmap of gene expression based on a dendrogram from the WGCNA package
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!
• 5,421 views
•
link
1 answer
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
• 1 views
•
link
Log in to answer this question.