vector.to.equidistant.tree {TML}R Documentation

Vector to equidistant tree

Description

A vector of pairwise distances is used to reconstruct the corresponding equidistant tree

Usage

vector.to.equidistant.tree(omega)

Arguments

omega

vector of pairwise distances in R^(m choose 2), where m is the number of leaves

Value

equidistant phylogenetic tree

Author(s)

Georgios Aliatimis g.aliatimis@lancaster.ac.uk

References

Aliatimis, Georgios, Ruriko Yoshida, Burak Boyaci and James A. Grant (2023). Tropical Logistic Regression on Space of Phylogenetic Trees

Examples

omega = c(1/3,1,1,1,1,1/3)
tree = vector.to.equidistant.tree(omega)
plot(tree)

[Package TML version 1.2.0 Index]