prune.fossil.tips: Remove fossil lineages from a tree

View source: R/subsampling.R

prune.fossil.tipsR Documentation

Remove fossil lineages from a tree

Description

Remove fossil lineages from a tree

Usage

prune.fossil.tips(tree)

Arguments

tree

an object of class "Phylo".

Value

an object of class "Phylo". If fossil lineages were found in the tree these will be pruned, if not then the original tree is returned.

Examples

t = TreeSim::sim.bd.taxa(10, 1, 0.1, 0.05)[[1]]
prune.fossil.tips(t)

FossilSim documentation built on April 19, 2022, 5:09 p.m.