geiger (version 2.0.11)

tips: descendents of a given node in a phylogenetic tree

Description

finding descendants of a node in a tree

Usage

tips(phy, node)

Value

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

Arguments

phy

a phylogenetic tree of class 'phylo'

node

numeric node-identifier (an integer)

Author

LJ Harmon

Examples

Run this code
geo <- get(data(geospiza))

tips(geo$phy, 18)

Run the code above in your browser using DataLab