Get the node numbers associated with tip- or node-labels in a tree

PCMTreeMatchLabels(tree, labels)

Arguments

tree

a phylo object

labels

a character vector with valid tip or node labels from tree

Value

an integer vector giving the tip- or node- integer indices corresponding to labels.