pw.trop.dist {TML}R Documentation

Constructs the dissimilarity matrix for a set of ultrametrics

Description

Constructs the dissimilarity matrix based on the tropical distance between points in a dataset

Usage

pw.trop.dist(D1, D2)

Arguments

D1

matrix of ultrametrics

D2

matrix of ultrametrics

Value

matrix; dissimilarity matrix showing the tropical pairwise distance between each point

Author(s)

Ruriko Yoshida ryoshida@nps.edu

References

Weyenberg, G., Huggins, P., Schardl, C., Howe, D. K., & Yoshida, R. (2014). kdetrees: Nonparametric Estimation of Phylogenetic Tree Distributions. In Bioinformatics.

Yoshida, Ruriko, David Barnhill, Keiji Miura and Daniel Howe (2022). Tropical Density Estimation of Phylogenetic Trees.

https://github.com/grady/kdetrees/blob/master/R/dist.diss.R

Examples


T1<-Sim_Trees15
T2<-Sim_Trees25
D <- rbind(T1, T2[1,])
pw.trop.dist(D, D)


[Package TML version 2.3.0 Index]