WLegendH | R Documentation |
a horizontal legend
WLegendH( x = NULL, dm = NULL, name = "", n.stops = 20, n.text = 5, label.fontsize = 12, width = 0.02, height = 0.05, decreasing = TRUE, ... )
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 |
an object of class WLegendH
WHeatmap(matrix(1:4,nrow=2))+WLegendH(NULL, Beneath())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.