This function adds the reconstructed changes to a plotted tree with a stochastically mapped discrete character.
markChanges(tree, colors=NULL, cex=1, lwd=2, plot=TRUE)
This function returns (invisibly) a matrix containing the x & y coordinates of the marked changes on the plotted tree.
an object of class "simmap"
.
a named vector of colors used to plot the stochastically mapped character on the tree.
expansion factor for line height.
line width.
logical value indicating whether the changes should be plotted or not.
Liam Revell liam.revell@umb.edu
Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.
plotSimmap