generate_nested_colors: Generate colors for nested grouping variables

View source: R/pathway_heatmap.R

generate_nested_colorsR Documentation

Generate colors for nested grouping variables

Description

Generate colors for nested grouping variables

Usage

generate_nested_colors(metadata, all_groups, colors = NULL)

Arguments

metadata

A data frame containing metadata

all_groups

A character vector of grouping variables

colors

A character vector of colors or NULL

Value

A character vector of colors appropriate for the grouping structure


ggpicrust2 documentation built on Aug. 26, 2025, 1:07 a.m.