powered by
a vertical color bar
WColorBarV( data, ..., label = NULL, label.side = "t", label.fontsize = 12, label.pad = 0.005, label.space = 0.05, label.use.data = FALSE )
numeric vector
additional options to WHeatmap
colorbar label
t (for top) or b (for bottom)
label font size
label padding
when label.use.data, the space between labels
use data to show legend in situ
an object of class WColorBarV
# NOT RUN { WColorBarV(matrix(50:1)) # }
Run the code above in your browser using DataLab