colorTrees | 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.