Learn R Programming

pmc (version 0.0-8)

treepalette: flexible regime coloring for trees

Description

flexible regime coloring for trees

Usage

treepalette(tree, regimes = NULL,
    colormap = c("rainbow", "heat.colors", "terrain.colors", "topo.colors", "cm.colors", "gray"),
    custom = NULL, rev = FALSE)

Arguments

tree
A phylo class or ouch-class tree
regimes
in ouch format, (only needed if not already given in tree)
colormap
a standard colormap color, see the list
custom
a custom colormap
rev
logical, reverse the order of the colormap colors

Value

  • a set of colors than can be passed as edge.color in plot.phylo