Learn R Programming

ggchord (version 0.2.0)

process_strand_colors: Process gene color parameters in strand mode

Description

Standardizes gene color parameters in strand mode (color by strand direction) into a named vector with "+"/"-"

Usage

process_strand_colors(gene_colors)

Value

Named vector (names are "+"/"-"), standardized color values (default "+" is red, "-" is blue)

Arguments

gene_colors

Color vector (can be NULL, single value, vector of length 2, named vector with "+"/"-")