PrepPalette: PrepPalette

Description Usage Arguments Value

View source: R/PrepPalette.R

Description

Given a palette name and data frame with clustering or grouping information in an 'ident' column, return a palette containing a color for each unique cluster identity.

Usage

1
PrepPalette(palette_use, bins)

Arguments

palette_use

The name of a palette to use. Must be a palette available in the Paletteer package. If there are more unique identities than colors in the palette, additional values will be created by interpolation.

bins

Number of discrete colors to generate from palette.

Value

A list containing color values.


milescsmith/enhancedDimPlot documentation built on March 17, 2021, 4:20 a.m.