View source: R/plot_colorkey.R
This function makes a color key plot for the heatmap. Should only be called internally
1 | plot_colorkey(color.range, colors, text.size, show.legend.scale)
|
color.range |
numeric vector that indicates the range of x axis for the color key |
colors |
character indicates the colors to use |
text.size |
the size of the x axis labels. |
show.legend.scale |
logic value whether to show scales on color key. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.