Next Article in Journal
Predictive Quantization and Symbolic Dynamics
Next Article in Special Issue
Entropy-Based Anomaly Detection for Gaussian Mixture Modeling
Previous Article in Journal
Thermal Conductivity of Low-GWP Refrigerants Modeling with Multi-Object Optimization
Previous Article in Special Issue
Periodic and Non-Periodic Brainwaves Emerging via Stochastic Syncronization of Closed Loops of Firing Neurons
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Stochastic Safety Radius on UPGMA

Naval Postgraduate School, 1411 Cunningham Road, Monterey, CA 93943-5219, USA
*
Author to whom correspondence should be addressed.
Algorithms 2022, 15(12), 483; https://doi.org/10.3390/a15120483
Submission received: 14 November 2022 / Revised: 9 December 2022 / Accepted: 13 December 2022 / Published: 18 December 2022
(This article belongs to the Special Issue Machine Learning Algorithms for Bioinformatics Problems)

Abstract

:
Unweighted Pair Group Method with Arithmetic Mean (UPGMA) is one of the most popular distance-based methods to reconstruct an equidistant phylogenetic tree from a distance matrix computed from an alignment of sequences. Since we use equidistant trees as gene trees for phylogenomic analyses under the multi-species coalescent model and since an input distance matrix computed from an alignment of each gene in a genome is estimated via the maximum likelihood estimators, it is important to conduct a robust analysis on UPGMA. Stochastic safety radius, introduced by Steel and Gascuel, provides a lower bound for the probability that a phylogenetic tree reconstruction method returns the true tree topology from a given distance matrix. In this article, we compute the stochastic safety radius of UPGMA for a phylogenetic tree with n leaves. Computational experiments show an improved gap between empirical probabilities estimated from random samples and the true tree topology from UPGMA, increasing confidence in phylogenic results.

1. Introduction

