R/Colors.R
scPalette2.Rd
Generate colors from a customed color palette
scPalette2(n)
number of colors to generate
scPalette2(8) #> [1] "#E41A1C" "#377EB8" "#4DAF4A" "#984EA3" "#FF7F00" "#A65628" "#F781BF" #> [8] "#999999"pals::pal.bands(scPalette2(20))