| register_colon_variant | R Documentation |
Adds a new named blueprint to the package's internal variant registry so it
can be referenced by variant arguments in geom_colon(),
geom_colon_label(), colon_sf(), and colon_heatmap_grid().
register_colon_variant(name, data)
name |
A non-empty character string naming the new variant.
Existing variants (including |
data |
A data frame with at least three columns:
Each unique |
The name string, invisibly.
my_blueprint <- data.frame(
dx = c(0, 1, 1, 0, 2, 3, 3, 2),
dy = c(0, 0, 1, 1, 0, 0, 1, 1),
part = c(rep("SegA", 4), rep("SegB", 4))
)
register_colon_variant("my_colon", my_blueprint)
list_colon_variants()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.