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


venelin/PCMBase documentation built on March 14, 2024, 8:24 p.m.