flip_bipartition: Given a tree and a bipartition, described as a vector of tip...

Description Usage Arguments Value

View source: R/utility_functions.R

Description

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.

Usage

1

Arguments

phy

A phylo object that specifies the tree.

bi

The bipartition.

Value

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).


caseywdunn/hutan documentation built on June 12, 2020, 3:12 a.m.