Entering edit mode
7.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:
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!