Plot a tree with parts and regimes assigned to these parts

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

Arguments

tree a PCMTree or a phylo object. 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: .