tips: descendents of a given node in a phylogenetic tree

View source: R/utilities-phylo.R

tipsR Documentation

descendents of a given node in a phylogenetic tree

Description

finding descendants of a node in a tree

Usage

tips(phy, node)

Arguments

phy

a phylogenetic tree of class 'phylo'

node

numeric node-identifier (an integer)

Value

The function returns the set of tips subtended by the given node.

Author(s)

LJ Harmon

Examples

geo <- get(data(geospiza))

tips(geo$phy, 18)

geiger documentation built on April 4, 2023, 1:07 a.m.