View source: R/vector.to.equidistant.tree.R
vector.to.equidistant.tree | R Documentation |
A vector of pairwise distances is used to reconstruct the corresponding equidistant tree
vector.to.equidistant.tree(vec)
vec |
vector of pairwise distances in R^(m choose 2), where m is the number of leaves |
equidistant phylogenetic tree
Georgios Aliatimis g.aliatimis@lancaster.ac.uk
Aliatimis, Georgios, Ruriko Yoshida, Burak Boyaci and James A. Grant (2023). Tropical Logistic Regression on Space of Phylogenetic Trees
vec = c(1/3,1,1,1,1,1/3)
tree = vector.to.equidistant.tree(vec)
plot(tree)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.