Learn R Programming

geiger (version 2.0.7)

tips: 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.

Examples

Run this code
# NOT RUN {
geo <- get(data(geospiza))

tips(geo$phy, 18)
# }

Run the code above in your browser using DataLab