Question: showing row names and dendrogram in same side, using heatmap() or pheatmap()
1
gravatar for Farbod
23 months ago by
Farbod3.2k
Toronto
Farbod3.2k 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 • 1.7k views
ADD COMMENTlink written 23 months ago by Farbod3.2k
Please log in to add an answer.

Help
Access

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