Learn R Programming

ggphylo (version 0.1)

labels.phylo: Returns labels corresponding to all or some subset of the nodes in a tree.

Description

Returns labels corresponding to all or some subset of the nodes in a tree.

Usage

"labels" (phylo, nodes = NA)

Arguments

phylo
input phylo object
nodes
[optional] vector of node indices for which to return labels