plot_upgma: Plot UPGMA phylo objects

View source: R/basics_utilities.R

plot_upgmaR Documentation

Plot UPGMA phylo objects

Description

Users can directly plot a single tree or the consensus of a multiPhylo object. The consensus is controled by the function tree_consensus.

Usage

plot_upgma(tree, ...)

Arguments

tree

a single tree or a set of trees in a multiPhylo object

...

parameters of the tree_consensus function

Author(s)

Wilson Frantine-Silva <wilsonfrantine@gmail.com>

See Also

tree_consensus() upgma()

Examples

df <- simulate_data()
S <- renkonen(df, 100)
trees <- upgma(S)
plot_upgma(trees, "mcc")

wilsonfrantine/R4eco documentation built on Jan. 30, 2024, 4:55 p.m.