Question: showing row names and dendrogram in same side, using heatmap() or pheatmap()
gravatar for Farbod
2.9 years ago by
Farbod3.3k wrote:

Dear Biostars, Hi.

I am drawing a heatmap of differentially expressed genes in R using heatmap() function.

I want to show my 88 row names/IDs at the same side that I am showing my clustering/dendrogram (left side).

They are now on the opposite sides.

in Heatmap(), it could be done using row_names_side = "left" and row_hclust_side = "left", BUT I want its option in heatmap() or pheatmap().

~ Best

This is the script I am using:

heatmap(as.matrix(data.prop), Rowv = as.dendrogram(row.clus), Colv = NA, col = scaleyellowred, margins = c(10, 3))

NOTE: I have asked this question in StackOverflow, too but no answer yet.

R software error • 2.4k views
ADD COMMENTlink written 2.9 years ago by Farbod3.3k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1977 users visited in the last hour