showing row names and dendrogram in same side, using heatmap() or pheatmap()
0
1
Entering edit mode
7.3 years ago
Farbod ★ 3.4k

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 • 4.7k views
ADD COMMENT

Login before adding your answer.

Traffic: 2450 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6