Learn R Programming

phytools (version 1.2-0)

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

Description

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

Usage

drop.tip.multiPhylo(phy, tip, ...)
drop.tip.multiSimmap(phy, tip, ...)

Value

An object of class "multiPhylo" or "multiSimmap", depending on the input object class.

Arguments

phy

an object of class "multiPhylo" or "multiSimmap".

tip

name or names of species to be dropped.

...

optional arguments to be passed to drop.tip or 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

This function merely wraps drop.tip and drop.tip.simmap. Note that drop.tip.multiSimmap is merely just an alias of drop.tip.multiPhylo.

References

Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.

See Also

drop.tip, drop.tip.simmap