[R] Heatmap
Rui Barradas
ru|pb@rr@d@@ @end|ng |rom @@po@pt
Mon Oct 21 14:12:24 CEST 2019
Hello,
Just do col = rev(heat.colors(256)) ?
Hope this helps,
Rui Barradas
Às 12:55 de 21/10/19, Eleftheria Dalmaris escreveu:
> 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,
>
> Eleftheria
>
> P.S.
> 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))
>
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
More information about the R-help
mailing list