greenred.colors() in geneplotter
2
0
Entering edit mode
@michael-watson-iah-c-378
Last seen 7.7 years ago
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 geneplotter • 527 views
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 1 hour ago
United States
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 COMMENT
0
Entering edit mode
@michael-watson-iah-c-378
Last seen 7.7 years ago
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 COMMENT

Login before adding your answer.

Traffic: 1138 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6