Description Usage Arguments Value
heatmap.key
plots a heatmap key in the current viewport.
1 2 3 4 | heatmap.key(x, color.scheme = heatmap.color.scheme(),
key.min = utils::head(color.scheme$breaks, 1) - 1,
key.max = utils::tail(color.scheme$breaks, 1) + 1,
key.line.color = "cyan")
|
x |
numeric matrix that was used to plot a heatmap |
color.scheme |
the color scheme used to plot the heatmap |
key.min |
should be less than the least break point of the color scheme |
key.max |
should be greater than the greates break point of the color scheme |
key.line.color |
the color used to draw the histogram |
invisible(NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.