[R] heatmap

Romain Francois francoisromain at free.fr
Mon Oct 3 14:37:52 CEST 2005


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    ~~~~~~
~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~




More information about the R-help mailing list