ggsci_pal_d: ggsci pal discrete.

View source: R/utils.R

ggsci_pal_dR Documentation

ggsci pal discrete.

Description

ggsci pal discrete.

Usage

ggsci_pal_d(ggsci_pal_name = "jco", pal_size = 5, ...)

Arguments

ggsci_pal_name

ggsci palette name.

pal_size

an integer of how many colors needed.

...

other arguments passed to colorRampPalette or ggsci pal functions (e.g. pal_jco).

Value

a character vector of colors.


markgene/yamat documentation built on Aug. 26, 2024, 11:56 p.m.