drop_tip {pez} | R Documentation |
Trim a phylogeny
Description
This is a weak wrapper around ape
's
drop.tip
. Importantly, if asked to drop no species
from a phylogeny, it will just return the phylogeny (not an empty
phylogeny, as drop.tip
) will.
Usage
drop_tip(tree, spp)
Arguments
tree |
An |
spp |
A vector of species (one, many, or none) to be removed
from |
Value
phylo
object
See Also
[Package pez version 1.2-4 Index]