phylo_divent | R Documentation |
Methods for dendrograms of class "phylo_divent".
as_phylo_divent(tree)
is_phylo_divent(x)
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". |
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.
as_phylo_divent
returns a phylogenetic tree that is an object of
class "phylo_divent".
# Paracou plot 6 species taxonomy
tree <- as_phylo_divent(mock_3sp_tree)
plot(tree)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.