View source: R/utils-heatmap-set-colors.R
heatmap_set_colors | R Documentation |
w
Ramp colors given to the length of the number of ages in the data frame w
heatmap_set_colors(
wa = NULL,
cols = c("red", "yellow", "green", "dodgerblue"),
...
)
wa |
A data frame containing columns named by numbers which are ages |
cols |
A vector of the colors to use to build the color ramp |
... |
Absorbs arguments intended for other functions |
A vector of the colors ramped by the function. The vector will
be the number of ages minus 1 found in the wa
data frame. The color
ramp is provided by grDevices::colorRampPalette()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.