colorBySpecies | R Documentation |
Assigns unique colors by SpeciesID, for multi-species plotting.
colorBySpecies(speciesSet, palette = c("cyan", "springgreen", "gold", "hotpink"),
intergenic = NULL, intergenic.color = "brown")
speciesSet |
a vector of SpeciesIDs, or similar identifiers to factor on |
palette |
a vector of colors to choose from, at least as long as the levels of |
intergenic |
an optional boolean condition, of the same length as |
intergenic.color |
the color for 'intergenic' |
a utility for coloring features of multi-species images, like chromosome or gene pie and bar charts. Lets the speciesID of each feature be color coded without explicitly naming them.
a LIST, with
colors |
a vector of colors of the same length as |
legend.colors |
a named vector of the unique colors and their SpeciesIDs, for use in figure legends |
Bob Morrison
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.