Learn R Programming

phytools (version 2.1-1)

drop.tip.contMap: Drop tip or tips from an object of class "contMap" or "densityMap"

Description

Drops one or multiple tips from an object of class "contMap" or "densityMap".

Usage

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

Value

An object of class "contMap" or "densityMap".

Arguments

phy

an object of class "contMap" or "densityMap".

tip

name or names of species to be dropped or kept.

...

optional arguments to be passed to drop.tip.simmap.

Author

Liam Revell liam.revell@umb.edu

Details

These functions are equivalent to drop.tip and keep.tip in the ape package, but for objects of class "contMap" and "densityMap".

For more information about objects of class "contMap" or "densityMap", please refer to the documentation pages for contMap or densityMap, respectively.

References

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

See Also

contMap, densityMap, drop.tip, drop.tip.simmap, keep.tip