Abstract
Rate variation adds considerable complexity to divergence time estimation in molecular phylogenies. Here, we evaluate the impact of lineage-specific rates—which we define as among-branch-rate-variation that acts consistently across the entire genome. We compare its impact to residual rates—defined as among-branch-rate-variation that shows a different pattern of rate variation at each sampled locus, and gene-specific rates—defined as variation in the average rate across all branches at each sampled locus. We show that lineage-specific rates lead to erroneous divergence time estimates, regardless of how many loci are sampled. Further, we show that stronger lineage-specific rates lead to increasing error. This contrasts to residual rates and gene-specific rates, where sampling more loci significantly reduces error. If divergence times are inferred in a Bayesian framework, we highlight that error caused by lineage-specific rates significantly reduces the probability that the 95% highest posterior density includes the correct value, and leads to sensitivity to the prior. Use of a more complex rate prior—which has recently been proposed to model rate variation more accurately—does not affect these conclusions. Finally, we show that the scale of lineage-specific rates used in our simulation experiments is comparable to that of an empirical data set for the angiosperm genus Ipomoea. Taken together, our findings demonstrate that lineage-specific rates cause error in divergence time estimates, and that this error is not overcome by analyzing genomic scale multilocus data sets. [Divergence time estimation; error; rate variation.]
Since the proposal of the “molecular clock” hypothesis, which made the important assumption that differences between homologous sequences accumulate at a constant rate over time (Zuckerkandl and Pauling 1962, 1965), there has been a continual interest in estimating divergence times in molecular phylogenies (Hori and Osawa 1979; Miyata et al. 1980; Kumar and Hedges 1998; Aris-Brosou and Yang 2003; Kumar 2005). Often, the key assumption of the “molecular clock” is violated and evolutionary rates differ between branches in a phylogeny (Langley and Fitch 1974; Britten 1984; Gillespie 1989, 1991; Bromham et al. 1996). This can fundamentally compromise divergence time estimates, even when using methods that incorporate rate variation. This is because the number of substitutions along any particular branch—the parameter directly inferred from molecular sequence data—is a product of the rate of molecular evolution and the branch’s temporal duration (Gillespie 1991; Sanderson 1997, 2002; Thorne et al. 1998; Britton 2005). Without making assumptions about rate variation or divergence times, distinguishing models with different patterns of rate variation or branch duration can therefore become an intractable problem (Sanderson 1997, 2002; Thorne et al. 1998; Kishino et al. 2001).
Previous studies have evaluated the impact of among-branch-rate-variation on divergence time estimates and presented new methodologies to account for its effects (Sanderson 1997, 2002; Drummond et al. 2006; Smith and O’Meara 2012; Tamura 2012). These studies have provided a fundamental basis for understanding how different assumptions about among-branch-rate-variation affect divergence time estimates. In contrast to these studies focusing on specific methodologies, Britton (2005) provided a more general analysis of the implications of among-branch-rate-variation for divergence time estimation. Using a mathematical model in the context of a three-taxon tree, Britton (2005) demonstrated that among-branch-rate-variation leads to erroneous divergence time estimates, regardless of the length of molecular sequence analyzed, whether likelihood or Bayesian inference was used, and even when the correct model of among-branch-rate-variation was used. Britton (2005) succinctly highlighted that this error results from the fact that molecular sequence data does not provide information about rates for individual branches.
With increasingly large molecular data sets, in which multiple fossil calibrations may also be implemented, sources of uncertainty in divergence time estimates can become increasingly complex. Several studies have attempted to investigate these sources of uncertainty. Yang and Rannala (2006), Rannala and Yang (2007), and dos Reis and Yang (2013) have described how uncertainty results from either limited molecular sequence data or uncertain fossil calibrations. As such, when a large amount of molecular data is sampled, they conclude that uncertainty stems almost exclusively from fossil calibrations. Although this framework was developed according to the assumptions of the “molecular clock,” they have indicated that it is applicable when there is among-branch-rate-variation, provided a large number of loci are sampled (Rannala and Yang 2007; Zhu et al. 2015). However, when accounting for among-branch-rate-variation, they assume it shows different patterns at each sampled locus, rather than acting consistently across the entire genome (Rannala and Yang 2007; Zhu et al. 2015). Ho (2014) has stated that these different interpretations of among-branch-rate-variation will have important effects on divergence time estimates, but no analyses have been undertaken to characterize these effects in different contexts.
Taken together, previous studies have illustrated the important effects of among-branch-rate-variation on divergence time estimates, and that these effects can become increasingly complex in genomic scale data sets. However, current understanding of the implications of rate variation in genomic scale data sets does not fully take into account many of the more complex ways in which rates can vary in these data sets, and the effects this can have on divergence time estimates.
Here, we perform simulation experiments to evaluate the extent to which among-branch-rate-variation that acts consistently across entire genomes leads to error in divergence time estimates. We refer to this class of rate variation as lineage-specific rates (Fig. 1a). We do not use the term lineage effects because Gillespie (1989) originally used this term to describe the effect of rate and time on the number of substitutions. We compare the implications of lineage-specific rates to those of gene-specific rates—where the average rate across all branches varies at each sampled locus (Fig. 1b), and residual rates—where rates vary between branches, but the pattern of among-branch-rate-variation is different at each sampled locus (Fig. 1c). We also evaluate the implications when more than one class of rate variation occurs simultaneously (Fig. 1d).
We assess how these classes of rate variation influence divergence time estimates when different quantities of molecular data are analyzed. We alter the quantity of molecular data by either changing the number of loci, or by changing the sequence length at a single locus. We also compare the performance of two “relaxed clock” priors—one of which has been proposed as particularly effective for divergence time estimation when analyzing multi-locus data sets that exhibit rate variation (dos Reis et al. 2014). Finally, we analyze a phylogeny of the angiosperm genus Ipomoea to determine whether the lineage-specific rates simulated in our experiments are of a comparable magnitude to those that occur in real data sets.
The issues dealt with in this article have significant implications for divergence time estimation because there is widespread evidence that lineage-specific rates are prevalent in many groups, and that they can significantly bias divergence time estimates (Langley and Fitch 1974; Britten 1984; Gillespie 1989, 1991; Bromham et al. 1996; Phillips and Fruciano 2018). Lineage-specific rates have been associated with a range of variables including generation time, efficiency of DNA repair mechanisms, metabolic rates, growth form, or whether the organism is free living or parasitic (Gillespie 1989, 1991; Duff and Nickrent 1997; Lanfear et al. 2013; Ho 2014).
Materials and Methods
Summarizing the effects of different classes of rate variation
Most simulations were centered on a three-taxon species tree, with a root age of 1.0, and an age for the single internal node of 0.5. To simulate lineage-specific rates, we multiplied each branch time duration of this species tree by a different lineage-specific rate drawn from a lognormal distribution (mean , standard deviation . This generates a species tree with branch lengths that reflect lineage-specific rates. We then simulated 400 gene trees that are identical to this species tree. At this stage, the gene trees are identical to the species tree because gene-specific rates and residual rates have not yet been simulated. To simulate gene-specific rates, we multiplied all branch lengths in each gene tree by a gene-specific rate drawn from a lognormal distribution (). A new gene-specific rate was drawn for each gene tree. To simulate residual rates, we multiplied each branch length in each gene tree by a residual rate drawn from a lognormal distribution . In these experiments, we generated gene trees with; no lineage-specific rates, gene-specific rates, or residual rates; only lineage-specific rates; only gene-specific rates; only residual rates; and residual rates and lineage-specific rates. Different classes of rate variation were simulated with a custom R script that required the packages phytools (Revell 2012, 2017) and phylobase (Bolker et al. 2017).
DNA sequences of 800 base pairs (bp) were simulated along the branches of each gene tree with a custom R script that used the simSeq() function from the package phangorn (Schliep 2011, 2018). Sequences were simulated with a JC model with rate set to 0.05. Simulated sequences were then compiled into one of three data sets. One contained a sequence from a single locus, the second contained sequences from 20 concatenated loci (a total of 16,000 bp), and the third contained sequences from all 400 concatenated loci (a total of 320,000 bp). For each experiment, we also simulated two further data sets for a single locus of different lengths: one 16,000 bp data set and one 320,000 bp data set.
We inferred the divergence time of the single internal node in the three-taxon tree using RevBayes (Hohna et al. 2016). The topology was fixed to that of the initial species tree, and the root age was fixed at 1.0. The “correct” value for the single unknown divergence time—the internal node—is 0.5. The prior on the branching process was a pure birth (Yule) model. The speciation rate was sampled from an exponentially distributed prior with a rate parameter of 10.0. Analyses run without sequence data using this prior produced a posterior divergence time that was uniformly distributed between 0.0 and 1.0. Our results are therefore unlikely to be influenced by the time prior defined by this branching process. We used two different models for the prior on molecular evolutionary rates. A strict clock fixed the rate at 0.05 for all four branches in the three-taxon tree and for all sampled loci. A relaxed clock prior used an uncorrelated lognormal (UCLN) relaxed clock , in which a separate rate was inferred for each branch in the three-taxon tree, but the same rate was used across all sampled loci. We performed 200 replicates of the entire experiment outlined above.
The UCLN relaxed clock used in these experiments may be a poor fit to data that has been simulated with gene-specific rates. We therefore performed additional experiments using a prior which more explicitly accounts for gene-specific rates. This ensured that none of the conclusions made were misleading (Supplementary Appendix S1 available on Dryad at http://dx.doi.org/10.5061/dryad.m1n6m0m).
Increasing the strength of lineage-specific rates
We performed a further experiment where sequences were simulated with lineage-specific rates of different strengths (from lognormal distributions with , 0.15, 0.3, or 0.6). These sequences were also simulated with residual rates, with the same parameters as previously. We inferred the unknown divergence time in RevBayes (Hohna et al. 2016) using two different UCLN relaxed clocks. In one, of the UCLN relaxed clock was fixed at 0.15, whilst in the other, of the UCLN relaxed clock was altered to exactly match of the distribution from which lineage-specific rates had been simulated. When inferring the unknown divergence time, all 400 simulated loci were analyzed.
Comparing two different priors for rate heterogeneity
In the above experiments, the UCLN relaxed clock infers a single branch specific rate across all sampled loci. Although this is a widely used approach, we also evaluated the performance of an alternative prior—the Dirichlet rate prior—which has been suggested for multilocus data sets that exhibit rate variation (dos Reis et al. 2014; Zhu et al. 2015).
This prior uses a gamma or lognormal distribution for the mean rate amongst all sampled loci (). With being the number of sampled loci, a Dirichlet distribution then partitions the total rate () amongst each of the sampled loci to infer a mean rate for each locus. For each locus, different rates are then inferred for each branch with a UCLN relaxed clock that is specific to that locus and parameterized with the locus specific mean.
We compared the performance of the Dirichlet rate prior to the UCLN relaxed clock used previously. The Dirichlet rate prior was parameterized as follows: was sampled from a lognormal distribution (), the concentration parameter for the Dirichlet distribution of locus specific rates was 1, and the UCLN model applied to each locus was parameterized with and . The UCLN relaxed clock that inferred a single branch specific rate across all loci was parameterized as previously (). We characterized the performance of these priors when there were lineage-specific rates, gene-specific rates, and residual rates. We simulated these classes of rate variation as described previously. The unknown divergence time was inferred in RevBayes (Hohna et al. 2016), using all 400 simulated loci.
Evaluating lineage-specific rates in eight-taxon trees
We evaluated the implications of lineage-specific rates in eight-taxon trees to determine whether our findings from experiments with three-taxon trees are likely to be applicable in larger trees. We used a custom R script that used the function sim.bd.taxa() from the package TreeSim to simulate trees. Trees were simulated with , , and the root age was unfixed. Gene trees, rate variation, and DNA sequences were simulated according the same principles as with the three-taxon trees. We simulated DNA sequences with no rate variation, or lineage-specific rates from a lognormal distribution with and .
We inferred divergence times using RevBayes (Hohna et al. 2016). The topology was fixed to that of the initial species tree and the root age was fixed to the correct value. The prior for the branching process was a pure birth (Yule) model with fixed to 1 (the correct value). Unlike with the three-taxon trees, analyses run without molecular sequence data produced posterior divergence time estimates that were not uniformly distributed between 0.0 and the root age. Therefore, in this analysis, inferred divergence times are likely to be influenced by the branching process. This analysis therefore provides a less direct illustration of the effects of rate variation, but allows its effects to be investigated in a more complex tree. We used two different models for the prior on molecular evolutionary rates. A strict clock fixed the rate at 0.05 for all branches and for all sampled loci. A relaxed clock prior used an UCLN relaxed clock (), in which a separate rate was inferred for each branch, but the same rate was used across all sampled loci.
Custom R, Revbayes, and Python scripts that were developed for all simulation experiments are available in Supplementary Materials available on Dryad. Simulated matrices and other output files are available on request.
An empirical study: quantifying the magnitude of lineage-specific rates in Ipomoea
We quantified the magnitude of lineage-specific rates in a phylogeny for Ipomoea that was inferred from a dataset 434 concatenated nuclear genes (Muñoz-Rodríguez et al. 2019). We extracted all 76 pairs of sister species (terminal taxa) in this phylogeny. Because these sister pairs have the same branch time duration, by definition, they can provide some insight into the extent of lineage-specific rates. We could therefore evaluate whether the lineage-specific rates simulated in our experiments are of a comparable scale to those that occur in a biological data set.
Results
Summarizing the effects of different classes of rate variation
In the results presented in detail here, the UCLN relaxed clock was used to infer the unknown divergence time. A comparison with the results obtained when using the strict clock follows.
No rate variation.
Increasing the number of sampled loci led to reduced error in mean posterior age estimates (Fig. 2a). The root mean squared error (RMSE)—which quantifies the magnitude of error in the same units as the simulation experiment—fell from 0.0791 when sampling 1 locus, to 0.0108 when sampling 400 loci (Supplementary Table S1 available on Dryad). Increasing the number of sampled loci also caused the mean 95% highest posterior density (HPD) width to decrease from 0.346 to 0.192, and the percentage of replicate experiments that included the correct value in the 95% HPD to increase from 97.5% to 100% (Supplementary Table S1 available on Dryad). Increasing the sampled sequence length at a single locus had an indistinguishable effect from increasing the number of sampled loci (Supplementary Fig. S1a, Table S1 available on Dryad).
Gene-specific rates.
Increasing the number of sampled loci led to reduced error in mean posterior age estimates (Fig. 2b). The RMSE fell from 0.0818 when sampling 1 locus to 0.0114 when sampling 400 loci (Supplementary Table S1 available on Dryad). The mean 95% HPD width, and percentage of replicate experiments that included the correct value within the 95% HDP, were similar to when there was no rate variation (Supplementary Table S1 available on Dryad).
When the sampled sequence length at a single locus was increased, the reduction in error was considerably less (Supplementary Fig. S1b available on Dryad). The RMSE fell from 0.0818 when sampling 800 bp to 0.0457 when sampling 320,000 bp (Supplementary Table S1 available on Dryad). The mean 95% HPD widths were similar to when incrementally more loci were sampled (Supplementary Table S1 available on Dryad), whilst fewer replicate experiments included the correct value within the 95% HPD (Supplementary Table S1 available on Dryad). When a prior that more explicitly accounts for gene-specific rates was used, and 320,000 bp were sampled from a single locus, the RMSE fell such that it more closely resembled the case where 400 loci were sampled (Supplementary Appendix S1 and Table S2 available on Dryad).
Residual rates.
Increasing the number of sampled loci led to reduced error in mean posterior age estimates (Fig. 2c). The RMSE fell from 0.0886 when sampling 1 locus, to 0.0106 when sampling 400 loci (Supplementary Table S1 available on Dryad). The mean 95% HPD widths, and percentage of replicate experiments that included the correct value within the 95% HPD, were similar to previous experiments in which the number of sampled loci was incrementally increased (Supplementary Table S1 available on Dryad).
When the sequence length at a single locus was increased, the reduction in error was considerably less (Supplementary Fig. S1c available on Dryad). The RMSE fell from 0.0886 when sampling 800 bp to 0.0486 when sampling 320,000 bp (Supplementary Table S1 available on Dryad). The mean 95% HPD widths were similar to when the number of sampled loci was incrementally increased, whilst fewer replicate experiments included the correct value within the 95% HPD (Supplementary Table S1 available on Dryad).
Lineage-specific rates.
Increasing the number of sampled loci had a limited impact with respect to reducing error in mean posterior age estimates (Fig. 2d). The RMSE fell from 0.0875 when sampling 1 locus, to 0.0510 when sampling 400 loci (Supplementary Table S1 available on Dryad). The mean 95% HPD widths were similar to previous experiments (Supplementary Table S1 available on Dryad), whilst the percentage of replicate experiments that included the correct value within the 95% HPD was lower than previous experiments in which the number of sampled loci was incrementally increased. Increasing the sampled sequence length at a single locus had a very similar impact to sampling more loci (Supplementary Fig. S1d and Table S1 available on Dryad).
Lineage-specific rates and residual rates.
Increasing the number of sampled loci had a moderate impact with respect to reducing error in mean posterior age estimates (Fig. 2e). The RMSE fell from 0.108 when sampling 1 locus, to 0.0518 when sampling 400 loci (Supplementary Table S1 available on Dryad). Mean 95% HPD widths were similar to previous experiments, whilst the percentage of replicate experiments that included the correct value within the 95% HDP increased from 87.5% when sampling 1 locus to 95.5% when sampling 400 loci (Supplementary Table S1 available on Dryad).
Increasing the sampled sequence length at a single locus had a more limited impact with respect to reducing error in mean posterior age estimates (Supplementary Fig. S1e). The RMSE fell from 0.108 when sampling 800 bp to 0.0743 when sampling 320,000 bp. Mean 95% HPD widths were similar to previous experiments. The percentage of replicate experiments that included the correct value within the 95% HPD fell from 87% when sampling 800 bp to 80.5% when sampling 320,000 bp (Supplementary Table S1 available on Dryad).
Using a strict clock to infer the unknown divergence time.
The distribution of mean posterior age estimates was broadly the same when the unknown divergence time was inferred with the strict clock compared to the UCLN relaxed clock (Supplementary Table S3 available on Dryad). However, the mean 95% HPD widths were far narrower. As such, the correct value was included within the 95% HPD in far fewer replicate experiments. This is most notably the case when lineage-specific rates were present and the largest molecular data sets were sampled (either 400 loci, or 320,000 bp at a single locus). In these instances, the 95% HPD included the correct value only about 10% of the time (Supplementary Table S3 available on Dryad).
Stronger lineage-specific rates lead to larger error in divergence time estimates
Stronger lineage-specific rates caused mean posterior age estimates to differ more from the correct value. This was the case regardless of whether of the UCLN relaxed clock was corrected such that it was equal to of the distribution from which lineage-specific rates were simulated (Fig. 3a,b). When of the UCLN relaxed clock was corrected, the RMSE increased from 0.00363 when there were no lineage-specific rates, to 0.150 with the strongest lineage-specific rates (Supplementary Table S4 available on Dryad). When was fixed at 0.15, the RMSE increased from 0.0108 to 0.195 (Supplementary Table S4 available on Dryad).
When was corrected, the mean 95% HPD width increased from 0.0145 with no lineage-specific rates, to 0.588 with the strongest lineage-specific rates. The percentage of replicate experiments that included the correct value within the 95% HPD showed only a small fall from 94% with no lineage-specific rates, to 92.5% with the strongest lineage-specific rates (Supplementary Table S4 available on Dryad). When was fixed at 0.15, the mean 95% HPD width initially remained constant at around 0.192, but then showed a slight fall to around 0.176 with the strongest lineage-specific rates (Supplementary Table S4 available on Dryad). The percentage of replicate experiments that included the correct value within the 95% HPD decreased from 100% with no lineage-specific rates to 32% with the strongest lineage-specific rates (Supplementary Table S4 available on Dryad).
The Dirichlet rate prior does not reduce error when there are lineage-specific rates
The Dirichlet rate prior did not reduce error in mean posterior age estimates. The RMSE for the Dirichlet rate prior was 0.0599, whilst the RMSE for the UCLN relaxed clock was 0.0552 (Supplementary Table S5 available on Dryad). The Dirichlet rate prior did result in considerably narrower 95% HPD widths. For the Dirichlet rate prior, the mean 95% HPD width was 0.0186, whilst for the UCLN relaxed clock, the mean 95% HDP width was 0.190. The Dirichlet rate prior only included the correct value within the 95% HPD in 10% of replicate experiments, whilst the UCLN relaxed clock included the correct value within the 95% HPD in 89% of replicate experiments.
Error resulting from lineage-specific rates is not specific to three-taxon trees
In this section, the correct divergence time is not fixed at 0.5. Therefore, mean posterior estimates (MPEs) are evaluated with respect to the percentage error relative to the correct value, and 95% HPDs are evaluated with respect to their width relative to the MPE.
Lineage-specific rates led to erroneous divergence time estimates in eight-taxon trees. When a UCLN relaxed clock was used and 400 loci were sampled, the mean error for the MPE was 7.785% when there were lineage-specific rates, and was 1.421% when there were no lineage-specific rates (Supplementary Table S6 available on Dryad). Mean 95% HPD widths were 29.510% of the MPE when there were lineage-specific rates, and 29.006% of the MPE when there were no lineage-specific rates. The percentage of nodes for which the 95% HDP contained the correct value was 88.9% when there were lineage-specific rates and was 100% when there were no lineage-specific rates. When a strict clock was used, the mean error for the MPE was similar, but the 95% HPDs were far narrower and the percentage of nodes for which the 95% HPD contained the correct value was far lower (Supplementary Table S6 available on Dryad).
Lineage-specific rates in Ipomoea are of a comparable scale to those used in our simulation experiments
Across all sister species comparisons in our Ipomoea species tree, there is a mean rate difference of 1.23-fold. This implies stronger lineage-specific rates than the majority of our simulation experiments in which rates were drawn from a lognormal distribution with . Such a distribution results in a mean rate difference between sister species of 1.19-fold.
Discussion
Lineage-specific rates cause divergence time estimation error
Lineage-specific rates lead to error in divergence time estimates, and increasing the number of sampled loci, or sampled sequence length at a single locus, has a limited effect in reducing this error (Fig. 2d,e, and Supplementary Table S1 available on Dryad). For example, when lineage-specific rates were present, increasing the number of sampled loci from 1 to 400 only caused a decrease in error from 17.5% to 10.2% (percentage errors represent the RMSE of mean posterior age estimates as a percentage of the correct value). By contrast, with residual rates, increasing the number of sampled loci from 1 to 400 caused error to decrease from 17.7% to 2.21%. Moreover, increasingly strong lineage-specific rates lead to increasingly large errors in age estimates (Fig. 3a,b, and Supplementary Table S4 available on Dryad). These results are not specific to the case of the three-taxon tree that we used in most experiments, because lineage-specific rates led to a similar level of error in our additional experiments with eight-taxon trees (Supplementary Table S6 available on Dryad). The slightly reduced error in the eight-taxon trees is likely to be caused by the tree prior which in our simulations is correctly parameterized such that is consistent with the parameters under which the trees were simulated. This is unlikely to be the case in an empirical data set. A further important result is that the error caused by lineage-specific rates is not reduced by using a more complex rate prior that has been specifically developed for multilocus data sets. Instead, this more complex prior led to misleadingly precise divergence time estimates (Supplementary Table S5 available on Dryad).
Comparing different classes of rate variation reveals why lineage-specific rates are problematic
Increasing the quantity of molecular sequence data enables the relative number of substitutions along each branch to be inferred with less error (Britton 2005). With no rate variation, such that the substitution rate is the same on every branch, this means that the unknown divergence time is inferred with less error (Fig. 2a, Supplementary Fig. S1a, Tables S1 and S3 available on Dryad). Further, with no rate variation, and therefore no rate differences between loci, the effect of increasing the sequence length at a single locus is effectively the same as increasing the number of sampled loci (Fig. 2a, Supplementary Fig. S1a, Tables S1 and S3 available on Dryad).
With locus specific classes of rate variation (gene-specific rates and residual rates), increasing the number of sampled loci means that the average substitution rate of sampled loci more accurately reflects that of the entire genome. When there are gene-specific rates, this means that unusually fast or slow loci are less likely to cause poor model parameterization and error in divergence time estimates (Fig. 2b, Supplementary Tables S1 and S3, Appendix S1, available on Dryad). When there are residual rates, this means that the problem reduces to a “strict” molecular clock because there are no overall rate differences among branches across the entire genome (Fig. 1c)—this in turn leads to less error in inferred divergence times (Fig. 2c, Supplementary Tables S1 and S3 available on Dryad). Alternatively, when only the sequence length at a single locus is increased, an average rate across the entire genome cannot be accurately inferred. As such, for both gene-specific rates and residual rates, the reduction in error is far more limited (Supplementary Fig. S1b,c, Tables S1 and S3 available on Dryad)
For lineage-specific rates, however, sampling more loci does not lead to the same improvements in accuracy as are possible for residual rates. In this case, the average substitution rate across all sampled loci is different for each branch, regardless of the number of loci that are sampled (Fig. 1d). Because of this, sampling more loci has a far more limited effect with respect to reducing error in divergence time estimates, and is no more effective than increasing the sampled sequence length at a single locus (Fig. 2d, Supplementary Fig S1d, Tables S1 and S3 available on Dryad).
When there are residual rates and lineage-specific rates, sampling more loci is marginally more effective at reducing error than increasing the sequence length at a single locus (Fig. 2e, Supplementary Fig. S1e, Tables S1 and S3 available on Dryad). This may be because increasing the number of sampled loci reduces error associated with residual rates, whilst error resulting from lineage-specific rates remains.
Interpreting error in the context of 95% HPD intervals
Our discussion of error has so far focused on mean posterior age estimates. This provides a useful framework to evaluate the effect of different classes of rate variation and different quantities of molecular sequence data. However, when inferred in a Bayesian framework, divergence time estimates are often discussed with respect to the 95% HPD.
In our study, the 95% HPD width is sensitive to the quantity of data that is analyzed (increasing the number of sampled loci and the sequence length at a single locus have an identical effect), and the rate prior that is used. The class of rate variation with which sequences were simulated did not affect the 95% HPD width—except potentially for very strong lineage-specific rates (Supplementary Tables S1, S3, and S4 available on Dryad).
In our initial experiments that evaluated different classes of rate variation, and where the unknown divergence time was inferred with a UCLN relaxed clock, the variance of the UCLN relaxed clock was equal to the variance of the distributions from which rate variation was simulated. Thus, when a single class of rate variation was simulated, a high percentage (approximately 95% or more) of replicate experiments included the correct value within the 95% HPD (Fig. 2, Supplementary Fig S1, Table S1 available on Dryad).
However, when there was more than one class of rate variation (lineage-specific rates and residual rates), and 320,000 bp from a single locus were sampled, only 80.5% of replicate experiments included the correct value within the 95% HPD (Supplementary Fig. S1e and Table S1 available on Dryad). In this case, the variance of the UCLN relaxed clock appears to have been insufficient to account for both classes of simulated rate variation. This contrasts to the case where 400 loci were sampled, and lineage-specific rates and residual rates were present. In this case, 94.5% of replicate experiments included the correct value within the 95% HPD. Here, sampling more loci is likely to have reduced the impact of residual rates. As such, the variance of the UCLN relaxed clock was sufficient to account for remaining rate variation that stemmed from lineage-specific rates (Fig. 2e and Supplementary Table S1 available on Dryad).
Two further cases highlight that with lineage-specific rates, the utility of the 95% HPD is highly sensitive to the variance of the rate prior, even when the maximum number of loci is sampled. First, when strong lineage-specific rates were simulated, and the variance of the UCLN relaxed clock was fixed at a low value, only 32% of replicate experiments included the correct value within the 95% HPD (Fig. 3b, Supplementary Table S4 available on Dryad). Second, when the unknown divergence time was inferred with a strict clock, lineage-specific rates were present, and 400 loci were sampled, only 11.5% of replicate experiments included the correct value within the 95% HPD (Supplementary Table S3 available on Dryad).
Given that the rate prior is rarely well informed, the sensitivity of the 95% HPD to the variance of the rate prior presents a serious problem for divergence time estimation. This problem is especially important when there are lineage-specific rates, because their impact is not reduced by sampling more loci. This contrasts to gene-specific rates and residual rates. For these classes of rate variation, sampling more loci reduces their impact. This in turn means the assumptions of the rate prior are less likely to be violated and the 95% HPD is more likely to include the correct value (Supplementary Tables S1 and S3 available on Dryad).
A further result from our experiments is that if the variance of the rate prior is less than that of the distribution from which rate variation was simulated, sampling more data (either more loci or more bp at a single locus) can reduce the probability that the 95% HPD includes the correct value. This is most strikingly expressed when there are lineage-specific rates and the unknown divergence time is inferred with a strict clock. In this case, the percentage of experiments that include the correct value within the 95% HPD, falls from 91% when 800 bp or 1 locus is sampled, to 13% or 11.5% when 320,000 bp or 400 loci are sampled (Supplementary Table S3 available on Dryad). Patterns such as this are most clearly observed when there are lineage-specific rates (Supplementary Tables S1 and S3 available on Dryad). This is likely explained by the fact that sampling more data does not reduce the impact of this class of rate variation.
The implications of lineage-specific rates for divergence time estimation with empirical data sets
Sister taxa comparisons in our Ipomoea data set indicated lineage-specific rates that are comparable to the parameters explored in our simulation experiments. Further, we suggest that sister taxa comparisons within a plant genus are likely to underrepresent the extent of lineage-specific rates that occur at broader phylogenetic scales. Given that stronger lineage-specific rates lead to larger errors in divergence time estimates (Fig. 3, Supplementary Table S4 available on Dryad) lineage-specific rates may be even more problematic for divergence time estimation in deeper phylogenies.
It is difficult to determine precisely the implications of lineage-specific rates when inferring divergence times with empirical data sets. Most time-calibrated phylogenies are far more complex than the three or eight-taxon trees used in our simulations. As well as containing more taxa, they typically incorporate temporal assumptions through the implementation of multiple fossil calibrations (Near and Sanderson 2004; Near et al. 2005; Yang and Rannala 2006; Warnock et al. 2011; Magallon et al. 2015; Warnock et al. 2015) and a constant rate birth–death branching process (Yang and Rannala 1997). These assumptions interact directly with inferences of molecular evolutionary rates, which in turn will have complex effects on the distribution of age estimates (Welch and Bromham 2005; Donoghue and Benton 2007; Magallon et al. 2013; Donoghue and Yang 2016). Further, divergence time estimates in empirical data sets may also be affected by model misspecification that is considerably more complex than in the simulation experiments presented here (Gillespie 1991; Sanderson et al. 2004; Duchêne et al. 2014; Kspeka and Phillips 2015; Field et al. 2019).
None of these complexities are likely to ameliorate the basic finding of this article, that in the presence of lineage-specific rates, increasing either the number of sampled loci or sequence length at a single locus has a limited effect in reducing error in divergence time estimates. This finding is concerning when considered in the context of the other assumptions and sources of evidence used in divergence time estimation. For example, variances of UCLN relaxed clocks are often arbitrarily specified, the constant rate birth–death branching process is often likely to be violated, and the fossil record can often be highly incomplete and provide a misleading temporal framework from which to derive fossil calibrations (Smith 2001; Bromham 2006; Donoghue and Yang 2016).
In the future, models that explicitly account for the relationship between certain traits and lineage-specific rates may be used more widely to infer divergence times (Lartillot and Poujol 2011; Ho 2014; Berv and Field 2018). However, it is currently the case that these models are rarely used, and even if they become increasingly easy to implement, they will inevitably remain sensitive to differing interpretations of how traits evolve. An alternative avenue for future progress may be to use gene screening approaches, such that when multilocus data sets are available, only a subset of genes that conform to a strict molecular clock are used for inferring divergence times (Walker et al. 2017; Alfaro et al. 2018; Smith et al. 2018). In an ideal situation, such an approach enables analyses to bypass problems associated with lineage-specific rates. However, it may often be difficult to determine the nature of rate variation in individual genes. This is because individual genes with short sequence lengths may contain insufficient information with which to make inferences about the nature of rate variation, whilst methods to determine the nature of rate variation typically make inferences by analyzing the variance of root to tip lengths in individual gene trees, and as such may overlook rate differences on individual branches. Further, gene screening approaches cause a large amount of data to be overlooked, and the composition of the remaining data may lead to alternative biases. Consequently, although gene screening approaches may be extremely important for future research, there are legitimate uncertainties relating to their implementation, and they are yet to be widely used. Taken together, divergence time estimation therefore remains one of the most challenging inference problems in molecular phylogenetics, regardless of the quantity of molecular sequence data available.
Acknowledgments
We thank Tom Britton and Mike Steel for reading early versions of this manuscript and providing useful and insightful comments. We also thank Mathew Phillips, Jacob Berv, and one anonymous reviewer for their thorough and useful reviews.
Supplementary Material
Data available from the Dryad Digital Repository: http://dx.doi.org/10.5061/dryad.m1n6m0m.
Funding
This work was supported by a Natural Environment Research Council scholarship granted through the Environmental Research DTP programme to T.C.
References
- Alfaro M.E., Faircloth B.C., Harrington R.C., Sorenson L., Friedman M., Thacker C.E., Oliveros C.H., Černý D., Near T.J.. 2018. Explosive diversification of marine fishes at the Cretaceous-Palaeogene boundary. Nat. Ecol. Evol. 2:688–696. [DOI] [PubMed] [Google Scholar]
- Aris-Brosou S., Yang Z.. 2003. Bayesian models of episodic evolution support a late precambrian explosive diversification of the metazoa. Mol. Biol. Evol. 20:1947–1954. [DOI] [PubMed] [Google Scholar]
- Berv J.S., Field D.J.. 2018. Genomic signature of an avian Lilliput effect across the K-Pg extinction. Syst. Biol. 67:1–13. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Bolker B., Butler M., Cowan P., de Vienne D., Eddelbuettel D., Holder M., Jombart T., Kembel S., Michonneau F., Orme D., O’Meara B., Paradis E., Regetz J., Zwickl D.. 2017. phylobase: base package for phylogenetic structures and comparative data. R package version 0.8.4 Available from: https://CRAN.R-project.org/package=phylobase.
- Britten R.J. 1984. Rates of DNA sequence evolution differ between taxonomic groups. Science 39:1393–1398. [DOI] [PubMed] [Google Scholar]
- Britton T. 2005. Estimating divergence times in phylogenetic trees without a molecular clock. Syst. Biol. 54:500–507. [DOI] [PubMed] [Google Scholar]
- Bromham L. 2006. Molecular dates for the Cambrian explosion: is the light at the end of the tunnel an oncoming train? Palaeontol. Electron. 9:2004–2006. [Google Scholar]
- Bromham L., Rambaut A., Harvey P.H.. 1996. Determinants of rate variation in mammalian DNA sequence evolution. J. Mol. Evol. 43:610–621. [DOI] [PubMed] [Google Scholar]
- Donoghue P.C.J., Benton M.J.. 2007. Rocks and clocks: calibrating the Tree of Life using fossils and molecules. Trends Ecol. Evol. 22:424–431. [DOI] [PubMed] [Google Scholar]
- Donoghue P.C.J., Yang Z.. 2016. The evolution of methods for establishing evolutionary timescales. Philos. Trans. R. Soc. B. 371:20160021. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Drummond A.J., Ho S.Y.W., Phillips M.J., Rambaut A.. 2006. Relaxed phylogenetics and dating with confidence. PLoS Biol. 4:e88. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Duchêne S., Lanfear R., Ho S.Y.W.. 2014. The impact of calibration and clock-model choice on molecular estimates of divergence times. Mol. Phylogenet. Evol. 78:277–289. [DOI] [PubMed] [Google Scholar]
- Duff R.J., Nickrent D.L.. 1997. Characterization of mitochondrial small-subunit ribosomal RNAs from holoparasitic plants. J. Mol. Evol. 45:631–639. [DOI] [PubMed] [Google Scholar]
- Field D.J., Berv J.S., Hsiang A.Y., Lanfear R., Landis M.J., Dornburg A.. 2019. Timing the extant avian radiation: the rise of modern birds, and the importance of modeling molecular rate variation. PeerJ. Prepr. 7, e27521v1. [Google Scholar]
- Gillespie J.H. 1989. Lineage effects and the index of dispersion of molecular evolution. Mol. Biol. Evol. 6:636–647. [DOI] [PubMed] [Google Scholar]
- Gillespie J.H. 1991. The causes of molecular evolution. Oxford: Oxford University Press. [Google Scholar]
- Ho S.Y.W. 2014. The changing face of the molecular evolutionary clock. Trends Ecol. Evol. 29:496–503. [DOI] [PubMed] [Google Scholar]
- Hohna S., Landis M.J., Heath T.A., Boussau B., Lartillot N., Moore B.R., Huelsenbeck J.P., Ronquist F.. 2016. RevBayes: Bayesian phylogenetic inference using graphical models and an interactive model-specification language. Syst. Biol. 65:726–736. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Hori H., Osawa S.. 1979. Evolutionary change in 5S RNA secondary structure and a phylogenic tree of 54 5S RNA species. Proc. Natl. Acad. Sci. USA 76:381–385. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Kishino H., Thorne J.L., Bruno, W.J.. 2001. Performance of a divergence time estimation method under a probabilistic model of rate evolution. Mol. Biol. Evol. 18:352–361. [DOI] [PubMed] [Google Scholar]
- Ksepka D.T., Phillips M.J.. 2015. Avian diversification patterns across the K-Pg boundary: influence of calibrations, datasets, and model misspecification. Ann. Missouri Bot. Gard. 100:300–332. [Google Scholar]
- Kumar S. 2005. Molecular clocks: four decades of evolution. Nat. Rev. Genet. 6:654–662. [DOI] [PubMed] [Google Scholar]
- Kumar S., Hedges S.B.. 1998. A molecular timescale for vertebrate evolution. Nature 392:917–920. [DOI] [PubMed] [Google Scholar]
- Lanfear R., Ho S.Y.W., Davies T.J., Moles A.T., Aarssen L., Swenson N.G., Warman L., Zanne A.E., Allen A.P.. 2013. Taller plants have lower rates of molecular evolution. Nat. Commun. 4:1879. [DOI] [PubMed] [Google Scholar]
- Langley C.H., Fitch W.M.. 1974. An examination of the constancy of the rate of molecular evolution. J. Mol. Evol. 3:161–177. [DOI] [PubMed] [Google Scholar]
- Lartillot N., Poujol R.. 2011. A phylogenetic model for investigating correlated evolution of substitution rates and continuous phenotypic characters. Mol. Biol. Evol. 28:729–744. [DOI] [PubMed] [Google Scholar]
- Magallon S., Gomez-Acevedo S., Sanchez-Reyes L.L., Hernandez-Hernandez T.. 2015. A metacalibrated time-tree documents the early rise of flowering plant phylogenetic diversity. New Phytol. 207:437–453. [DOI] [PubMed] [Google Scholar]
- Magallon S., Hilu K.W., Quandt D.. 2013. Land plant evolutionary timeline: gene-effects are secondary to fossil constraints in relaxed clock estimation of age and substitution rates. Am. J. Bot. 100:556–573. [DOI] [PubMed] [Google Scholar]
- Miyata T., Yasunaga T., Nishida T.. 1980. Nucleotide sequence divergence and functional constraint in mRNA evolution. Proc. Natl. Acad. Sci. USA 77:7328–7332. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Muñoz-Rodríguez P., Carruthers T., Wood J.R.I., Williams B.R.M., Weitemier K., Kronmiller B., Goodwin Z., Sumadijaya A., Anglin N.L., Filer D., Harris D., Rausher M.D., Kelly S., Liston A., Scotland R.W.. 2019. A taxonomic monograph of Ipomoea integrated across phylogenetic scales. Nat. Plants 5:1136–1144. [DOI] [PubMed] [Google Scholar]
- Near T.J., Meylan P.A., Shaffer B.H.. 2005. Assessing concordance of fossil calibration points in molecular clock studies: an example using turtles. Am. Nat. 165:137–146. [DOI] [PubMed] [Google Scholar]
- Near T.J., Sanderson M.J.. 2004. Assessing the quality of molecular divergence time estimates by fossil calibrations and fossil-based model selection. Philos. Trans. R. Soc. B. 359:1477–1483. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Phillips M.J., Fruciano C.. 2018. The soft explosive model of placental mammal evolution. BMC. Evol. Biol. 18:104. [DOI] [PMC free article] [PubMed] [Google Scholar]
- dos Reis M., Yang Z.. 2013. The unbearable uncertainty of Bayesian divergence time estimation. J. Syst. Evol. 51:30–43. [Google Scholar]
- dos Reis M., Zhu T., Yang Z.. 2014. The impact of the rate prior on Bayesian estimation of divergence times with multiple loci. Syst. Biol. 63:555–565 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Revell L.J. 2012. phytools: an R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol. 3:217–223. [Google Scholar]
- Revell L.J. 2017. phytools: phylogenetic tools for comparative biology (and other things). R package version 0.6–44 Available from: https://CRAN.R-project.org/package=phytools.
- Sanderson M.J. 1997. A nonparametric approach to estimating divergence times in the absence of rate constancy. Mol. Biol. Evol. 14:1218–1231. [Google Scholar]
- Sanderson M.J. 2002. Estimating absolute rates of molecular evolution and divergence times: a penalized likelihood approach. Mol. Biol. Evol. 19:101–109. [DOI] [PubMed] [Google Scholar]
- Sanderson M.J., Thorne J.L., Wilkström N., Bremer K.. 2004. Molecular evidence on plant divergence times. Am. J. Bot. 91:1656–1665. [DOI] [PubMed] [Google Scholar]
- Schliep K.P. 2011. phangorn: phylogenetic analysis in R. Bioinformatics 27:592–593. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Schliep K.P. 2018. phangorn: phylogenetic reconstruction and analysis. R package Version 2.4.0 Available from: https://CRAN.R-project.org/package=phangorn. [DOI] [PMC free article] [PubMed]
- Smith A.B. 2001. Large-scale heterogeneity of the fossil record: implications for Phanerozoic biodiversity studies. Philos. Trans. R. Soc. B. 356:351–367. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Smith S.A., Brown J.W., Walker J.F.. 2018. So many genes, so little time: a practical approach to divergence-time estimation in the genomic era. PLoS One 13:e0197433. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Stadler T. 2017. TreeSim: simulating phylogenetic trees. R package version 2.3 Available from: https://CRAN.R-project.org/package=TreeSim.
- Tamura K., Battistuzzi F.U., Billing-Ross P., Murillo O., Filipski A., Kumar S.. 2012. Estimating divergence times in large molecular phylogenies. Proc. Natl. Acad. Sci. USA 109:19333–19338. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Thorne J.L., Kishino H., Painter I.S.. 1998. Estimating the rate of evolution of the rate of molecular evolution. Mol. Biol. Evol. 15:1647–1657. [DOI] [PubMed] [Google Scholar]
- Walker J.F., Yang Y., Moore M.J., Mikenas J., Timoneda A., Brockington S.F., Smith S.A.. 2017. Widespread paleopolyploidy, gene tree conflict, and recalcitrant relationships among the carnivorous Caryophyllales. Am. J. Bot. 104:858–867. [DOI] [PubMed] [Google Scholar]
- Warnock R.C.M., Parham J.F., Joyce W.G., Lyson T.R., Donoghue P.C.J.. 2015. Calibration uncertainty in molecular dating analyses: there is no substitute for the prior evaluation of time priors. Proc. R. Soc. Lond. 282:20141013. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Warnock R.C.M., Yang Z., Donoghue P.C.J.. 2011. Exploring uncertainty in the calibration of the molecular clock. Biol. Lett. 8:156–159. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Welch J.J., Bromham L.. 2005. Molecular dating when rates vary. Trends Ecol. Evol. 20:320–327. [DOI] [PubMed] [Google Scholar]
- Yang Z., Rannala B.. 1997. Bayesian phylogenetic inference using DNA sequences: a Markov Chain Monte Carlo Method. Mol. Biol. Evol. 14:717–724. [DOI] [PubMed] [Google Scholar]
- Yang Z., Rannala B.. 2006. Bayesian estimation of species divergence times under a molecular clock using multiple fossil calibrations with soft bounds. Mol. Biol. Evol. 23:212–226. [DOI] [PubMed] [Google Scholar]
- Rannala B., Yang Z.. 2007. Inferring speciation times under an episodic molecular clock. Syst. Biol. 56:453–466. [DOI] [PubMed] [Google Scholar]
- Zhu T., dos Reis M., Yang Z.. 2015. Characterization of the uncertainty of divergence time estimation under relaxed molecular clock models using multiple loci. Syst. Biol. 64:267–280. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Zuckerkandl E., Pauling L.B.. 1962. Molecular disease, evolution, and genetic heterogeneity In: Kasha M., Pullman B., editors. Horizons in biochemistry. Academic Press: New York: p. 189–225. [Google Scholar]
- Zuckerkandl E., Pauling L.. 1965. Evolutionary divergence and convergence. In: Bryson V., Vogel H.J., editors. Evolving genes and proteins. Academic Press: New York; p. 97–166. [Google Scholar]