Phylogenetics is one of the oldest fields in biology to study the evolutionary history of organisms using a phylogenetic tree, which is a tree representation of evolutionary history among species (or taxa). In order to reconstruct a phylogenetic tree from genetic data, researchers develop many statistical methods including maximum likelihood estimators, Bayesian inference, and distance-based methods [1]. A distance-based method is one of the most popular methods to reconstruct a phylogenetic tree for its computational speed and relatively simple two-step procedure: (1) computing all pairwise distances between all possible pair of sequences from the input alignment; and (2) reconstructing a phylogenetic tree from all pairwise distances of sequences computed in Step (1) using combinatorics.
Maximum likelihood estimators under evolutionary models produce pairwise distances between all possible pairs of sequences and they form as a distance matrix. A distance matrix is an input for a distance-based method to reconstruct a phylogenetic tree and we can consider them as a multivariate random variable and these distance-based and probabilistic methods do not always return the true phylogenetic tree topology. Therefore, we have to measure the robustness of a method and one metric of the robustness of a distance-based method for phylogenetic tree reconstruction is called the safety radius of the method. A safety radius is a radius of all distance matrices such that a given distance-based method returns the “true tree topology” of a phylogenetic tree. This means that all distance matrices within the safety radius satisfy a precise combinatorial condition so that the distance-based method is guaranteed to return the true tree topology [2].
In 2015, Steel and Gascuel introduced a notion of Stochastic safety radius in [2] for analyzing the probability for a distance-based method to return the true tree topology from a given distance matrix. In 2017, Xi et al. worked on developing a stochastic safety radius using the neighbor-joining (NJ) method and balance minimal evolution method for trees with number of leaves equal to 4 or 5 [3].
Phylogenomics is a new field, which applies tools from phylogenetics to genome data. In phylogenomics, we often conduct the species tree and gene trees analyses using the multi-species coalescent model [4]. Under the multi-species coalescent model, we assume that all gene trees, phylogenetic trees reconstructed from genes, are equidistant trees [4]. An equidistant tree is a rooted tree whose total branch length, from its root to each leaf, is the same for all leaves (an example of an equidistant tree with three leaves is shown in Figure 1).
In the past five years, there has been much work on the space of all equidistant trees for phylogenomics [5,6,7,8,9,10,11]. However, these recent studies assume that all given equidistant trees are true trees or close to true trees, which is often not true. Davidson and Sullivant worked on variability of a distance-based method to reconstruct an equidistant tree from all pairwise distances, called the Unweighted Pair Group Method with Arithmetic Mean (UPGMA) using polyhedral geometry [12]. They study how UPGMA project a given distance matrix to the space of all equidistant trees so that their result is from the view of polyhedral geometry and deterministic.
In this paper, therefore, we focus on the stochastic safety radius of the Unweighted Pair Group Method with Arithmetic Mean (UPGMA), one of the most popular distance-based methods and a lower bound of its probability that the UPGMA method returns the true tree topology from a random input distance matrix with noise distributed from the Gaussian distribution. Note that UPGMA is a hierarchical clustering method that builds a dendrogram from a distance matrix which records pairwise “distances” defined by a user input metric between all pairs of observations in a higher dimensional vector space [13]. In the application to a phylogenetic tree reconstruction, we use a distance matrix which contains pairwise distances between all pairs of sequences in the input alignment via a user input evolutionary model [1].
A phylogenetic tree is a weighted tree with labeled external nodes, called leaves, and unlabeled internal nodes. These labels represent species or taxa at the present time and each internal node represents a common ancestor for all of the leaves below this internal node. A weight on each branch (or edge) of a phylogenetic tree represents a mutation rate combined with its evolutionary time from an ancestor to its descendent. A phylogenic tree can be rooted or unrooted. For more details, see [1].
Example 1. 
Suppose we have a label set for leaves X = { 1 , 2 , 3 } which represents a set of species at the present time. Suppose we have a rooted phylogenetic tree T shown in Figure 1.
Internal nodes on T do not have labels. The internal node of the ancestor of leaves 1 , 2 represents the most common ancestral species of species 1 , 2 and the root of T is the most common ancestor of all species 1 , 2 , 3 . Each branch length on a branch represents the mutation rate combined with its evolutionary time. A distance matrix computed from this tree shown in Figure 1 is a 3 × 3 matrix such that d i j , the ( i , j ) th cell of the matrix d is the total branch length from a leaf i X to a leaf j X , that is,    
d = 1 2 3 1 0 e 1 + e 2 e 1 + w + e 3 2 e 1 + e 2 0 e 2 + w + e 3 3 e 1 + w + e 3 e 2 + w + e 3 0 .
Since d is computed from a phylogenetic tree, d is a tree metric. Not all n × n symmetric matrices with diagonal elements equal to 0 are not tree metrics.
Through this paper, we assume that binary phylogenetic trees and the smallest branch length w min of an internal edge in a binary phylogenetic tree are strictly positive. In this paper, we focus on equidistant trees which are rooted phylogenetic trees with branch lengths such that the total branch length from its root to each leaf is the same.
Example 2. 
We consider a rooted phylogenetic tree on the label set of leaves X = { 1 , 2 , 3 } shown in Figure 1 with w > 0 . If w + e 1 = w + e 2 = e 3 , then T is an equidistant tree.
In this paper, our main contribution is that we show a lower bound of the probability of UPGMA to return the true equidistant tree on the set of leaves X = { 1 , 2 , , n } for n 3 from a set of random pairwise distances of all possible pairs of sequences. Then we conduct some computational experiments using a statistical software R to see how tight this lower bound is in practice for n = 4 , , 10 .
This paper is organized as follows: Section 2 reminds the reader of the basics of tree metrics and random variables representing pairwise distances of all possible pairs of sequences. Then it adds a notion of stochastic safety radius defined by Steel and Gascuel in [2]. In Section 3, we compute the stochastic safety radius of the three point condition for equidistant trees using a lower bound of the probability of returning the tree topology based on the three point condition. Then in Section 4, we compute a lower bound of the the probability of returning the tree topology from UPGMA and in Section 5, we show some results from our computational experiments with R. In Section 6, we end this paper with some discussion.

2. Stochastic Safety Radius

Let Z 0 be the set of all non-negative integers. Let X = { 1 , , n } be the set of labels for given species (or taxa) and let T be a rooted phylogenetic tree with leaves X.
Definition 3. 
Let D Z 0 n × n be an n × n matrix with non-negative elements. If D is a symmetric matrix with its diagonal equal to 0, then we call D a distance matrix or dissimilarity maps.
Let d i j Z 0 be the ( i , j ) th element of a distance matrix D. If d i j satisfies
  • d i j = d j i for any i , j X ,
  • d i i = 0 for all i X ,
  • d i k + d k j d i j for all i , j , k X ,
