paletteDiscrete | R Documentation |
REF: Function from ArchR
paletteDiscrete(values = NULL, set = "stallion", reverse = FALSE)
values |
A character vector containing the sample names that will be used. Each entry in this character vector will be given a unique color from the designated palette set. |
set |
The name of a color palette provided in the
|
reverse |
A boolean variable that indicates whether to return the palette colors in reverse order. |
This function assesses the number of inputs and returns a discrete color palette that is tailored to provide the most possible color contrast from the designated color set.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.