WLegendV {wheatmap} | R Documentation |
WLegendV
Description
a vertical legend
Usage
WLegendV(
x = NULL,
dm = NULL,
name = "",
n.stops = 20,
n.text = 5,
label.fontsize = 12,
width = 0.05,
height = 0.02,
decreasing = FALSE,
...
)
Arguments
x |
a name or a plotting object, if NULL use the last plotting object |
dm |
position |
name |
name of the plotted legend |
n.stops |
number of stops in computing continuous legend |
n.text |
number of text labels in continuous legend |
label.fontsize |
label font size |
width |
width of each unit in plotted legend |
height |
height of each unit in plotted legend |
decreasing |
reversed color map |
... |
additional options to WHeatmap |
Value
an object of class WLegendV
Examples
WHeatmap(matrix(1:4,nrow=2))+WLegendV(NULL, RightOf())
[Package wheatmap version 0.2.0 Index]