then we call D ametric.
If D is a metric and if there exist a phylogenetic tree with leaves X such that d i j is the total distance of branch lengths of the path from a leaf i to a leaf j for all i , j X , then D is called a tree metric.
Suppose D is a metric on X. Then if D satisfies
max { d i j , d i k , d j k } and   is   achieved   at   least   twice ,
for distinct i , j , k X , then D is called an ultrametric.
Definition 4. 
Suppose we have a rooted phylogenetic tree T with a leaf label set X. If a distance from its root to each leaf i X is the same distance for all i X , then we call T an equidistant tree.
Theorem 5 
([14]). Suppose we have an equidistant tree T with a leaf label set X and suppose d i j for all i , j X is a distance from a leaf i to a leaf j. Then, D is an ultrametric if and only if T is an equidistant tree.
In this paper, we focus on equidistant trees with leaves X. In practice, we compute a distance matrix from an observed alignment. When we compute a distance matrix from an alignment via a maximum likelihood estimation, usually a distance matrix is not a tree metric [1]. Therefore, in this paper, we investigate a probability that we obtain the tree topology of the true phylogenetic tree from a distance matrix obtained from an input alignment using stochastic safety radius [2].
Definition 6 
(Stochastic safety radius). Let σ = c 2 log ( n ) for some positive c R . For any η > 0 , we say that a distance-based tree reconstruction method M has η -stochastic safety radius s = s n if for every binary phylogenetic X-tree T on n leaves, with minimum interior edge length w min > 0 , and with the distance matrix δ on X described by the random errors model, we have
c < s · w min P ( M ( δ ) = T ) 1 η .
In this paper, we focus on the stochastic safety radius of a distance-based method, Unweighted Pair Group Method with Arithmetic Mean (UPGMA).
In reality, if we obtain all pairwise distances from a genetic data set, then we rarely have an ultrametric. Instead, we usually have dissimilarity maps. In order to infer an equidistant tree from dissimilarity maps, we can use UPGMA [15], which is a weighted least squared method to estimate the closest ultrametric in the space of ultrametrics [16].
Example 7. 
In order to demonstrate Algorithm 1, consider an equidistant tree with X = { 1 , 2 , 3 , 4 } shown in Figure 2.
Algorithm 1 UPGMA [15]
  • Input: Dissimilarity map D R e on X.
  • Output: An estimated equidistant tree T on X.
  • Set S : = X and T = .
  • for k = 1 , , n 1 ,  do
  •     Pick smallest D i j for all pair of ( i , j ) S with i j . Set x as a parent node for the node i and j, compute branch length from i to x and j to x, and then record them in a tree T.
  •     Set a new node x with D x k = 1 2 ( D i k + D j k ) for all k X with k i and k j .
  •     Remove i , j from S and add x to S.
  • end for
  • Record the branch lengths from the root to each leaf in the two leaves.
  • returnT.
Figure 2. Example for Algorithm 1.
Figure 2. Example for Algorithm 1.
Algorithms 15 00483 g002
A distance matrix computed from the tree shown in Figure 2 is
d = 1 2 3 4 1 0 1.6 4 4 2 1.6 0 4 4 3 4 4 0 2.4 4 4 4 2.4 0 .
Note that
  • For i = 1 , j = 2 , k = 3 :
    max { d 12 , d 13 , d 23 } = 4
    and
    d 13 = d 23 = 4 .
  • i = 1 , j = 2 , k = 4 :
    max { d 12 , d 14 , d 24 } = 4
    and
    d 14 = d 24 = 4 .
  • i = 1 , j = 3 , k = 4 :
    max { d 13 , d 14 , d 34 } = 4
    and
    d 13 = d 14 = 4 .
  • i = 2 , j = 3 , k = 4 :
    max { d 23 , d 24 , d 34 } = 4
    and
    d 23 = d 24 = 4 .
