PCMBase (version 1.2.10)

PCMTreePlot: Plot a tree with parts and regimes assigned to these parts

Description

Plot a tree with parts and regimes assigned to these parts

Usage

PCMTreePlot(tree, palette = PCMColorPalette(PCMNumRegimes(tree),
  PCMRegimes(tree)), ...)

Arguments

tree

a PCMTree or a phylo object.

palette

a named vector of colors corresponding to the regimes in tree

...

Arguments passed to ggtree, e.g. layout = 'fan', open.angle = 8, size=.25.