Learn R Programming

dowser (version 2.2.0)

colorTrees: 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")

Value

A list of colored trees

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

See Also

getPalette, getTrees, plotTrees