nodelabels.cophylo: Add labels to a plotted "cophylo" object

View source: R/cophylo.R

nodelabels.cophyloR Documentation

Add labels to a plotted "cophylo" object

Description

This function adds node, edge, or tip labels to the plotted trees of a "cophylo" object.

Usage

nodelabels.cophylo(..., which=c("left","right"))
edgelabels.cophylo(..., which=c("left","right"))
tiplabels.cophylo(..., which=c("left","right"))

Arguments

...

arguments to be passed to nodelabels, edgelabels, or tiplabels.

which

argument indicated which of the two plotted trees (the "left" or "right" tree) to be used.

Details

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.

Author(s)

Liam Revell liam.revell@umb.edu

References

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.

See Also

cophylo, edgelabels, nodelabels, tiplabels


phytools documentation built on Nov. 10, 2023, 1:08 a.m.