"contMap"
or "densityMap"
Drops one or multiple tips from an object of class "contMap"
or "densityMap"
.
# 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, ...)
An object of class "contMap"
or "densityMap"
.
an object of class "contMap"
or "densityMap"
.
name or names of species to be dropped or kept.
optional arguments to be passed to drop.tip.simmap
.
Liam Revell liam.revell@umb.edu
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.
Revell, L. J. (2024) phytools 2.0: an updated R ecosystem for phylogenetic comparative methods (and other things). PeerJ, 12, e16505.
contMap
, densityMap
, drop.tip
, drop.tip.simmap
, keep.tip