Plots given color vector/palette in viewer to evaluate palette before plotting on data.
PalettePlot(pal = NULL, label_color_num = NULL)
a vector of colors (either named colors of hex codes).
logical, whether or not to numerically label the colors in output plot.
Default is TRUE is number of colors in pal
is less than 75 and FALSE is greater than 75.
Plot of all colors in supplied palette/vector
Adapted from colorway package build_palette
internals (License: GPL-3).
https://github.com/hypercompetent/colorway.
pal <- DiscretePalette_scCustomize(num_colors = 36, palette = "varibow")
PalettePlot(pal = pal)