Skip to content
Back to formatted view

Raw Message

Message-ID: <fj1l8m$jqd$1@ger.gmane.org>
Date: 2007-12-03T19:26:11Z
From: Earl F. Glynn
Subject: about col in heatmap.2

"affy snp" <affysnp at gmail.com> wrote in message 
news:5032046e0711301734o2bdd53a5p3da1276bc68b28ba at mail.gmail.com...
> For example, it should go from
> very red---red---less red---dark----green---very green coinciding
> with the descending order of values, just like the very left panel
> shown in
> http://www.bme.unc.edu/research/Bioinformatics.FunctionalGenomics.html

This looks like the MatLab palette that's in tim.colors:

library(fields)  # tim.colors:  Matlab-like color palette

N <- 100
par(lend="square")
plot(rep(1,N), type="h", col=tim.colors(N), lwd=6, ylim=c(0,1))


efg

Earl F. Glynn
Scientific Programmer
Stowers Institute for Medical Research