This function adds node, edge, or tip labels to the plotted trees of a "cophylo"
object.
nodelabels.cophylo(..., which=c("left","right"))
edgelabels.cophylo(..., which=c("left","right"))
tiplabels.cophylo(..., which=c("left","right"))
arguments to be passed to nodelabels
, edgelabels
, or tiplabels
.
argument indicated which of the two plotted trees (the "left"
or "right"
tree) to be used.
Note that the order of tips, edges, and nodes may be different in the object of class "cophylo"
than they are in the original input trees, particularly if cophylo(...,rotate=TRUE)
was used.
Paradis, E., J. Claude, and K. Strimmer (2004) APE: Analyses of phylogenetics and evolution in R language. Bioinformatics, 20, 289-290.
Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.