View source: R/helpers_params.R
process_manual_colors | R Documentation |
Standardizes gene color parameters in manual mode (color by gene annotation) into a vector named by gene annotation
process_manual_colors(gene_colors, unique_anno, gene_order)
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) |
Named vector (names are gene annotations), standardized color values (default uses RColorBrewer Set1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.