This is a test version of Biostars. For the public version, visit https://www.biostars.org.
showing row names and dendrogram in same side, using heatmap() or pheatmap()

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

0 answers

No answers yet.

Log in to answer this question.