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

View source: R/drop.tip.simmap.R

drop.tip.multiSimmapR Documentation

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 class 'multiSimmap'
drop.tip(phy, tip, ...)
## S3 method for class 'multiSimmap'
keep.tip(phy, tip, ...)

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.

Details

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

This function merely wraps drop.tip.simmap.

Value

An object of class "multiSimmap".

Author(s)

Liam Revell liam.revell@umb.edu

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


phytools documentation built on June 22, 2024, 10:39 a.m.