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

View source: R/PCMTree.R

PCMTreePlotR Documentation

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.

Note

This function requires that the ggtree package is installed. At the time of releasing this version the ggtree package is not available on CRAN. Check the ggtree homepage for instruction on how to install this package: .


venelin/PCMBase documentation built on March 14, 2024, 8:24 p.m.