getUniqueTopologies: Rboretum Unique Topology Fetcher

View source: R/getUniqueTopologies.R

getUniqueTopologiesR Documentation

Rboretum Unique Topology Fetcher

Description

This function takes a multiPhylo where all trees share 3 or more taxa, and returns the unique topologies after pruning to a common set of taxa

Usage

getUniqueTopologies(trees, tree_names, print_table, return_table)

Arguments

trees

Rooted multiPhylo object where all trees share at least three taxa

print_table

OPTIONAL: If TRUE, return trees, and print summary table

return_table

OPTIONAL: If TRUE, return summary table rather than multiPhylo

tree_names:

OPTIONAL: If TRUE, name unique trees based off of individual tree names [Default: FALSE, return trees named Topology_1, Topology_2, etc.]

Value

multiPhylo containing unique topologies, or a phylo if all all trees share a common topology


BobLiterman/Rboretum documentation built on July 6, 2023, 7:46 p.m.