get_pal: Returns the even-numbered color palette associated with the...

View source: R/graphics.R

get_palR Documentation

Returns the even-numbered color palette associated with the count provided.

Description

Returns the even-numbered color palette associated with the count provided.

Usage

get_pal(x, name = "PuOr")

Arguments

x

- the number of color steps, if odd then n+1 is returned, if n > maxN (see RColorBrewer) the maxN colors are returned with a warning otherwise n colors are returned

name

the name of the ColorBrewer palette to return

Value

the ColorBrewer palette specified


BigelowLab/tetramers documentation built on April 3, 2022, 8:22 p.m.