View source: R/wrap-annotate.R
wrap_annotate | R Documentation |
This function is a wrapper of aplot
, and can be used to
insert annotation.
wrap_annotate(
plot,
...,
width = NULL,
height = NULL,
k = 2,
colour = NULL,
border = NA,
color = NULL
)
plot |
a ggplot object. |
... |
annotation elements. |
width, height |
width/height of each annotation plot. |
k |
an integer scalar with the desired number of groups. |
border, colour, color |
fill and border colour of the hclust bar. |
Hou Yun
Yu G (2022). aplot: Decorate a 'ggplot' with Associated Information. R package version 0.1.6, https://CRAN.R-project.org/package=aplot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.