Description Usage Arguments Details
Function to plot the regimes from a simmap tree
1 | plotRegimes(tree, col = NULL, lwd = 1, pal = rainbow, ...)
|
tree |
A simmap tree of class phylo or simmap with a tree$maps list |
col |
A named vector of colors to assign to character states, if NULL, then colors are generated from pal |
lwd |
A numeric value indicating the width of the edges |
pal |
A color palette function to generate colors if col=NULL |
... |
Optional arguments that are passed to plot.phylo |
This function uses plot.phylo to generate coordinates and plot the tree, but plots the 'maps' element of phytools' simmap format. This provides much of the functionality of plot.phylo from the ape package. Currently, only types 'phylogram', 'unrooted', 'radial', and 'cladogram' are allowed. Phylogenies must have branch lengths.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.