Learn R Programming

ggpicrust2 (version 2.5.2)

smart_color_selection: 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
)

Value

A list with suggested theme and colors

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