is_compatible_with_set: Check if bipartition bi is compatible with the bipartitions...

Description Usage Arguments Value

View source: R/utility_functions.R

Description

Check if bipartition bi is compatible with the bipartitions in bi_list. Each bipartition is defined as a vector of the names of the tips on one side of the bipartition.

Usage

1
is_compatible_with_set(bi, bi_list, phy)

Arguments

bi

The query bipartition.

bi_list

A list of the bipartitions to be compared against.

phy

A phylo object describing a tree that includes all tips under investigation. This is used to infer the other half of each bipartition.

Value

TRUE if bi is compatible with all bipartition in bi_list, otherwise FALSE.


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