Learn R Programming

phytools (version 2.3-0)

drop.tip.multiSimmap: Drop or keep tip or tips from an object of class "multiSimmap"

Description

This function drops or keeps one or multiple tips from all the trees of an object of class "multiSimmap".

Usage

# S3 method for multiSimmap
drop.tip(phy, tip, ...)
# S3 method for multiSimmap
keep.tip(phy, tip, ...)

Value

An object of class "multiSimmap".

Arguments

phy

an object of class "multiSimmap".

tip

name or names of species to be dropped, in a vector.

...

optional arguments to be passed to drop.tip.simmap. Most optional arguments work, with the exception of interactive=TRUE which will return an error.

Author

Liam Revell liam.revell@umb.edu

Details

Equivalent to drop.tip and keep.tip in ape.

This function merely wraps drop.tip.simmap.

References

Revell, L. J. (2024) phytools 2.0: an updated R ecosystem for phylogenetic comparative methods (and other things). PeerJ, 12, e16505.

See Also

drop.tip, drop.tip.multiPhylo, drop.tip.simmap