View source: R/getTreeClades.R
getTreeClades | R Documentation |
This function breaks down a rooted phylo or multiPhylo object into its respective monophyletic groups, sorted alphanumerically.
getTreeClades(tree, include_root, print_counts, return_counts, return_shared)
tree |
Tree(s) to split. Options include:
|
include_root |
OPTIONAL: If FALSE, don't include root clades as part of the return (Automatic if tree is rooted on a single taxon) [Default: TRUE, include root clades] |
print_counts |
OPTIONAL: If TRUE, print a summary table of unique splits and how many/which trees contain them [Default: FALSE, no printing] |
return_counts |
OPTIONAL: If TRUE, instead of returning a vector of clades, return a summary table of unique splits and how many/which trees contain them [Default: FALSE, return clades as sorted vector] |
return_shared |
OPTIONAL: If TRUE, instead of returning a vector of clades, return a vector of only those clades present in all trees [Default: FALSE, return all clades] |
Either:
A character vector of monophyletic groups; or,
A dataframe containing information about clades and their occurrence among trees
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.