Description Usage Arguments Value See Also
View source: R/raw_code/geom_rbar_interactive.R View source: R/geom_rbar_interactive.R
Creates an interactive radial barchart which shows a cluster's average feature values
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | geom_rbar_interactive(
mapping = NULL,
data = NULL,
stat = "identity",
position = "identity",
...,
cluster_idx = NULL,
cluster_assignment = NULL,
phase_present = FALSE,
cluster_phase = NULL,
cluster_name = NULL,
cluster_abbrev = NULL,
colour_clusters = NULL,
scale_rng = c(-1, 1) * 1.5,
data_dict = NULL,
delta_threshold = 0.25,
group_names = NULL,
show_group_names = FALSE,
unique_id = NULL,
na.rm = FALSE,
show.legend = NA,
inherit.aes = TRUE
)
|
mapping |
Set of aesthetic mappings created by |
data |
The dataset as data frame / tibble. Should be scaled. See ?scale. |
stat |
The statistical transformation to use on the data, as a string;
recommendation - |
position |
Position adjustment, either as a string, or the result of
a call to a position adjustment function, recommendation - |
... |
Other arguments passed on to |
cluster_idx |
A length-one integer vector. The Index of cluster of interest. e.g. 1L, 2L etc. |
cluster_assignment |
A integer vector with the cluster membership assignment. (optional) |
phase_present |
A length-one logical vector, the default |
cluster_phase |
Character vector with the time point of the recording, e.g there are two unique time points, |
cluster_name |
Name of the cluster. (optional) |
cluster_abbrev |
Prefix of cluster_idx. e.g. |
colour_clusters |
for color clusters |
scale_rng |
Min and max values to be shown. |
data_dict |
For internal use. |
delta_threshold |
For internal use. |
group_names |
Character vector with group names of features. Group names are displayed in the inner circle. (optional) |
show_group_names |
A length-one logical vector, the default 'FALSE, does not display group_names in inner circle. |
unique_id |
Numerical vector with unique identifiers for each observation. (optional) |
na.rm |
A length-one logical vector. Should missing values (including NaN) be removed?
If |
show.legend |
logical. Should this layer be included in the legends?
|
inherit.aes |
If |
the interactive radial barchart
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.