Learn R Programming

phytools (version 0.2-70)

getCladesofSize: 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".

See Also

extract.clade, getDescendants