Learn R Programming

ggphylo (version 0.1)

nodes: Returns a vector of node indices for all nodes (leaves plus internal nodes) in the tree.

Description

Returns a vector of node indices for all nodes (leaves plus internal nodes) in the tree.

Usage

nodes(phylo)

Arguments

phylo
input phylo object

Value

integer vector with the node indices for all nodes