colorTrees {dowser} | R Documentation |
colorTree
Gets a color palette for a predefined set of trait values
colorTrees(trees, palette, ambig = "blend")
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) |
Trees must have node states represented in a "states" vector. By default, ambiguous states (separated by ",") have their colors blended. If
A list of colored trees
getPalette, getTrees, plotTrees