Description Usage Arguments Value
new_ggplot()
initializes a ggplot object, and all
subsequent elements are part of the annotation diagram.
1 2 3 4 5 6 7 8 9 |
data |
NULL or a data frame. |
mapping |
default list of aesthetic mappings to use for plot. |
width |
a positive numeric, indicating the width of a row annotation. |
height |
a positive numeric, indicating the height of a column annotation. |
dir |
on of "right", "left", "top" or "bottom", indicating the position of the annotation plot. |
inherit.aes |
if FALSE, overrides the default aesthetics, rather than combining with them. |
plot |
NULL or a ggplot object. |
a modified gg object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.