How to show rownames in densityheatmaps
0
0
Entering edit mode
adR ▴ 40
@do-it-23093
Last seen 5 months ago
Germany, München

Hello Dear Biocondactors,

I would like to ask if there is a possibility to put row names in the density heatmap (Complexheatmap package). I want to show which density curve is indicating which gene. Simulated data and the codes are below. Thank you!


set.seed(22)
li.A <- matrix(rnorm(50), nrow = 10)
rownames(li.A) <- LETTERS[1:10]
colnames(li.A) <- paste0("S_", ncol = 1:5)
library(ComplexHeatmap)
densityHeatmap(li.A)
ComplexHeatmap • 842 views
ADD COMMENT

Login before adding your answer.

Traffic: 310 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