Description Usage Arguments Value
View source: R/plotting_functions.R
Get color dataframe from shiny::colorInput
1 2 3 4 5 6 | get_color_dataframe_from_input(
input,
levels_selected,
color_by = c("sample_id", "total_counts"),
input_id_prefix = "color_"
)
|
input |
Shiny input object |
levels_selected |
Names of the features |
color_by |
Which feature color to retrieve |
input_id_prefix |
Prefix in front of the feature names |
A data.frame with the feature levels and the colors of each level of this feature.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.