Fig 1.
Full migration history update using a radius-based subtree selection.
A subtree is selected with centre at x and radius r (a). The migration history on the subtree is erased and the deme at the internal coalescent event R is resampled (b). Finally, a new migration history is sampled under DTA conditional on the demes at the points where the subtree reconnects to the migration history (c).
Fig 2.
Backward filtering-forward sampling messages for a tree with 3 leaves.
Messages are computed in the order green-orange-red, and messages in grey could be computed but are unnecessary to sample a new configuration of demes at nodes I and R.
Fig 3.
Assessment of MCMC convergence and mixing.
(a) Trace plot of the total migration count. The red dashed line indicates the number of migration events in the simulated phylogeny and the black dashed line indicates the minimum number of required migration events for a consistent migration history. (b) Stacked trace plot of the proportion of the migration history falling into each deme across the six MCMC chains.
Fig 4.
60% consensus migration history and 95% posterior credible intervals of evolutionary parameters for MCMC samples on a single simulated structured phylogeny.
Samples are aggregated over all six chains prior to computations. (a) 95% posterior credible intervals for coalescent rate estimates. (b) 95% posterior credible intervals for backwards-in-time migration rate estimates. (c) 60% consensus migration history. Inset: Structured phylogenetic tree simulated using MASTER.
Fig 5.
Posterior median of inferred evolutionary parameters plotted against the known simulation parameters.
Inferred coalescent rates are plotted in red and inferred migration rates are plotted in black.
Table 1.
Coverage, correlation, relative bias and relative root mean squared error (RMSE) for inferred evolutionary parameters, separated by number of demes and degree of heterochronicity in leaf sampling. Reported values are the mean taken over pairs of MCMC chains with multivariate below 1.2.
Fig 6.
60% consensus migration history and kernel density estimates of the posterior density of evolutionary parameters for the S. aureus ST239 analysis.
(a) 60% consensus migration history. Inset: migration model with 5 demes. The radius of each circle is proportional to the median effective population size (inverse coalescent rate) for that deme and the width of an arrow connecting two demes is proportional to the median backwards-in-time migration rate between that pair of demes. (b) Kernel density estimates of the posterior density of coalescent rates. (c) Kernel density estimates of the posterior density of backwards-in-time migration rates.
Table 2.
ESS results for evolutionary parameter estimates in the analysis of the AIV phylogeny using both the default prior distributions and Exp(1) prior distributions.
Fig 7.
60% consensus migration history computed on all posterior migration history samples from the AIV analysis with default priors.
Inset: migration model with 5 demes. The radius of each deme circle is proportional to the median inferred effective population size (inverse coalescent rate) for that deme and the width of an arrow connecting two demes is proportional to the magnitude of the backwards-in-time migration rate between the pair of demes.
Fig 8.
60% consensus migration history based on all migration histories sampled across the eleven MCMC chains in our cholera analysis.
Inset: migration model with 11 demes. The radius of each deme circle is proportional to the median inferred effective population size for that deme and the width of an arrow connecting two demes is proportional to the magnitude of the backwards-in-time migration rate between the pair of demes.