WColorBarV | R Documentation |
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 )
data |
numeric vector |
... |
additional options to WHeatmap |
label |
colorbar label |
label.side |
t (for top) or b (for bottom) |
label.fontsize |
label font size |
label.pad |
label padding |
label.space |
when label.use.data, the space between labels |
label.use.data |
use data to show legend in situ |
an object of class WColorBarV
WColorBarV(matrix(50:1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.