discreteColorPalette {singleCellTK} | R Documentation |
Three different generation methods are wrapped, including
distinctColors
,
[randomcoloR](SCTK_PerformingQC_Cell_V3.Rmd) and the ggplot
default color generation.
discreteColorPalette( n, palette = c("random", "ggplot", "celda"), seed = 12345, ... )
n |
An integer, the number of color codes to generate. |
palette |
A single character string. Select the method, available
options are |
seed |
An integer. Set the seed for random process that happens only in
"random" generation. Default |
... |
Other arguments that are passed to the internal function, according to the method selected. |
A character vector of n
hex color codes.
discreteColorPalette(n = 3)