Question: greenred.colors() in geneplotter
0
gravatar for michael watson IAH-C
14.8 years ago by
michael watson IAH-C3.4k 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 ???? Mick
geneplotter • 356 views
ADD COMMENTlink modified 14.8 years ago • written 14.8 years ago by michael watson IAH-C3.4k
Answer: greenred.colors() in geneplotter
0
gravatar for James W. MacDonald
14.8 years ago by
United States
James W. MacDonald52k wrote:
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@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
ADD COMMENTlink written 14.8 years ago by James W. MacDonald52k
Answer: greenred.colors() in geneplotter
0
gravatar for michael watson IAH-C
14.8 years ago by
michael watson IAH-C3.4k wrote:
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@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@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
ADD COMMENTlink written 14.8 years ago by michael watson IAH-C3.4k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 217 users visited in the last hour