greenred.colors {compdiagTools} | R Documentation |
Generate colors for classical green-red plots like hierarchical cluster plots.
greenred.colors(n = 1000)
n |
number of shades to be generated in the gradiant. |
Character vector with color codes compatible to image and other graphics commands.
Taken from clusterplot package by Mark Wilkinson.
Claudio Lottaz
image(matrix(1:100,ncol=10), col=greenred.colors())