Methods for dendrograms of class "phylo_divent".
Arguments
- tree
an ultrametric, phylogenetic tree. May be an object of class phylo_divent, ape::phylo, ade4::phylog or stats::hclust.
- x
An object of class "phylo_divent".
Details
as_phylo_divent
calculates cuts and intervals of a phylogenetic tree and makes
it available both in stats::hclust and ape::phylo formats.
The conversion preprocesses the tree: it calculates cuts so that the tree
can be reused efficiently by phylodiversity functions.
Examples
# Paracou plot 6 species taxonomy
tree <- as_phylo_divent(mock_3sp_tree)
plot(tree)