tips function

Get descending tips

Get descending tips

The function returns the numbers or labels of tips descending from a given node.

tips(tree,node,labels=TRUE)

Arguments

  • tree: a phylogenetic tree. The tree needs not to be ultrametric and fully dichotomous.
  • node: the number of focal node
  • labels: if TRUE (default) the function returns the labels of descending tips.

Returns

The tips, either labels or numbers depending on the argument labels, descending from the node.

Examples

data(DataOrnithodirans) DataOrnithodirans$treedino->treedino tips(tree=treedino,node=677,labels=FALSE) tips(tree=treedino,node=677,labels=TRUE)

Author(s)

Silvia Castiglione, Pasquale Raia, Carmela Serio

  • Maintainer: Silvia Castiglione
  • License: GPL-2
  • Last published: 2025-03-23

Useful links