PCMTreeGetLabels: Node labels of a tree

View source: R/PCMTree.R

PCMTreeGetLabelsR Documentation

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)

Arguments

tree

a phylo object

Value

a character vector

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


PCMBase documentation built on Sept. 1, 2025, 5:11 p.m.