Create Discrete Color Palette.

DiscreteColorPalette(
  palette = c("dark2_8", "accent_8", "set2_8", "set1_9", "vega_10_scanpy", "set3_12",
    "vega_20_scanpy", "stepped_24_seurat", "alphabet_26_seurat", "alphabet2_26_seurat",
    "zeileis_28_scanpy", "glasbey_32_seurat", "polychrome_36_seurat", "cbf_40_dittoseq",
    "godsnot_102_scanpy")
)

Arguments

palette

Palette used, chosen from "dark2_8", "accent_8", "set2_8", "set1_9", "vega_10_scanpy", "set3_12", "vega_20_scanpy", "stepped_24_seurat", "alphabet_26_seurat", "alphabet2_26_seurat", "zeileis_28_scanpy", "glasbey_32_seurat", "polychrome_36_seurat", "cbf_40_dittoseq", "godsnot_102_scanpy". The last number indicates the length of this palette. Default: "dark2_8".

Value

A vector of colors.

Examples

library(DEbPeak) DiscreteColorPalette(palette = "dark2_8")
#> [1] "#1B9E77" "#D95F02" "#7570B3" "#E7298A" "#66A61E" "#E6AB02" "#A6761D" #> [8] "#666666"