is_monophyletic: Test if a set of tips, specified as a vector of tip labels,...

Description Usage Arguments Value

View source: R/utility_functions.R

Description

Test if a set of tips, specified as a vector of tip labels, forms a monophyletic group in a given tree. The test is unrooted, i.e. the group can span the root.

Usage

1

Arguments

phy

The tree under consideration

x

A vector of the labels of the tips in question

Value

A boolean, TRUE if the tips form a monophyletic group.


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