Hello Dears,
I want to give a different color for my heatmap's row names A and D. Is it possible to do using pheatmap or heatmap.2?
Below is my code
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(pheatmap)
pheatmap(li.A)
Thank you so much!