This function splits the vertical line colors to match the daughter edges when the daughters have different states. Mostly to be used with trees generated using paintBranches
or paintSubTree
. Also used internally by plotSimmap
.
splitEdgeColor(tree,colors,lwd=2)
object of class "simmap"
.
named vector of colors to be used for plotting.
width of the plotted lines.
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