colorTrees {dowser} | R Documentation |
Get a color palette for a predefined set of trait values
Description
colorTree
Gets a color palette for a predefined set of trait values
Usage
colorTrees(trees, palette, ambig = "blend")
Arguments
trees |
list of phylo objects with assigned internal node states |
palette |
named vector of colors (see getPalette) |
ambig |
how should ambiguous states be colored (blend or grey) |
Details
Trees must have node states represented in a "states" vector. By default, ambiguous states (separated by ",") have their colors blended. If
Value
A list of colored trees
See Also
getPalette, getTrees, plotTrees
[Package dowser version 2.2.0 Index]