minCladesList: minimum length set of clades with tip labels Returns a...

View source: R/minCladesList.R

minCladesListR Documentation

minimum length set of clades with tip labels Returns a smallest set of non-intersecting, non-sister clades of an input tree, and which together contain all of the tip labels supplied in the vector tiplabs.

Description

minimum length set of clades with tip labels

Returns a smallest set of non-intersecting, non-sister clades of an input tree, and which together contain all of the tip labels supplied in the vector tiplabs.

Usage

minCladesList(tree, tiplabs, quiet = T, warn = T)

Arguments

tree

A tree object of class phylo or treedata.

tiplabs

A character vector with a subset of the tip labels of the input tree

quiet

Logical indicating whether to suppress some messages printed to screen. Default TRUE. This does not affect warnings.

warn

Logical indicating if a warning should be generated when one or more tiplabs do not occur in the input tree. Default TRUE.

Value

A list of character vectors, each containing a subset of the names supplied to tiplabs, and each characterizing a clade that is non-intersecting and non-sister to any other clade in the list.


JeffWeinell/misc.wrappers documentation built on Sept. 20, 2023, 12:42 p.m.