Learn R Programming

PCMBase (version 1.2.15)

PCMTreeGetLabels: Node labels of a tree

Description

Get the character labels of the tips, root and internal nodes in the tree (see Functions below).

Usage

PCMTreeGetLabels(tree)

PCMTreeGetRootLabel(tree)

PCMTreeGetNodeLabels(tree)

PCMTreeGetTipLabels(tree)

Value

a character vector

Arguments

tree

a phylo object

Functions

  • PCMTreeGetLabels(): Get all labels in the order (tips,root,internal).

  • PCMTreeGetRootLabel(): Get the root label

  • PCMTreeGetNodeLabels(): Get the internal node labels

  • PCMTreeGetTipLabels(): Get the tip labels