motmot.2.0 (version 1.1.2)

timeTravelPhy: timeTravelPhy (internal function)

Description

removes tips and lineages after a time in the past

Usage

timeTravelPhy(phy, node, nodeEstimate, timeCut, traits = TRUE)

Arguments

phy

An object of class "phylo" (see ape package).

node

nodes arising more recently than the cut time

nodeEstimate

trait the number of descendants arising from the nodes

timeCut

position at which to cut the phylogeny

traits

Logical. Include trait values in the output tree

Value

the pruned phylogeny and a 'tipObject' of the number of lineages found in the pruned branches

References

Puttick, M. N., Kriwet, J., Wen, W., Hu, S., Thomas, G. H., & Benton, M. J. (2017). Body length of bony fishes was not a selective factor during the biggest mass extinction of all time. Palaeontology, 60, 727-741.