Therefore, d satisfies Equation (3). Thus, this 4 × 4 matrix is an ultrametric.
With UPGMA algorithm shown in Algorithm 1, we have
  • For k = 1 , we pick a pair of leaves ( 1 , 2 ) with d 12 = 1.6 . Set x 1 as the parent node of ( 1 , 2 ) . Assign the branch length from x 1 to 1 as 1.6 / 2 = 0.8 and assign the branch length from x 1 to 2 as 1.6 / 2 = 0.8 . Now we add x = ( 1 , 2 ) as a leaf set X. Thus we have X = { x , 3 , 4 } with
    d x 3 = 1 2 ( d 13 + d 23 ) = 1 2 ( 4 + 4 ) = 4
    and
    d x 4 = 1 2 ( d 14 + d 24 ) = 1 2 ( 4 + 4 ) = 4 .
  • For k = 2 , we pick a pair of leaves ( 3 , 4 ) with d 34 = 2.4 . Set x 2 as the parent node of ( 3 , 4 ) . Assign the branch length from x 2 to 3 as 2.4 / 2 = 1.2 and assign the branch length from x 2 to 4 as 2.4 / 2 = 1.2 . Now we add y = ( 3 , 4 ) as a leaf set y. Thus we have X = { x , y } with
    d x y = 1 2 ( d x 3 + d x 4 ) = 1 2 ( 4 + 4 ) = 4 .
After the for-loop, we record the branch length from the root to the leaf x and the leaf y as 4 / 2 = 2 . From this, we can compute the branch length from the root to x 1 by 2 0.8 = 1.2 and the branch length from the root to x 2 by 2 1.2 = 0.8 .
In this paper, we use UPGMA in order to investigate their stochastic safety radius and lower bounds for the probability for UPGMA to return the true tree topology if the input distance matrix is not ultrametric. Here we assume that the multivariate random variable δ is defined as follows:
δ i j = d i j + ϵ i j
where ϵ i j N ( 0 , σ ) are independently and identically distributed for fixed σ > 0 and for all i < j X and
δ j i = δ i j
for all i < j X .
Remark 8. 
In order to make it simple, we assume that the height of an equidistant tree T on leaves X, which is the total branch length from each leaf i X to its root, is equal to 1.

3. Probability on the Three Point Condition

From Equation (1), we have the three point condition which is defined below: for all distinct leaves i , j , k X we have
d i j d i k d i j d j k
and, by Theorem 5, if d is an ultrametric and is a tree metric of an equidistant tree T, then Equation (3) satisfies for all distinct leaves i , j , k X .
Suppose a subtree of T is a tree shown in Figure 3. Then we have the following:
d i j = e i + e j , d i k = e i + e k + w , d j k = e j + e k + w .
In addition, from Equation (4), we have
δ i j = e i + e j + ϵ i j , δ i k = e i + e k + w + ϵ i k , δ j k = e j + e k + w + ϵ j k .
Therefore, by Equation (5) and Equation (4), we have the following: for all distinct leaves i , j , k X we have
e i + e j + ϵ i j e i + e k + w + ϵ i k e i + e j + ϵ i j e j + e k + w + ϵ j k .
Then we have
e j + w + ϵ i j e k + 2 w + ϵ i k e i + w + ϵ i j e k + 2 w + ϵ j k .
Since e i + w = w k and e j + w = w k , we have
ϵ i j 2 w + ϵ i k ϵ i j 2 w + ϵ j k .
Therefore, we have
ϵ i j ϵ i k 2 w ϵ i j ϵ j k 2 w .
Since ϵ i j , ϵ i k , ϵ j k are independently and identically distributed (i.i.d.) from the normal distribution N ( 0 , σ ) , ϵ i j ϵ i k and ϵ i j ϵ j k are i.i.d. from the normal distribution N ( 0 , 2 σ ) . Therefore, we have
P ( min { ϵ i j ϵ i k } 2 w ) for   all   i , j , k X = 1 P ( min { ϵ i j ϵ i k } > 2 w ) for   all   i , j , k X = 1 P ( min { ϵ i j ϵ i k } 2 > w ) for   all   i , j , k X = 1 P ( ϵ 2 > w ) n 3 where   ϵ N ( 0 , 2 σ ) = 1 P ( ϵ > w ) n 3 where   ϵ N ( 0 , σ ) = 1 P ( ϵ w > 1 ) n 3 where   ϵ N ( 0 , σ ) = 1 P ( ϵ > 1 ) n 3 where ϵ N 0 , σ w .
Let w = w min where w min is the smallest branch length for an internal edge in an equidistant tree T on leaves X. Then we have
P ( M ( δ ) = T ) 1 P ( ϵ > 1 ) n 3 ,
where ϵ N ( 0 , σ w min ) . Let σ = c 2 log ( n ) for c > 0 and η = P ( ϵ > 1 ) n 3 . Let c = s · w min . Then we have
σ w min = s 2 · w min log ( n ) < s 2 log ( n )
by Remark 8.

