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)

mwpennell/geiger-v2 documentation built on Feb. 26, 2023, 1:19 a.m.