View source: R/color_palette.R
color_palette | R Documentation |
This function creates the base color palette used in BatchQC
color_palette(n, first_hue = 25, last_hue = 360)
n |
numeric object representing number of colors to be created |
first_hue |
numeric object to set the first hue value |
last_hue |
numeric object to set the final hue value |
color_list list of colors generated
library(scran)
n <- 100
color_list <- color_palette(n)
color_list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.