Learn R Programming

FossilSim (version 2.4.1)

get.tip.descs: Obtain the tips that define each node in a tree

Description

Obtain the tips that define each node in a tree

Usage

get.tip.descs(tree)

Value

A list of vectors, with one entry for each node consisting of the tip labels that define that node.

Arguments

tree

an object of class "Phylo".

Examples

Run this code
t = TreeSim::sim.bd.taxa(10, 1, 0.1, 0.05)[[1]]
get.tip.descs(t)

Run the code above in your browser using DataLab