process_manual_colors {ggchord}R 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)


[Package ggchord version 0.2.0 Index]