scaleColorBar: Create scale for heatmap
Description
Create a bar for heatmap scales
Usage
scaleColorBar(x, horizontal = FALSE, col = rgcolorsfunc(50), scale = 1:length(x), k = 10, cLen = 9, ...)
Arguments
x
vector of scales need to be plotted
horizontal
whether the bar is vertical or horizontal
k
number of intervals on scale
Examples
Run this code##--- Do not call this function directly !! ----
Run the code above in your browser using DataLab