Learn R Programming

phytools (version 0.7-70)

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)

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. Most optional arguments work, with the exception of interactive=TRUE which will return an error.

Value

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

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