Description Usage Arguments Value
View source: R/utility_functions.R
Drops specified tips from a phylogeny. Like ape's drop.tip(), but it works when only a single tip is to be retained.
1 | safe.drop.tip(phy, tip)
|
phy |
The tree, as an ape phylo object |
tip |
A vector of tip numbers to be removed. |
The reduced tree, as a phylo object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.