On Mon, Mar 2, 2009 at 10:24 AM, Amy Johnson <a7johnson@gmail.com> wrote:

> Hi,
>
> Thanks for your quick response. How do I specify colors corresponding to
> values, e.g. 0-1 (blue to yellow gradient), 1 (yellow), 1-10(yellow to
> red gradient)?
>

You'll want to play with the breaks argument.  There are a number of posts
in the archives that may be useful.

Sean



>
>
> ----- Original Message -----
> From: "Marietta Herrmann" <mariherrmann@gmx.de>
> To: Amy Johnson <a7johnson@gmail.com>, bioconductor@stat.math.ethz.ch
> Date: Mon, Mar 2, 2009 at 10:10 AM
> Subject: Heatmap hints and identifying differentially expressed genes
>
> > Hi Amy,
> >
> > you can set up every color you want with this command:
> >
> > mycolors<-function(n) colorpanel(n, "blue", "white", "brown")
> >
> > you can fit in every color from the R color chart, which you can find
> here:
> > http://research.stowers-institute.org/efg/R/Color/Chart/
> >
> > in the heatmap-command you set col=mycolors(32)
> >
> > I hope this helps you!
> >
> > Best regards,
> >
> > Marietta Herrmann
> >
> >
> > Am 3/2/09 3:34 PM schrieb "Amy Johnson" unter <a7johnson@gmail.com>:
> > - Show quoted text -
> > > _______________________________________________
> > > Bioconductor mailing list
> > > Bioconductor@stat.math.ethz.ch
> > > https://stat.ethz.ch/mailman/listinfo/bioconductor
> > > Search the archives:
> > > http://news.gmane.org/gmane.science.biology.informatics.conductor
> >
> >
> >
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor@stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives:
> http://news.gmane.org/gmane.science.biology.informatics.conductor
>

	[[alternative HTML version deleted]]

