palettes: Choose colors.

View source: R/palettes.R

palettesR Documentation

Choose colors.

Description

Choose colors.

Usage

palettes(
  category = "box",
  palette = "nrc",
  alpha = 1,
  counts = 50,
  show_col = TRUE,
  show_message = FALSE
)

Arguments

category

choose what type of plot you want to color,There are seven categories you can choose: 'box', 'continue2', 'continue', 'random', 'heatmap', 'heatmap3', 'tidyheatmap'

palette

Each category has some options to choose

alpha

intensity of the color

counts

number of colors, only affect continue colors

show_col

logical variable, if TRUE, color will be print and show in the R studio

show_message

print palettes that can be choose

Author(s)

Dongqiang Zeng


IOBR/IOBR documentation built on May 5, 2024, 2:34 p.m.