4. Probability Distribution of the Output Tree via Upgma

4.1. Case for n = 3

For n = 3 , we have X = { 1 , 2 , 3 } . Suppose d 12 < d 13 and d 12 < d 23 . from Equation (9), we have
P ( min { ϵ 12 ϵ 13 } 2 w ) = 1 P ( ϵ > 1 ) w h e r e   ϵ N 0 , σ w .

4.2. Case for n = 4

For n = 4 , we have X = { 1 , 2 , 3 , 4 } .
Case 1
If we have a case in the left picture in Figure 4 for i = 1 , j = 2 , k = 3 , l = 4 . The probability that δ 12 is chosen first is
1 P ( ϵ > 1 ) where   ϵ N 0 , σ w min .
let x be the new label merging leaves 1 , 2 . Then
δ 3 x = d 13 + ϵ δ 4 x = d 14 + ϵ where   ϵ N ( 0 , σ ) .
Then the probability that δ x 3 is chosen is
1 P ( ϵ > 1 ) where   ϵ N 0 , σ w min .
Therefore, the probability that UPGMA returns the true tree topology is
1 P ( ϵ > 1 ) 2
where ϵ N 0 , σ w min .
Case 2
If we have a case in the right picture in Figure 4 for i = 1 , j = 2 , k = 3 , l = 4 . The probability that δ 12 is chosen first is
1 P ( ϵ > 1 ) where   ϵ N 0 , σ w min .
let x be the new label merging leaves 1 , 2 . Then
δ 3 x = d 13 + ϵ δ 4 x = d 14 + ϵ where   ϵ N ( 0 , σ ) .
Then the probability that δ 34 is chosen is
1 P ( ϵ > 1 ) where   ϵ N 0 , σ w min .
Therefore, the probability that UPGMA returns the true tree topology is
1 P ( ϵ > 1 ) 2
where ϵ N 0 , σ w min .
Remark 9. 
For X = { 1 , , n } , there are ( 2 n 3 ) ! ! = 1 · 3 · 5 · ( 2 n 3 ) many different tree topologies of rooted phylogenetic trees on leaves X [1].
By Remark 9, there are ( 2 · 4 3 ) ! ! = 1 · 3 · 5 = 15 . Thus, we have the probability that UPGMA returns the tree topology is
15 1 P ( ϵ > 1 ) 2
where ϵ N 0 , σ w min .

4.3. General Case

For n 3 , we have X = { 1 , , n } . Using the same way with the case on n = 4 , by recursive computations and by Remark 9, we can obtain the probability of UPGMA to return the true tree topology is
( 2 n 3 ) ! ! 1 P ( ϵ > 1 ) ( n 2 )
where ϵ N 0 , σ w min .
Theorem 10. 
Suppose we have a distance matrix δ defined by Equation (2) with a tree metric associated with the binary true phylogenetic tree T on the set of leaves X = { 1 , , n } with the smallest internal branch length w min > 0 . Then the probability for UPGMA to return the true tree topology on X is bounded by
( 2 n 3 ) ! ! 1 P ( ϵ > 1 ) ( n 2 )
where ϵ N 0 , σ w min .
Proof. 
For n = 3 , it is trivial. For n > 3 , then suppose the statement holds for n 1 . Then we want to show that the statement holds for n. First, we fix the tree topology. Let i , j , k be subsets of X = { 1 , , n } and form a partition on X. Then suppose d i j < d i k and d i j < d j k . from Equation (9), we have
P ( min { ϵ i j ϵ i k } 2 w ) = 1 P ( ϵ > 1 ) where   ϵ N 0 , σ w .
Since we assume that the statement holds for n 1 , for this particular tree topology, we have that the probability for UPGMA to return the true tree topology on X is bounded by
1 P ( ϵ > 1 ) ( n 2 )
where ϵ N 0 , σ w min . Since there are ( 2 n 3 ) ! ! many tree topologies for n, we have the result.    □

5. Computational Experiments

