[R] Heatmap

Eleftheria Dalmaris ed@|m@r|@ @end|ng |rom gm@||@com
Mon Oct 21 13:55:17 CEST 2019

Hello all,

I have made the attached heat map without a problem.

On this heat map, the yellows are my high values and the oranges are my low
values. Is there a way to change that? Where the orange color is to have
the yellow and vice versa?

Thanks a lot,


In case is needed here is the code:
data_heatmap <- heatmap(data_matrix, Rowv=NA, Colv=NA, col =
heat.colors(256), scale="column",
cexCol = 1.5, cexRow = 0.5, margins=c(0.5,5))

-------------- next part --------------
A non-text attachment was scrubbed...
Name: HeatMap_211019_withCluster.pdf
Type: application/pdf
Size: 5575 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20191021/78729a7f/attachment.pdf>

More information about the R-help mailing list