Graphics Programs Reference
In-Depth Information
FIGurE 7-4
Heatmap with a red-yellow color scale
If you typed
cm.colors(10)
in the R console, you'd get an array of ten colors
that range from cyan to magenta. Then
heatmap()
automatically chooses
the color that corresponds to each value based on a linear scale.
[1] “#80FFFFFF” “#99FFFFFF” “#B3FFFFFF” “#CCFFFFFF” “#E6FFFFFF”
[6] “#FFE6FFFF” “#FFCCFFFF” “#FFB3FFFF” “#FF99FFFF” “#FF80FFFF”
Search WWH ::
Custom Search