Hi Carol,

R has 657 colors by name (see colors() ), but I don't know if there 
is an easy way to look through them to see which of the red and green 
options give the hues you want. However, I would caution you against 
using a red/green scheme. I know it's used because the dye colors for 
2-color arrays are red and green, but for display purposes red/green 
is a BAD choice because 10% of males are red-green color blind.

Jenny

At 12:42 PM 8/1/2007, carol white wrote:
>Hi,
>Regarding heatmap, I would like to display the colors in green and 
>red. Is setting the parameter col in heatmap to 
>col=colorRampPalette(c("red","green"))(256) the best solution? green 
>seems to be tense and red seems to be dull (see attached).
>
>Another solution would have been to use brewer.pal in RColorBrewer 
>package but I didn't find any name with only red and green option 
>for brewer.pal.
>
>any suggestion is welcome.
>
>thanks
>
>carol
>
>
>Building a website is a piece of cake.
>Yahoo! Small Business gives you 
><http://us.rd.yahoo.com/evt=48251/*http://smallbusiness.yahoo.com/webhosting/?p=PASSPORTPLUS>all 
>the tools to get online.

Jenny Drnevich, Ph.D.

Functional Genomics Bioinformatics Specialist
W.M. Keck Center for Comparative and Functional Genomics
Roy J. Carver Biotechnology Center
University of Illinois, Urbana-Champaign

330 ERML
1201 W. Gregory Dr.
Urbana, IL 61801
USA

ph: 217-244-7355
fax: 217-265-5066
e-mail: drnevich@uiuc.edu 
	[[alternative HTML version deleted]]

