Description Usage Arguments Value Examples
View source: R/dv_annotate_count_axis.R
Annotate counts axis
1 2 3 4 5 6 7 8 | dv_annotate_count_axis(
counts,
gp = grid::gpar(),
prefix = "N",
sep = "=",
title = "N",
vp = NULL
)
|
counts |
The counts to annotate plot with |
gp |
Graphical parameters for labels (see |
prefix |
A prefix for label counts (e.g., N) |
sep |
A separator between prefix and count (e.g., =) |
title |
The title to use (default is N) |
vp |
Viewport to plot in (see |
A grob representing an annotated axis.
1 2 3 4 | ## Not run:
dv_annotate_count_axis(counts=c(2,5,1,2), prefix="N", sep=":", title="Counts", vp = "panel")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.