PCMTreePlot | R Documentation |
Plot a tree with parts and regimes assigned to these parts
PCMTreePlot(
tree,
palette = PCMColorPalette(PCMNumRegimes(tree), PCMRegimes(tree)),
...
)
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. |
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: .
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.