Description Usage Arguments Value
View source: R/utility_functions.R
Given a tree and a bipartition, described as a vector of tip labels on one side of of the bipartition, return the same bipartition but defined by the tip labels on the other side of the bipartition.
1 | flip_bipartition(phy, bi)
|
phy |
A phylo object that specifies the tree. |
bi |
The bipartition. |
A vector of tip nodes (specified by labels) that define one half of the bipartition (the other half is the set of tip nodes that are provided as bi).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.