powered by
Remove stem lineages from a tree.
remove.stem.lineages(tree)
an object of class "Phylo", if stem lineages were found in the tree these will be pruned; if not then the original tree is returned.
an object of class "Phylo".
t = TreeSim::sim.bd.taxa(10, 1, 0.1, 0.05)[[1]] remove.stem.lineages(t)
Run the code above in your browser using DataLab