Hostname: page-component-74656f9884-rdgjk Total loading time: 0 Render date: 2026-11-06T22:25:01.589Z Has data issue: false hasContentIssue false

An adjacent-swap Markov chain on coalescent trees

Published online by Cambridge University Press:  02 September 2022

Mackenzie Simper*
Affiliation:
Stanford University
Julia A. Palacios*
Affiliation:
Stanford University
*
*Postal address: Department of Mathematics, Building 380, 450 Jane Stanford Way, Stanford, CA 94305, USA. Email address: msimper@stanford.edu
**Postal address: Department of Statistics and Department of Biomedical Data Science, Sequoia Hall, 390 Jane Stanford Way, Stanford, CA 94305, USA. Email address: juliapr@stanford.edu
Rights & Permissions [Opens in a new window]

Abstract

The standard coalescent is widely used in evolutionary biology and population genetics to model the ancestral history of a sample of molecular sequences as a rooted and ranked binary tree. In this paper we present a representation of the space of ranked trees as a space of constrained ordered matched pairs. We use this representation to define ergodic Markov chains on labeled and unlabeled ranked tree shapes analogously to transposition chains on the space of permutations. We show that an adjacent-swap chain on labeled and unlabeled ranked tree shapes has a mixing time at least of order $n^3$, and at most of order $n^{4}$. Bayesian inference methods rely on Markov chain Monte Carlo methods on the space of trees. Thus it is important to define good Markov chains which are easy to simulate and for which rates of convergence can be studied.

Information

Type
Original Article
Copyright
© The Author(s), 2022. Published by Cambridge University Press on behalf of Applied Probability Trust
Figure 0

Figure 1. Examples of coalescent tree topologies: (a) ranked and unlabeled; (b) ranked and labeled. A ranked and unlabeled tree shape T has internal nodes labeled by their ranking from leaves to root and unlabeled leaves. Tree (a) has ordered matched pairs: $(0,0)^{1},(0,0)^{2},(0,1)^{3},(0,3)^{4},(2,4)^{5},(0,5)^{6}$. A ranked and labeled tree $T^{L}$ has unique leaf and internal node labels. Tree (b) has ordered matched pairs: $(\ell_{3},\ell_{4})^{1},(\ell_{1},\ell_{2})^{2},(\ell_{5},1)^{3},(\ell_{6},3)^{4},(2,4)^{5},(\ell_{7},5)^{6}$.

Figure 1

Figure 2. Example of an adjacent-swap move on ranked tree shapes. The pair $k=6$ is selected uniformly at random among pairs $1,\ldots,6$. We then select uniformly at random one element from pair 6 and one element from pair 7. The only allowable swaps are 5 and 0 or 3 and 0. The new state (right tree) is obtained by swapping 5 and 0 from pairs 6 and 7 respectively in the left tree.

Figure 2

Figure 3. Example of internal tree length calculation. A ranked tree shape T with ordered matched pairs: $x=(0,0)^{1},(0,0)^{2},(0,1)^{3},(0,3)^{4},(2,4)^{5},(0,5)^{6}$. The corresponding total internal tree length is the sum of the lengths of the internal branches: $\varphi(x)=(3-1)+(5-2)+(4-3)+(5-4)+(6-5)=8$.

Figure 3

Table 1. Coupling transition probabilities in case 4(a).

Figure 4

Table 2. Coupling transition probabilities in case 4(b).

Figure 5

Figure 4. Total variation distance for adjacent-swap chain on unlabeled ranked tree shapes. Each curve depicts the total variation distance between the probability of the chain at time t and the Tajima stationary distribution for trees with $n=6$, 7, 8, and 9 leaves.