FAQ Database Discussion Community


How can I get the new order of column and row in a heatmap after clusting using the pheatmap

r,cluster-analysis,pheatmap
I draw a heatmap using the 'pheatmap' package, and clusted with the rows and cloumns. However, for some reason, I need to get the row order and the column order in the heatmap. Is there a convient way to do that? This is a example of pheatmap. test = matrix(rnorm(200),...

Discontionous heatmap in R

r,heatmap,pheatmap
I wish to create something similar to the following types of discontinuous heat map in R: My data is arranged as follows: k_e percent time .. .. .. .. .. .. I wish k_e to be x-axis, percent on y-axis and time to denote the color. All links I could...