Re: [R] heatmap

From: Romain Francois <francoisromain_at_free.fr>
Date: Mon 03 Oct 2005 - 22:37:52 EST

Le 03.10.2005 14:24, Andrea Zangrando a écrit :

>Hi,
>i created a graph with heatmap(sma) function:
>
>heatmap(dataHeat(x))
>
>and I wish to change the gradation of colors from blue to red, how could
>i do?
>Using "heatmap(dataHeat(x), col=c(2,4))" i will use only 2 colors
>without gradation.
>
>Ty so much
>Andrea
>
>
Hello,

Check bluered() in the gplots package.

Romain

-- 
visit the R Graph Gallery : http://addictedtor.free.fr/graphiques
~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~
~~~~~~      Romain FRANCOIS - http://addictedtor.free.fr         ~~~~~~
~~~~        Etudiant  ISUP - CS3 - Industrie et Services           ~~~~
~~                http://www.isup.cicrp.jussieu.fr/                  ~~
~~~~           Stagiaire INRIA Futurs - Equipe SELECT              ~~~~
~~~~~~   http://www.inria.fr/recherche/equipes/select.fr.html    ~~~~~~
~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Mon Oct 03 22:38:29 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:34 EST