Learn R Programming

cape (version 3.1.0)

get_allele_colors: Get DO colors

Description

This function returns the official DO allele colors. as described here https://compgen.unc.edu/wp/?page_id=577

Usage

get_allele_colors(color_scheme = c("DO/CC", "other"), alleles = NULL)

Arguments

color_scheme

"DO/CC" or "other" The default is "DO/CC" If set to "other", colors unrelated to the DO/CC are used.

alleles

an vector af alleles in the set "AJ", "B6", "129", "NOD", "NZO", "CAST", "PWK", "WSB". This argument can be used to retrieve colors only for a subset of alleles.

Value

A table with three columns corresponding to strain names, strain nicknames, and the assigned color values.