Hi :

try this: col=rev(your color)

Regards,
Sh.Z

On Mon, May 31, 2010 at 2:16 PM, Jorge Ivan Velez
<jorgeivanvelez@gmail.com>wrote:

> Hi there,
>
> Take a look at
>
> http://www2.warwick.ac.uk/fac/sci/moac/currentstudents/peter_cock/r/heatmap/
>
> HTH,
> Jorge
>
>
> On Mon, May 31, 2010 at 3:54 AM, 孟欣 <> wrote:
>
> > Hi all:
> > As to the "heatmap" function, the default style is "red and yellow",and
> red
> > refers to low level and yellow refers to high level.
> > How can I change the style to the contrary: red refers to high level and
> > yellow refers to low level?
> >
> > Thanks a lot!
> > My best
> >        [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help@r-project.org mailing list
> > 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.
> >
>
>        [[alternative HTML version deleted]]
>
>
> ______________________________________________
> R-help@r-project.org mailing list
> 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.
>
>

	[[alternative HTML version deleted]]

