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

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

drop.tip.multiPhyloR Documentation

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

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.

Value

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

Author(s)

Liam Revell liam.revell@umb.edu

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


phytools documentation built on Sept. 2, 2022, 1:06 a.m.