PrepPalette: PrepPalette

Description Usage Arguments Value

Description

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

Usage

1

Arguments

df

A graphing data.frame (from PrepDr) containing a column named 'ident' with group identities.

palette

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.

Value

A list containing color values.


milescsmith/SeuratPlotly documentation built on June 5, 2019, 1:16 a.m.