smart_color_selection: Smart Color Selection

View source: R/color_themes.R

smart_color_selectionR Documentation

Smart Color Selection

Description

Intelligently selects colors based on data characteristics

Usage

smart_color_selection(
  n_groups,
  has_pathway_class = FALSE,
  data_type = "abundance",
  accessibility_mode = FALSE
)

Arguments

n_groups

Number of groups in the data

has_pathway_class

Whether pathway class information is available

data_type

Type of data ("abundance", "pvalue", "foldchange")

accessibility_mode

Whether to use accessibility-friendly colors

Value

A list with suggested theme and colors


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