brewerPalette: Helper function for creating color palettes

View source: R/plot.R

brewerPaletteR Documentation

Helper function for creating color palettes

Description

Helper function for creating color palettes

Usage

brewerPalette(name, n = NULL, rev = TRUE)

Arguments

name

character A palette name; please refer to RColorBrewer::brewer.pal()

n

integer (default=NULL) Number of different colors in the palette, minimum 3, maximum depending on palette. Please refer to RColorBrewer::brewer.pal() for more details

rev

boolean (default=TRUE) Whether to reverse the palette order

Value

palette function


kharchenkolab/cacoa documentation built on Nov. 8, 2024, 6:06 a.m.