In this computational experiment, we use the ape [17] and the phangorn packages [18,19] R packages for phylogenetic tree data structures, generating random trees, and UPGMA.
First, in order to compare Theorem 10 and the space of ultrametrics, namely Theorem 5 computationally with n = 3 so that we can visualize the results. We generated 1000 random points δ = ( δ 12 , δ 13 , δ 23 ) where δ i j = d i j + ϵ for i , j , k { 1 , 2 , 3 } and ϵ N ( 0 , σ ) . We vary σ = 0.01 , 0.1 , 0.5 , 1.0 . The results show in Figure 5. Black points are ultrametrics d = ( d 12 , d 13 , d 23 ) and red points are δ = ( δ 12 , δ 13 , δ 23 ) .
We estimate the probability for UPGMA to return the true tree topology using Algorithm 2 for n = 4 , , 10 and for σ = 0.1 , 0.5 , 1 , 2 , 5 , and then we compare these estimated probabilities with lower bounds which we obtained in Theorem 10. These results are shown in Table 1 and Table 2. These results show that lower bounds computed in Theorem 10 might not be tight. In all cases, the lower bound computed by Theorem 10 is an order of magnitude less than the estimated probability for UPGMA to return the true tree topology with a random sample. This suggests that although the presence of a lower bound defines a boundary for the likelihood of the having the true tree topology, it also presents a challenge in the magnitude of gap.
Algorithm 2: Computational experiments for estimating the probability for UPGMA to return the true tree topology
  • Input: The number of leaves n, standard deviation σ > 0 .
  • Output: Estimated probability for UPGMA to return the true tree topology.
  • for i = 0 , , 100 , do
  •     Generate a random tree T with n leaves X = { 1 , , n } using a multispecies coalescent model [4] via the function coal from the ape package.
  •     Set p i = 0 .
  •     for  k = 0 , , 1000 , do
  •         Generate a random distance matrix with
    δ i j = d i j + ϵ i j ,
    where d i j is the total branch length from a leaf i to a leaf j in T and ϵ i j N ( 0 , σ ) for all i , j X .
  •         Use UPGMA to reconstruct a tree T ^ from δ via the function upgma from the phangorn package.
  •         Compare tree topology between T and T ^ using the function all.equal in the ape package.
  •         if T and T ^ have the same tree topology, then
  •             p = p + 1 .
  •         end if
  •     end for
  •      p i = p i / 1000 .
  • end for
  • return  p = i = 1 100 p i 100 .

6. Conclusions

UPGMA is a hierarchical clustering method to reconstruct a phylogenetic tree from a distance matrix. In general, it is unlikely that a given distance matrix is a tree metric so that, in this paper, we focus on the case when an input distance matrix is written as a linear combination of the true tree metric and an error term which is generated from the Gaussian distribution around 0 with the standard deviation σ > 0 . In addition, we show a lower bound of the probability for UPGMA to return the true tree topology if we have an input distance matrix δ defined by Equation (2).
Then we conduct computational experiments so that our lower bounds are close to the empirical probabilities estimated from random samples shown in Table 1 and Table 2. These computational results suggest our lower bounds are not tight. Thus, for a future direction of this research, we have the following questions:
Problem 11. 
Can we compute tighter lower bounds for UPGMA to return the true tree topology from a distance matrix δ defined in Equation (2)? If our bounds are tight for some situations, what are the conditions that our lower bounds are tight?
In addition, using the idea of computing lower bounds of the probability, we might be able to compute a “confidence interval” of the estimated phylogenetic tree from a given distance matrix via UPGMA.

Author Contributions

R.Y. directed this research project and mainly contributed the main results. L.P. computed computational experiments on this research. P.N. worked on editing the manuscript. All authors have read and agreed to the published version of the manuscript.

Funding

R.Y. is partially funded by NSF Division of Mathematical Sciences: Statistics Program DMS 1916037.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
MDPIMultidisciplinary Digital Publishing Institute
DOAJDirectory of open access journals
TLAThree letter acronym
LDLinear dichroism
UPGMAUnweighted Pair Group Method with Arithmetic Mean

