TopOf | R Documentation |
Generate dimension top of another object
TopOf( x = NULL, height = NULL, pad = 0.01, min.ratio = 0.02, h.aln = NULL, v.scale = NULL, v.scale.proportional = FALSE )
x |
an object with dimension |
height |
the height of the new object (when NULL, set to proportional to data) |
pad |
padding between the target and current |
min.ratio |
minimum ratio of dimensions when auto-scale |
h.aln |
object for horizontal alignment (when NULL, set to x) |
v.scale |
object for vertical scaling (when NULL, set to x) |
v.scale.proportional |
when v.scale is provided, whether to make proportional to data |
a dimension generator on top of x
WHeatmap(matrix(rnorm(2000),nrow=40)) + WColorBarH(1:20, cmp=CMPar(), continuous=FALSE, TopOf())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.