View source: R/Color_Palettes.R
scCustomize_Palette | R Documentation |
Function to return package default discrete palettes depending on number of groups plotted.
scCustomize_Palette(
num_groups,
ggplot_default_colors = FALSE,
color_seed = 123
)
num_groups |
number of groups to be plotted. If
|
ggplot_default_colors |
logical. Whether to use default ggplot hue palette or not. |
color_seed |
random seed to use for shuffling the "varibow" palette. |
vector of colors to use for plotting.
cols <- scCustomize_Palette(num_groups = 24, ggplot_default_colors = FALSE)
PalettePlot(pal= cols)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.