Description Usage Arguments Value Author(s) Examples
Create a bar for heatmap scales
1 2 | scaleColorBar(x, horizontal = FALSE, col = rgcolorsfunc(50), scale = 1:length(x),
k = 10, cLen = 9, ...)
|
x |
vector of scales need to be plotted |
horizontal |
whether the bar is vertical or horizontal |
col |
color function |
scale |
scale of the bar |
k |
number of intervals on scale |
cLen |
length of columns |
... |
additional arguments |
none
Yongming Sun
1 | ##--- Do not call this function directly !! ----
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.