[BioC] greenred.colors() in geneplotter

michael watson (IAH-C) michael.watson at bbsrc.ac.uk
Wed Feb 23 15:53:21 CET 2005


OK, so why:

> greenred.colors(11)
 [1] "#00FF00" "#00D100" "#00A300" "#007400" "#004600" "#001800"
"#180000"
 [8] "#460000" "#740000" "#A30000" "#D10000" "#FF0000"
> length(greenred.colors(11))
[1] 12

?? :-)

-----Original Message-----
From: James W. MacDonald [mailto:jmacdon at med.umich.edu] 
Sent: 23 February 2005 14:26
To: michael watson (IAH-C)
Cc: Bioconductor
Subject: Re: [BioC] greenred.colors() in geneplotter


michael watson (IAH-C) wrote:
> Hi
> 
> In the docs for greenred.colors in package geneplotter it says:
> 
> greenred.colors(n)
> n: An integer saying how many colors to be in the palette
> 
> BUT
> 
> 
>>length(greenred.colors(10))
> 
> [1] 11
> 
> ????

greenred.colors(10)
  [1] "#00FF00" "#00CC00" "#009900" "#006700" "#003400" "#000000" 
"#330000" "#670000" "#990000" "#CC0000"
[11] "#FF0000"

#000000 == black, which technically is not a green or red color, but 
which is necessary to indicate no difference.

Jim



> 
> Mick
> 
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch 
> https://stat.ethz.ch/mailman/listinfo/bioconductor


-- 
James W. MacDonald
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI 48109
734-647-5623



More information about the Bioconductor mailing list