Learn R Programming

paleotree (version 3.4.7)

rootSplit: Split Tip Taxa by Root Divergence

Description

Sorts terminal taxa into groups descended from each lineage splitting off of the root node.

Usage

rootSplit(tree)

Value

Returns a list with each element a character vector containing the names of terminal taxa descended from each lineage splitting off of the root node.

Arguments

tree

A phylogeny, as an object of class phylo.

Author

David W. Bapst

Details

This function can be useful for studying the timing in the order of appearance of descended from different lineages descended from the first bifurcation.

Examples

Run this code

tree <- rtree(100)
rootSplit(tree)

Run the code above in your browser using DataLab