Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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.

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)

References

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

See Also


phytools

Phylogenetic Tools for Comparative Biology (and Other Things)

v0.7-70
GPL (>= 2)
Authors
Liam J. Revell
Initial release
2020-9-19

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.