process_manual_colors: Process gene color parameters in manual mode

View source: R/helpers_params.R

process_manual_colorsR Documentation

Process gene color parameters in manual mode

Description

Standardizes gene color parameters in manual mode (color by gene annotation) into a vector named by gene annotation

Usage

process_manual_colors(gene_colors, unique_anno, gene_order)

Arguments

gene_colors

Color vector (can be NULL, single value, vector, named vector with gene annotations)

unique_anno

Character vector, unique gene annotation names

gene_order

Character vector, display order of genes in the legend, default NULL (order of appearance)

Value

Named vector (names are gene annotations), standardized color values (default uses RColorBrewer Set1)


ggchord documentation built on Aug. 8, 2025, 6:15 p.m.