References

  1. Semple, C.; Steel, M. Phylogenetics; Number 22 in Mathematics and Its Applications Series; Oxford University Press: Oxford, UK, 2003. [Google Scholar]
  2. Gascuel, O.; Steel, M. A ‘Stochastic Safety Radius’ for Distance-Based Tree Reconstruction. Algorithmica 2016, 74, 1386–1403. [Google Scholar] [CrossRef] [Green Version]
  3. Xi, J.; Xie, J.; Yoshida, R.; Forcey, S. Stochastic safety radius on Neighbor-Joining method and Balanced Minimal Evolution on small trees. arXiv 2015, arXiv:1507.08734. [Google Scholar]
  4. Maddison, W.P.; Maddison, D. Mesquite: A Modular System for Evolutionary Analysis. Evolution 2009, 2, 72. [Google Scholar]
  5. Yoshida, R.; Zhang, L.; Zhang, X. Tropical Principal Component Analysis and its Application to Phylogenetics. Bull. Math. Biol. 2019, 81, 568–597. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  6. Yoshida, R.; Takamori, M.; Matsumoto, H.; Miura, K. Tropical Support Vector Machines: Evaluations and Extension to Function Spaces. Neural Netw. 2023, 157, 77–89. [Google Scholar] [CrossRef]
  7. Lin, B.; Sturmfels, B.; Tang, X.; Yoshida, R. Convexity in Tree Spaces. SIAM Discret. Math 2017, 3, 2015–2038. [Google Scholar] [CrossRef] [Green Version]
  8. Page, R.; Yoshida, R.; Zhang, L. Tropical principal component analysis on the space of phylogenetic trees. Bioinformatics 2020, 36, 4590–4598. [Google Scholar] [CrossRef] [PubMed]
  9. Yoshida, R.; Miura, K.; Barnhill, D.; Howe, D. Tropical Density Estimation of Phylogenetic Trees. arXiv 2022, arXiv:2206.04206. [Google Scholar]
  10. Yoshida, R.; Cox, S. Tree Topologies along a Tropical Line Segment. Vietnam. J. Math. 2022, 50, 395–419. [Google Scholar] [CrossRef]
  11. Monod, A.; Lin, B.; Yoshida, R. Tropical Geometric Variation of Tree Shapes. Discret. Comput. Geom. 2022, 68, 817–849. [Google Scholar]
  12. Davidson, R.; Sullivant, S. Polyhedral combinatorics of UPGMA cones. Adv. Appl. Math. 2013, 50, 327–338. [Google Scholar] [CrossRef] [Green Version]
  13. James, G.; Witten, D.; Hastie, T.; Tibshirani, R. An Introduction to Statistical Learning: With Applications in R; Springer: New York, NY, USA, 2013. [Google Scholar]
  14. Buneman, P. A note on the metric properties of trees. J. Comb. Theory Ser. B. 1974, 17, 48–50. [Google Scholar] [CrossRef] [Green Version]
  15. Sokal, R.R.; Michener, C.D. A statistical method for evaluating systematic relationships. Univ. Kans. Sci. Bull. 1958, 38, 1409–1438. [Google Scholar]
  16. Bernstein, D.I.; Long, C. L-Infinity Optimization to Linear Spaces and Phylogenetic Trees. SIAM J. Discret. Math. 2017, 31, 875–889. [Google Scholar] [CrossRef] [Green Version]
  17. Paradis, E.; Schliep, K. ape 5.0: An environment for modern phylogenetics and evolutionary analyses in R. Bioinformatics 2019, 35, 526–528. [Google Scholar] [CrossRef] [PubMed]
  18. Schliep, K. Phangorn: Phylogenetic analysis in R. Bioinformatics 2011, 27, 592–593. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  19. Schliep, K.; Potts, A.A.; Morrison, D.A.; Grimm, G.W. Intertwining phylogenetic trees and networks. Methods Ecol. Evol. 2017, 8, 1212–1220. [Google Scholar] [CrossRef]
