getCladesofSize: Get all subtrees larger than or equal to a specified size

View source: R/utilities.R

getCladesofSizeR Documentation

Get all subtrees larger than or equal to a specified size

Description

This function gets all subtrees that cannot be further subdivided into two reciprocally monophyletic subtrees of size >= clade.size.

Usage

getCladesofSize(tree, clade.size=2)

Arguments

tree

is an object of class "phylo".

clade.size

subtree size.

Value

An object of class "multiPhylo".

Author(s)

Liam Revell liam.revell@umb.edu

References

Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.

See Also

extract.clade, getDescendants


phytools documentation built on Nov. 10, 2023, 1:08 a.m.