get_ann_colors: Get color names from unique groups in data frame

View source: R/colors.R

get_ann_colorsR Documentation

Get color names from unique groups in data frame

Description

Get color names from unique groups in data frame

Usage

get_ann_colors(df, ann_cols, pal = "")

Arguments

df

A data frame with the columns of interest

ann_cols

The columns of interest (get colors for)

pal

A named list. Existing colors in palette

Value

A vector with color names from unique groups in data frame


kazeera/hourglass documentation built on April 5, 2025, 7:18 a.m.