Figure 1. Example of a phylogenetic tree T on the label set of leaves X = { 1 , 2 , 3 } .
Figure 1. Example of a phylogenetic tree T on the label set of leaves X = { 1 , 2 , 3 } .
Algorithms 15 00483 g001
Figure 3. Equidistant tree with three leaves on labels X = { i , j , k } . w , e i , e j , e k > 0 are branch lengths.
Figure 3. Equidistant tree with three leaves on labels X = { i , j , k } . w , e i , e j , e k > 0 are branch lengths.
Algorithms 15 00483 g003
Figure 4. Two cases for equidistant trees without labels.
Figure 4. Two cases for equidistant trees without labels.
Algorithms 15 00483 g004
Figure 5. Red points are randomly generated δ = ( δ 12 , δ 13 , δ 23 ) and black points are ultrametrics which are equivalent to equidistant trees. The top left figure is for σ = 0.01 . The top right figure is for σ = 0.1 . The bottom left figure is for σ = 0.5 . The bottom right figure is for σ = 1 .
Figure 5. Red points are randomly generated δ = ( δ 12 , δ 13 , δ 23 ) and black points are ultrametrics which are equivalent to equidistant trees. The top left figure is for σ = 0.01 . The top right figure is for σ = 0.1 . The bottom left figure is for σ = 0.5 . The bottom right figure is for σ = 1 .
Algorithms 15 00483 g005
Table 1. Comparison between empirical probabilities with lower bounds computed by Theorem 10. The notation a ( b ) in each cell represents two parts: a represents the estimated probability for UPGMA to return the true tree topology with a random sample of sample size 1000 and (b) represents a lower bound computed by Theorem 10. We repeated this process 100 time and take an average for computing estimated probabilities. For example, we consider the cell for σ = 0.1 and n = 4 . In this cell, 0.902 is an estimated probability computed by Algorithm 2 and 0.334 is a lower bound from Theorem 10 with n = 4 and σ = 0.1 .
Table 1. Comparison between empirical probabilities with lower bounds computed by Theorem 10. The notation a ( b ) in each cell represents two parts: a represents the estimated probability for UPGMA to return the true tree topology with a random sample of sample size 1000 and (b) represents a lower bound computed by Theorem 10. We repeated this process 100 time and take an average for computing estimated probabilities. For example, we consider the cell for σ = 0.1 and n = 4 . In this cell, 0.902 is an estimated probability computed by Algorithm 2 and 0.334 is a lower bound from Theorem 10 with n = 4 and σ = 0.1 .
σ / n4567
0.10.902 (0.334)0.802 (0.447)0.682 (0.381)0.545 (0.260)
0.50.650 (0.160)0.420 (0.055)0.246 (0.035)0.144 (0.014)
10.446 (0.060)0.214 (0.006)0.093 (0.001)0.049 (<0.0001)
20.261 (0.015)0.080 (0.001)0.027 (<0.0001)0.007 (<0.0001)
50.129 (0.004)0.031 (<0.0001)0.007 (<0.0001)0.001 (<0.0001)
σ / n8910
0.10.477 (0.226)0.357 (0.137)0.320 (0.118)
0.50.084 (0.001)0.046 (<0.0001)0.019 (<0.0001)
10.021 (<0.0001)0.009 (<0.0001)0.003 (<0.0001)
20.002 (<0.0001)0.001 (<0.0001)<0.001 (<0.0001)
5<0.001 (<0.0001)<0.001 (<0.0001)<0.001 (<0.0001)
Table 2. Differences estimated probabilities minus lower bounds in Theorem 10 computed in our computational experiments shown in Table 1.
Table 2. Differences estimated probabilities minus lower bounds in Theorem 10 computed in our computational experiments shown in Table 1.
σ / n45678910
0.10.5680.3550.3020.2860.2510.2200.203
0.50.4910.3650.2110.1300.0820.0460.019
10.3860.2080.0920.0480.020<0.001<0.001
20.2460.0790.0270.0070.002<0.001<0.001
50.1250.0310.0070.001<0.001<0.001<0.001
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Yoshida, R.; Paul, L.; Nesbitt, P. Stochastic Safety Radius on UPGMA. Algorithms 2022, 15, 483. https://doi.org/10.3390/a15120483

AMA Style

Yoshida R, Paul L, Nesbitt P. Stochastic Safety Radius on UPGMA. Algorithms. 2022; 15(12):483. https://doi.org/10.3390/a15120483

Chicago/Turabian Style

Yoshida, Ruriko, Lillian Paul, and Peter Nesbitt. 2022. "Stochastic Safety Radius on UPGMA" Algorithms 15, no. 12: 483. https://doi.org/10.3390/a15120483

APA Style

Yoshida, R., Paul, L., & Nesbitt, P. (2022). Stochastic Safety Radius on UPGMA. Algorithms, 15(12), 483. https://doi.org/10.3390/a15120483

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop