Abstract
Detection of natural selection is one of the main interests in population genetics. Thus, many tests have been developed for detecting natural selection using genomic data. Although it is recognized that the utility of tests depends on several evolutionary factors, such as the timing of selection, strength of selection, frequency of selected alleles, demographic events, and initial frequency of selected allele when selection started acting (softness of selection), the relationships between such evolutionary factors and the power of tests are not yet entirely clear. In this study, we investigated the power of 4 tests: Tajiama's D, Fay and Wu's H, relative extended haplotype homozygosity (rEHH), and integrated haplotype score (iHS), under ranges of evolutionary parameters and demographic models to quantitatively expand the understanding of approaches for detecting selection. The results show that each test detects selection within a limited parameter range, and there are still wide ranges of parameters for which none of these tests work effectively. In addition, the parameter space in which each test shows the highest power overlaps the empirical results of previous research. These results indicate that our present perspective of adaptation is limited to only a part of actual adaptation.
Keywords: natural selection, power, simulation
Tanaka et al. investigated the power of four tests of neutrality: Tajiama’s D, Fay and Wu’s H, rEHH, and iHS, under ranges of evolutionary parameters and demographic models. The results show that each test detects selection within a limited parameter range, and there are still wide ranges of parameters for which none of these tests work effectively.
Introduction
Living organisms have evolved under the effects of natural selection. Therefore, identifying the targets of natural selection is essential to understanding when, how, and why organisms evolve into what they are today. With the development of sequencing technologies, massive amounts of genomic data have become available (Goodwin et al. 2016; Shendure et al. 2017). Consequently, many methods for detecting natural selection using genomic data have been developed (Vitti et al. 2013; Fan et al. 2016; Rees et al. 2020). Tests for detecting natural selection from population genetic data can be classified into 2 groups. The first group focuses on site frequency spectrum (SFS), and the second utilizes the homozygous haplotype structure. Examples of widely used tests in SFS-based methods include Tajima's D (Tajima 1989) and Fay and Wu's H (Fay and Wu 2000). The effect of selection causes a reduction in the genetic diversity around the target site and therefore distorts the frequency spectrum. Excess low-frequency variants than expected under neutrality can be considered a signature of beneficial mutations. Tajima's D has detected this signature. Selection can also cause an excess of high-frequency variants because linked neutral variants hitchhike on the target site of selection and reach a high frequency. Fay and Wu's H detects this departure from neutral expectations. In order to capture an excess of high-frequency derived allele, unfolded SFS is required in calculation of Fay and Wu's H statistic. Haplotype-based tests include relative extended haplotype homozygosity (rEHH) (Sabeti et al. 2002) and integrated haplotype score (iHS) (Voight et al. 2006). Because the number of selected alleles rapidly increases in a population, there is less time for recombination to break down linkage disequilibrium (LD) around the target of selection. rEHH and iHS detect excess homozygous tracts around the target site as a signature of positive selection. Since these methods detect natural selection by capturing different signatures of genomic diversity (e.g. a skew in SFS and long-range LD), different statistics might be useful in different parts of the parameter space. Indeed, different methods have uncovered different candidate genes (Sabeti et al. 2006; Nielsen et al. 2007).
Only a part of the natural selection that has actually occurred is currently observed. Sabeti et al. (2006) have shown that different methods detect selection in different evolutionary time windows. In addition, Zhai et al. (2009) pointed out that methods based on population genetic data detect signatures of selection in a relatively narrow time window compared with tests based on comparative genetic data because they mainly detect ongoing selection. Although some previous studies have discussed the relationship between power and timing of selection (Simonsen et al. 1995; Sabeti et al. 2006), they have not been quantitatively examined. Thus, the time range of natural selection that can be detected remains unclear.
The power of tests for detecting selection depends not only on the timing of selection but also on other factors, such as the strength of selection and frequency of selected alleles. Although some previous studies (Voight et al. 2006; Zeng et al. 2006; Huff et al. 2010; Ma et al. 2015; Vatsiou et al. 2016) have examined the theoretical background of detectable conditions, the parameter sets examined were limited, and different studies used different parameter sets. Demographic events, such as population expansion and bottlenecks, have also considerable effects on detecting selection (Fu 1997; Ramos-Onsins and Rozas 2002; Depaulis et al. 2003; Nielsen 2005). Several previous studies have investigated the robustness of these 4 tests, Tajima's D, Fay and Wu's H, rEHH, and iHS, against demographic events (Simonsen et al. 1995; Depaulis et al. 2003; Ramírez-Soriano et al. 2008; Huff et al. 2010; Li 2011; Li et al. 2012; Ferrer-Admetlla et al. 2014; Vatsiou et al. 2016). For example, Ferrer-Admetlla et al. (2014) examined the distribution of these 4 test statistics under various population expansion and bottleneck models. They found that both haplotype-based statistics and SFS-based statistics are not generally robust, and the SFS-based statistics are more affected by population expansion and bottlenecks than haplotype-based statistics. However, power and false-positive rates (FPRs) have not been examined in a wide range of parameter spaces; thus, it is still unclear whether we can distinguish between selection and demography. Demographic events also affect the evolutionary period when selection can be detected. For example, it has been pointed out that selection before a bottleneck and selection after a bottleneck leave different SFS patterns (Li et al. 2012). Therefore, the effects of demographic events should be examined.
The initial frequency of the target allele when selection started acting, or the softness of selection, is another factor. When selection acts on standing variations (SSV), the selected region shows a different diversity pattern compared with a region where selection for de novo mutations (SDN) occurs (Innan and Kim 2004; Przeworski et al. 2005). As previous research (Huff et al. 2010; Ferrer-Admetlla et al. 2014; Garud et al. 2015) shows, tests generally have less power in detecting SSV than in detecting SDN. However, it is not clear how the initial frequency of selected allele changes the time range that these tests can detect selection. Because SSV is widespread in many species, such as humans and Drosophila (Garud et al. 2015; Schrider and Kern 2017), the power of detecting soft selection should also be carefully considered.
Despite these several studies, the conditions of selective sweeps that have been observed are not yet entirely clear. That is why it is not easy to comprehensively understand the nature of selective sweeps. Given the fact that there is an increase in research attempting to detect selective sweeps for many species including nonmodel species (reviewed in Ekblom and Galindo 2011; Savolainen et al. 2013; Ellegren 2014; Xiang-Yu et al. 2016; Weigand and Leese 2018), it is worthwhile to examine the detectability under a wide range of parameter space in which the tests work effectively. In this study, the power of tests for detecting selective sweeps was comprehensively investigated by conducting simulations using a range of evolutionary parameters and demographic models. As seen above, the power of tests for detecting selective sweeps should be considered as a function of evolutionary factors, such as the strength of selection, the timing when selection acted, the demography of a population, and the softness of selection. By obtaining the power for detecting selective sweeps considering various factors, here we quantitatively expand our understanding of approaches for detecting selective sweeps. First, the power of the tests was evaluated using relatively simple models. By investigating the range and combination of parameters where selective sweeps can be detected, we confirmed which portions of evolutionary changes were observed. Subsequently, the power for detecting selective sweeps during the course of human evolution was assessed. It was shown that the parameter space in which current tests can detect selective sweeps is quite limited and that our present perspective of selective sweeps is limited to only a part of actual selective sweeps.
Methods
Demographic models
In this study, the power and error rate of neutrality tests were investigated using 3 basic demographic models and estimated human demographic models. In all models, diploid populations were assumed. The first model was a constant population model with N0 = 5,000, where N0 is the current population size. Throughout this study, the generation time was set to 20 years. The next model was the expansion model. After the expansion, the size of the current population becomes 10 times larger than that of the ancestral population. Namely, , where N1 is the ancestral population size prior to the expansion. We varied the population size and timing of demographic events so that all models had the same effective population size as the constant model (Ne = 5,000). Specifically, 3 cases were considered: (1) N1 = 4,770 and t1 = 0.1, (2) N1 = 4,330 and t1 = 0.3, and (3) N1 = 3,890 and t1 = 0.5, where t1 is the time when expansion occurred (in unit of N generation). In the bottleneck model, the current population size was 20 times larger than the ancestral population size during a bottleneck. Namely, we set and the duration of the bottleneck was 500 generations, where Nb is the population size during the bottleneck. Three combinations of the bottleneck population size and the timing of the bottleneck, with the same effective population size as previous models (Ne = 5,000), were considered: (1) Nb = 427 and tb = 0.05, (2) Nb = 418 and tb = 0.2, and (3) Nb = 401 and tb = 0.5, where tb is the time at which the bottleneck ended (in N generation). In addition to the aforementioned basic demographic models, models that are plausible for human evolution were also considered. The models estimated by Schaffner et al. (2005) (Supplementary Fig. 1) and a simplified version of the model estimated by Li and Durbin (2011) (Supplementary Fig. 2) were used.
Coalescent simulation
The program mbs (Teshima and Innan 2009) was used to generate the sample sequences. To investigate the power and error rate of the tests for selection acting on variants at a certain allele frequency, frequency trajectories conditioned on the current allele frequency were simulated. A backward-in-time simulation was used under the constant population model, and rejection sampling was applied under the models in which the population size changed. When the power and error rate of tests for the selection of variants that arose at a certain age were assessed, a forward-in-time simulation was used to generate the allele frequency trajectory. The allele frequency trajectories were generated by performing simulations based on the Wright–Fisher model. The scripts are available on our GitHub site (https://github.com/ttomo3535/power_of_neutrality_tests). The sample sequences were then generated using mbs based on the simulated frequency trajectories.
To simulate the allele frequency trajectories affected by standing variations, both backward and forward simulations were used. Frequency trajectories were conditioned on allele frequencies when selection started. Backward simulation was used to generate ancestral neutral trajectories, and forward simulation was used to generate trajectories after the start of selection. The effect of SSV was investigated by changing the initial frequency of the selected allele p1 when selection started. The length of the simulated region was 10 kb when the SFS-based statistics were analyzed. The target site of selection was located at the center of the 10-kb region. When haplotype-based statistics were investigated, 500-kb regions were simulated. The target site for selection was located at the edge of the simulated region. μ = 1.0 × 10−8 and r = 1.0 × 10−8, where μ is the mutation rate per site per generation and r is the recombination rate per site per generation. One hundred twenty chromosomes were sampled from a population. First a wide range of selection coefficients of s was used (0.0001–1) (Figs. 1 and 2). Then, s = 0.005 was used as the representative value of weak selection, assumed relatively weak selection (Ns = 25) to better understand the effect of demographic events and softness of selection (Figs. 3–6; Supplementary Figs. 6–11).
Fig. 1.
The power of 4 tests against the strength of selection and allele frequency. The power of Tajima's D, Fay and Wu's H, rEHH, and iHS under the constant population model is plotted against the strength of selection (Ns, y-axis) and allele frequency in the current population. Selection acted on de novo mutation.
Fig. 2.
The power of 4 tests and the current allele frequency against the strength of selection and allele age. The power of Tajima's D, Fay and Wu's H, rEHH, and iHS under the constant model is plotted against the strength of selection and age of the derived allele (top and middle). The dotted contour plot represents allele frequency in the current population. The average of the current allele frequency is plotted against the strength of selection and age of the derived allele (bottom). Selection acted on de novo mutation.
Fig. 3.
The power and FPR of 4 tests under expansion models. The power (left columns) and FPR (right columns) of 4 tests are plotted against the age of mutation. The constant population model and 3 expansion models with t1 = 0.1, 0.3, and 0.5, respectively, where t1 is the timing of expansion in a unit of N generations were used. The selection coefficient s is set to be 0.005. a) Null distribution was generated under the standard neutral model with N = 5,000. b) Null distribution was generated under the true demographic mode.
Fig. 6.
The power of 4 tests for detecting SSV. The power of 4 tests is plotted. Selection works on de novo mutation (SDN) and SSV (P = 0.01, 0.1, 0.2, and 0.5). The selection coefficient s is set to be 0.005.
Test statistics
The power and error rate of 2 SFS-based tests, Tajima's D (Tajima 1989) and Fay and Wu's H (Fay and Wu 2000), and 2 haplotype-based tests, rEHH (Sabeti et al. 2002) and iHS (Voight et al. 2006), were investigated. Tajima's D and Fay and Wu's H were calculated using our own script, and the extended haplotype homozygosity (EHH) and iHS statistics were calculated using the rehh package (Gautier et al. 2017). EHH statistics were calculated at 0.025 cM (25,000 bp) from the target site in the constant population model with N0 = 5,000. In the expansion models, because the degree of LD decay differs depending on the degree of expansion, the distance for rEHH calculation was set up so that roughly the same number of SNP sites was included within the region. EHH was calculated at the site 25,000 bp from the target for the model with (N1, t1) = (4,770, 0.1), at 20,000 bp from the target for (N1, t1) = (4,330, 0.3), and at 15,000 bp from the target for (N1, t1) = (3,890, 0.5); thus, the number of segregating sites was approximately the same as that under the constant model. In the human model, EHH was calculated at 10,000 bp from the target site for the W. African model, at 20,000 bp from the target for the European and E. Asian models (Schaffner et al. 2005), and at 20,000 bp from the target for European and Asian models (Li and Durbin 2011).
Null distributions of SFS-based tests were generated under demographic models using the program ms (Hudson 2002). The program mbs was used to generate the null distribution of haplotype-based tests. Power is defined as the proportion of simulations that fall at the 5% end of the null distribution (1-sided). FPR is defined as the proportion of simulated data sets generated under a neutral model that rejects the neutral null hypothesis at the 5% significance level. The power and FPR were evaluated based on 200 replicates.
Results
Power to detect selection under constant population model
First, the power to detect selection acting on de novo mutations under the constant population model was investigated. The powers of the 4 tests, conditional on the current-derived allele frequencies and the strength of selection, are shown in Fig. 1. The power of SFS-based tests (Tajima's D and Fay and Wu's H) depends on the current derived allele frequencies and takes the highest power when the allele frequency is 90–95%. However, the power decreases when the derived allele frequency is almost 100% because genetic diversity is removed by the effect of selective sweep (Zeng et al. 2006). Across a wide range of allele frequencies, the power of haplotype-based tests (rEHH and iHS) was higher than that of SFS-based tests. However, when the derived allele frequency was near 100%, the power of haplotype-based tests was lower than that of SFS-based tests (Supplementary Fig. 3). This reduction in the power of haplotype-based tests results from their inability to calculate statistics. Often, the ancestral haplotype was not involved in a sample when the derived allele frequency was very high, and statistical values could not be calculated in such a case. Regardless of the test, it was difficult to detect selection when Ns < 10. From these results, it can be concluded that positive selection can be detected if the selection coefficient is reasonably strong by appropriately combining the statistical tests.
The power conditional on the age of the derived allele is shown in Fig. 2. The results for Fay and Wu's H, rEHH, and iHS showed similar patterns. rEHH and iHS can detect positive selection only when the selected allele is segregated (Sabeti et al. 2002; Voight et al. 2006). Fay and Wu's H detects selection when the selected allele is close to fixation or during a short period after fixation (Zeng et al. 2006). Therefore, the parameter range to detect selection for these tests is limited to combinations in which the derived allele frequencies are moderate to high (Fig. 2). Tajima's D, on the other hand, can detect selection even after fixation. It seems that the power depends on the age of the derived allele and peaks around 0.2N generations ago. Thus, it can be argued that Tajima's D can detect selection under a wider range of parameters, although haplotype-based tests have higher power. These results indicate that the candidates for natural selection that have been detected are only a part of the selection. There are still wide ranges of parameters for which none of these tests work effectively, such as recent weak selections.
Effect of demographic changes
The effects of demographic events on the power and error rates of the tests were investigated. Two types of null distributions were considered to calculate power and error rates. The first was generated using a standard neutral model with N = 5,000. The second one was generated under the same demographic model as the one under which selection was simulated (true demographic model) to assess if we could mitigate the effect of demographic events by estimating the demographic history.
Owing to population expansion, the power and false positives of Tajima's D greatly increased (Fig. 3a). Fay and Wu's H showed a decrease in power (Fig. 3; Supplementary Fig. 4a). The degree of reduction in power depends on the timing of expansion (Supplementary Fig. 5). Haplotype-based tests showed an increase in FPR especially when the frequency of neutral allele is high (Supplementary Fig. 4a). Although the power of rEHH was less affected than other tests, a slight increase in FPR was observed. iHS showed an increase in power but the FPR also increased. Haplotype-based tests show the same or lower level of FPR against age of the mutation than those under the constant population model (Fig. 3). This is because the current frequency of neutral allele that arose during the period between 0 and 0.8 N generations ago is not high enough for haplotype-based tests to show an increase in FPR (Supplementary Fig. 6b). However, these effects of expansion can be mitigated if a null distribution is generated by considering demography (Fig. 3b; Supplementary Fig. 4b). It was shown that the FPR of Tajima's D decreases if a null distribution is generated under true demography, although the power decreases at the same time (Supplementary Fig. 4b). On the contrary, the power of Fay and Wu's H rather increased (Fig. 3b; Supplementary Fig. 4b). The FPR of rEHH was suppressed while retaining its power. iHS increased in power, which is consistent with a previous study (Huff et al. 2010). Thus, except for Tajima's D, we can mitigate the effect of expansion by considering the demography. Additionally, for Fay and Wu's H and haplotype-based tests, the peak of power shifted toward older age. The reason for this is that it takes more time for a selected allele to reach a moderate to high frequency, which is these 3 tests can work reasonably (Supplementary Fig. 6a).
When a population experienced a recent bottleneck, the power of haplotype-based tests to detect advantageous mutations that arose before or during the bottleneck phase decreased (Fig. 4a; Supplementary Fig. 7a). The reduction in the power of rEHH and iHS was caused by the fixation of the selected alleles. Because rEHH and iHS cannot be implemented after fixation, the chances of detecting selection that started acting during or before the bottleneck decreased. Contrary to the cases of population expansion, the effects of bottlenecks cannot be mitigated even if the demography is taken into consideration when calculating the null distribution (Fig. 4b; Supplementary Fig. 7b). Tajima's D also showed a decrease in power when a population experienced a recent bottleneck (Fig. 4a and b). Although the power of Fay and Wu's H increased, FPR also increased (Supplementary Figs. 8 and 9). When the null distribution generated under true demography was used to mitigate the increase in FPR, the power to detect selection that started before or during the bottleneck phase decreased (Fig. 4b). Therefore, if a bottleneck occurs after or during the detectable time range of these tests, selection before and during the bottleneck phase is difficult to detect, regardless of the demographic model of the null distribution.
Fig. 4.
The power of 4 tests under bottleneck models. The power of 4 tests is plotted against the age of mutation. The constant population model and 3 bottleneck models with tb = 0.05, 0.2, and 0.5, respectively, where tb is the time when the bottleneck ended in a unit of N generations were used. The selection coefficient s is set to be 0.005. a) The power and FPR were calculated with null distribution generated under the standard neutral model (N = 5,000). b) Null distribution generated under the true demographic model was used. The duration of the bottleneck is illustrated by the shaded area.
Power was assessed by incorporating human demographic models estimated by Schaffner et al. (2005) to understand the joint effect of demographic events. A null distribution was generated for each demographic model. The power under the estimated demographic models was compared with that under a constant population with the same effective size to assess the effects of demography when several events were combined (Fig. 5). In all 3 populations, Tajima's D shows comparable power with that under the constant population. On the contrary, in the African population, Fay and Wu's H shows higher power than that under the constant population. This increase in power is due to the expansions that the African population experienced (Fig. 3). For the European and Asian populations, because they experienced population constriction, the effects of expansion are mitigated and the power of Fay and Wu's H becomes comparable with that under the constant populations. The Asian population model shows a reduction in power owing to the more severe bottleneck that they experienced. iHS shows a level of power comparable with that under the constant population. This is because the timing of the bottleneck is older than the detectable time range.
Fig. 5.
The power of 4 tests under human demographic models. The power of 4 tests is plotted against the age of mutation. Models plausible for W. African, W. European, and E. Asian populations (left to right) and under the constant population model with N = 16,000, 13,000, and 12,000 (left to right) were used. The duration of the bottleneck is highlighted in gray. The selection coefficient s is set to be 0.005. Selection acted on de novo mutation. The null distributions were generated under each demographic model.
Power for detecting SSV
Next, the power to detect soft sweeps was investigated. The power of the tests for a derived allele with frequency p at t generations ago was assessed (Fig. 6). Compared with the power for de novo mutation (SDN), 2 distinctive patterns were observed in the case of SSV. First, the peak of power shifted toward younger age. When the initial frequency p is high, less time is required to reach a moderate to high frequency, which is these 4 tests can work reasonably. Therefore, when the initial frequency of standing variation is high, the detected alleles are limited to young alleles compared with those when p is small. Second, a reduction in power was observed. As the initial frequency p increases, the more diverse haplotypes selected alleles are associated with (Przeworski et al. 2005; Hermisson and Pennings 2017). This mitigates the reduction in diversity caused by selective sweep. Thus, the power is maintained only within a short period if p is high. The power of Tajima's D, rEHH, and iHS decreased as p increased, as suggested in a previous study (Ferrer-Admetlla et al. 2014). The detectable time span also narrowed. In contrast, the power of Fay and Wu's H did not change significantly regardless of the initial frequency, although the FPR increased (Supplementary Fig. 11).
We also demonstrated how power changes with the joint effect of bottlenecks and SSV (Table 1). It was assumed that selection started 2,000 generations ago when the Europe–Asia split bottleneck began under the E. Asian population model. To understand the effect, 4 cases were compared: SDN in the constant population model, SSV in the constant population, SDN in the E. Asian population model, and SSV in the E. Asian population model. For SSV, selection started when the derived allele frequency was 0.1. The results are shown in Table 1. In the case of (constant + SDN), SFS-based tests show higher power than those of haplotype-based tests, because the Europe–Asia split occurred at a bit older age than the time range that haplotype-based tests show its highest power. When selection acts on standing variations (constant + SSV), all 4 tests show a reduction in power. When a population experiences a bottleneck, the power for Fay and Wu's H, rEHH, and iHS becomes lower than those under a constant population. When selection acts on standing variations (bottleneck + SSV), the power for all tests decreases further. Therefore, under the demographic history plausible for human evolution, the most recent bottleneck imposed a basic limit on the detection of selection except for Tajima's D. If the selection acts on standing variations, the limitation becomes even more severe for all 4 tests.
Table 1.
The power of 4 tests.
| Constant + SDN | Constant + SSV | E. Asian + SDN | E. Asian + SSV | |
|---|---|---|---|---|
| Tajima's D | 0.935 | 0.495 | 0.95 | 0.4 |
| Fay and Wu's H | 0.33 | 0.115 | 0.265 | 0.095 |
| rEHH | 0.13 | 0 | 0.005 | 0 |
| iHS | 0.205 | 0 | 0.08 | 0.025 |
The power of 4 tests (1) when selection works on de novo mutation under the constant population model (N = 10,000), (2) when selection works on standing variation under the constant model, (3) when selection works on de novo mutation under the model for E. Asian population, and (4) when selection started acting on standing variation (P = 0.1) under the model for E. Asian population (left to right column). Selection started 2,100 generations ago when the Europe-Asia split bottleneck occurred.
Comparison with the empirical data
Finally, to confirm our simulation results, we compared the results of the empirical analysis with those of our simulation. Hawks et al. (2007) estimated the ages of candidate genes for natural selection and claimed that human adaptation has accelerated recently. We assumed a constant population model with and set for the African population and for the European population, in accordance with Hawks et al. (2007). The power of the rEHH was then estimated. The power distribution of the rEHH calculated in this study and the ages of candidate genes estimated by Hawks et al. (2007) are plotted in Supplementary Fig. 12. As shown in the figure, the estimated ages overlapped with the power distribution. It is possible that the skewed distribution of estimated ages was caused by the power distribution of the tests. Peter et al. (2012) estimated evolutionary parameters of several candidate genes. We selected 4 candidate genes for which the selection acted as they arose. The 4 candidate genes were chosen based on 2 criteria: selection acted on de novo mutation and the selected allele had not yet reached fixation. They were plotted on a contour plot of the power of the tests (Fig. 7). In this contour plot, power was calculated using European and Asian human demographic models (Li and Durbin 2011). As shown in the figure, the age and strength of selection for these candidate genes overlapped in the area where each test had the highest power. Altogether, these results indicate that the currently observed adaptations by those traditional tests are restricted to the parameter spaces in which the signatures of selection can be detected. To further expand our understanding of adaptations, developing new test statistics to target the parameter space of selection that those tests miss or combining multiple tests are expected.
Fig. 7.
The power of 4 tests and the empirical data. The power of 4 tests is plotted. The simplified model for Europe and Asian population model (Li and Durbin 2011) is used. Selection acts on de novo mutation. The ages and selection coefficients for 4 candidate genes estimated by Peter et al. (2012) are also plotted.
Discussion
In this study, we investigated the power of tests of neutrality that utilized within-population genetic data. Most of the previous studies that focused on the efficiency of tests analyzed the power conditioned on allele frequency in order to extract candidate sites of selection from genomic data (Voight et al. 2006; Zeng et al. 2006; Huff et al. 2010; Ma et al. 2015; Vatsiou et al. 2016). To understand the relative contribution of selection to the mechanisms of evolution, we also focused on the power conditioned on the timing when selection started. Through this study, it was shown that each neutrality test has different feasible conditions: the timing and strength of selection. It was also shown that each test detected selections within a limited parameter range. This means that we can observe only a limited part of the sweeps actually occurred. For example, Tajima's D is useful for detecting adaptations that occur within a certain time range and reach some high frequency. Fay and Wu's H, rEHH, and iHS are only useful for recent adaptation for a limited range of Ns. Sabeti et al. (2006) roughly estimated the time range that these tests can detect selections: Tajima's D detects selection within 250,000 years; Fay and Wu's H detects selection within 80,000 years; and rEHH and iHS detect selections within 30,000 years, while admitting that many instances of selection are not likely to be detected by any currently proposed methods. Our results basically agree with these estimations; these tests detect selection within roughly 100,000 years (1 in a unit of N generations). Furthermore, this study clarified the combinations of parameters for which detections are possible. Thus, it was shown that selections detectable by each method are confined to a limited number of candidates that occurred in a certain parameter combination.
As previously suggested (Sabeti et al. 2006), some sweeps cannot be detected with current tests that utilize within-population polymorphism data. For example, it is still difficult to detect recent weak selections. Although rEHH and iHS detect recent sweeps relatively efficiently, they cannot detect adaptations once the selected alleles are fixed in a population. Tajima's D can detect selection even after fixation; however, its detectable time range is still limited. Thus, it should be noted that many true sweeps were absent from the previous empirical studies that used those tests to detect adaptions. Selection of segregating SNP at moderate frequencies can reasonably be detected (Fig. 1; Voight et al. 2006; Ferrer-Admetlla et al. 2014); however, it should be noted that these detections are nothing but a snapshot of adaptive alleles occurring during the course of evolution. It was demonstrated that selection that had started before the bottleneck was difficult to detect. Crisci et al. (2013) and Pavlidis and Alachiotis (2017) evaluated type 1 and 2 error rates of SFS-based methods (SweepFinder, SweeD, and SweepFinder2) and LD-based methods (OmegaPlus, iHS) under ranges of bottleneck models. However, how the timing of a bottleneck affects the evolutionary period when selection can be detected was not evaluated. We showed that not only type 2 error increases due to a recent bottleneck but also more specifically selection after a recent bottleneck is hard to detect. These results are consistent with a previous study (Schlamp et al. 2016). They showed that iHS is less accurate than other haplotype-based tests (H12 and H) and SFS-based tests (Composite likelihood ratio test and Tajima's D) in identifying selective sweeps by analyzing domesticated dogs, since they experienced recent bottlenecks during the process of domestication. We demonstrated that this is actually the case because selected alleles are easily fixed and iHS cannot detect those completed sweeps when a population experienced a recent bottleneck.
In empirical studies, several points should be noted. As we showed, some effects of demography on power can be mitigated by using null distribution generated under the correct demography. However, since the true demography is usually unknown, an inferred demographic history must be used. It should be noted that estimation error in inferring demographic history would result in an increase in false positives or a decrease in power. In addition, the target site is usually unknown in empirical studies. If tests are conducted for a close but different site, they will show even less power than if they were conducted on the true target site.
Because the neutrality tests investigated in this study do not have uniform sensitivity over the entire parameter range, it must be noted that the detection results do not necessarily reflect the true history of adaptation. One way to overcome this issue is to incorporate test statistics utilizing divergence between populations. Since those tests will detect selection even after the fixation of advantageous alleles (Lewontin and Krakauer 1973; Weir and Cockerham 1984; Akey et al. 2002; Kimura et al. 2007; Sabeti et al. 2007; Tang et al. 2007; Chen et al. 2010), a combination of tests utilizing within-population statistics and between population statistics may work complementarily (Grossman et al. 2010; Grossman et al. 2013; Utsunomiya et al. 2013; Ma et al. 2015; González-Rodríguez et al. 2016). Another possible way to overcome this issue is to integrate test statistics into inference methods, such as approximate Bayesian computation and machine learning (ML) framework, because different statistics perform differently depending on the parameters. In the previous studies, ML methods utilizing within-population statistics as feature values have been developed (Ronen et al. 2013; Schrider and Kern 2016; Schrider and Kern 2018) and indeed showed higher power than that of test based on a single statistic (Ronen et al. 2013). However, the aim of ML methods is to predict and classify genomic regions accurately rather than to understand the role of evolutionary processes. On the contrary, investigating the power of each test statistic can uniquely contribute to the understating of the relationship between the pattern of genomic diversity and evolutionary processes.
In this study, we did not investigate the effects of window sizes on power. As previous study showed, window size certainly changes the performance of tests (Ferrer-Admetlla et al. 2014). In fact, some machine learning methods vary window sizes to maximize the power (Caldas et al. 2022; Elise Lauterbur et al. 2022). For SFS-based methods, a larger window size may increase the power for detecting recent selection if there is less recombination because the signature of selection remains on the broader region. On the contrary, a larger window size may cause a reduction in power for old selection because recombination events narrow down homozygous regions for selected allele. Because the relationship between the window size and power is complicated by the effects of many parameters, comprehensive investigation will be required. The detection of other types of selection, such as balancing selection (Charlesworth 2006; Fijarczyk and Babik 2015; de Filippo et al. 2016) and polygenic adaptation (Latta 1998; Le Corre and Kremer 2012; Berg and Coop 2014), is another issue. In the case of polygenic adaptations, it is expected that the shift in allele frequency becomes smaller than that of hard sweep (Barghi and Schlötterer 2020); therefore, it is much more difficult to detect. These issues should be also resolved in future studies.
Supplementary Material
Contributor Information
Tomotaka Tanaka, Graduate School of System Life Science, Kyushu University, Fukuoka 819-0395, Japan.
Toshiyuki Hayakawa, Graduate School of System Life Science, Kyushu University, Fukuoka 819-0395, Japan; Faculty of Arts and Science, Kyushu University, Fukuoka 819-0395, Japan.
Kosuke M Teshima, Department of Biology, Faculty of Science, Kyushu University, Fukuoka 819-0395, Japan.
Data availability
Code used to generate the simulated data can be found at https://github.com/ttomo3535/power_of_neutrality_tests. Supplementary Material is available at figshare: https://doi.org/10.25387/g3.23659659.
Funding
This work was supported by JSPS KAKENHI Grant Numbers JP19K06782 and JP23K05866.
Literature cited
- Akey JM, Zhang G, Zhang K, Jin L, Shriver MD. Interrogating a high-density SNP map for signatures of natural selection. Genome Res. 2002;12(12):1805–1814. doi: 10.1101/gr.631202. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Barghi N, Schlötterer C. Distinct patterns of selective sweep and polygenic adaptation in evolve and resequence studies. Genome Biol Evol. 2020;12(6):890–904. doi: 10.1093/gbe/evaa073. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Berg JJ, Coop G. A population genetic signal of polygenic adaptation. PLoS Genet. 2014;10(8):e1004412. doi: 10.1371/journal.pgen.1004412. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Caldas IV, Clark AG, Messer PW. Inference of selective sweep parameters through supervised learning. bioRxiv 500702. 10.1101/2022.07.19.500702, 19 July 2022, preprint: not peer reviewed. [DOI]
- Charlesworth D. Balancing selection and its effects on sequences in nearby genome regions. PLoS Genet. 2006;2(4):e64. doi: 10.1371/journal.pgen.0020064. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Chen H, Patterson N, Reich D. Population differentiation as a test for selective sweeps. Genome Res. 2010;20(3):393–402. doi: 10.1101/gr.100545.109. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Crisci JL, Poh YP, Mahajan S, Jensen JD. The impact of equilibrium assumptions on tests of selection. Front Genet. 2013;4:235. doi: 10.3389/fgene.2013.00235. [DOI] [PMC free article] [PubMed] [Google Scholar]
- de Filippo C, Key FM, Ghirotto S, Benazzo A, Meneu JR, Weihmann A, NISC Comparative Sequence Program, Parra G, Green ED, Andrés AM. Recent selection changes in human genes under long-term balancing selection. Mol Biol Evol. 2016;33(6):1435–1447. doi: 10.1093/molbev/msw023. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Depaulis F, Mousset S, Veuille M. Power of neutrality tests to detect bottlenecks and hitchhiking. J Mol Evol. 2003;57 Suppl 1:S190–S200. doi: 10.1007/s00239-003-0027-y. [DOI] [PubMed] [Google Scholar]
- Ekblom R, Galindo J. Applications of next generation sequencing in molecular ecology of non-model organisms. Heredity (Edinb). 2011;107(1):1–15. doi: 10.1038/hdy.2010.152. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Elise Lauterbur M, Munch K, Enard D. Versatile detection of diverse selective sweeps with Flex-sweep. bioRxiv 516494. 10.1101/2022.11.15.516494. 15 November 2022, preprint: not peer reviewed. [DOI] [PMC free article] [PubMed]
- Ellegren H. Genome sequencing and population genomics in non-model organisms. Trends Ecol Evol. 2014;29(1):51–63. doi: 10.1016/j.tree.2013.09.008. [DOI] [PubMed] [Google Scholar]
- Fan S, Hansen ME, Lo Y, Tishkoff SA. Going global by adapting local: a review of recent human adaptation. Science. 2016;354(6308):54–59. doi: 10.1126/science.aaf5098. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Fay JC, Wu CI. Hitchhiking under positive Darwinian selection. Genetics. 2000;155(3):1405–1413. doi: 10.1093/genetics/155.3.1405. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Ferrer-Admetlla A, Liang M, Korneliussen T, Nielsen R. On detecting incomplete soft or hard selective sweeps using haplotype structure. Mol Biol Evol. 2014;31(5):1275–1291. doi: 10.1093/molbev/msu077. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Fijarczyk A, Babik W. Detecting balancing selection in genomes: limits and prospects. Mol Ecol. 2015;24(14):3529–3545. doi: 10.1111/mec.13226. [DOI] [PubMed] [Google Scholar]
- Fu YX. Statistical tests of neutrality of mutations against population growth, hitchhiking and background selection. Genetics. 1997;147(2):915–925. doi: 10.1093/genetics/147.2.915. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Garud NR, Messer PW, Buzbas EO, Petrov DA. Recent selective sweeps in North American Drosophila melanogaster show signatures of soft sweeps. PLoS Genet. 2015;11(2):e1005004. doi: 10.1371/journal.pgen.1005004. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Gautier M, Klassmann A, Vitalis R. Rehh 2.0: a reimplementation of the R package rEHH to detect positive selection from haplotype structure. Mol Ecolgy Resour. 2017;17(1):78–90. doi: 10.1111/1755-0998.12634. [DOI] [PubMed] [Google Scholar]
- González-Rodríguez A, Munilla S, Mouresan EF, Cañas-Álvarez JJ, Díaz C, Piedrafita J, Altarriba J, Baro JÁ, Molina A, Varona L. On the performance of tests for the detection of signatures of selection: a case study with the Spanish autochthonous beef cattle populations. Genet Sel Evol. 2016;48(1):81. doi: 10.1186/s12711-016-0258-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Goodwin S, McPherson JD, McCombie WR. Coming of age: ten years of next-generation sequencing technologies. Na Rev Genet. 2016;17(6):333–351. doi: 10.1038/nrg.2016.49. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Grossman SR, Andersen KG, Shlyakhter I, Tabrizi S, Winnicki S, Yen A, Park DJ, Griesemer D, Karlsson EK, Wong SH, et al. Identifying recent adaptations in large-scale genomic data. Cell. 2013;152(4):703–713. doi: 10.1016/j.cell.2013.01.035. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Grossman SR, Shlyakhter I, Karlsson EK, Byrne EH, Morales S, Frieden G, Hostetter E, Angelino E, Garber M, Zuk O, et al. A composite of multiple signals distinguishes causal variants in regions of positive selection. Science. 2010;327(5967):883–886. doi: 10.1126/science.1183863. [DOI] [PubMed] [Google Scholar]
- Hawks J, Wang ET, Cochran GM, Harpending HC, Moyzis RK. Recent acceleration of human adaptive evolution. Proc Natl Acad Sci U S A. 2007;104(52):20753–20758. doi: 10.1073/pnas.0707650104. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Hermisson J, Pennings PS. Soft sweeps and beyond: understanding the patterns and probabilities of selection footprints under rapid adaptation. Methods Ecol Evol. 2017;8:700–716. doi: 10.1111/2041-210X.12808. [DOI] [Google Scholar]
- Hudson RR. Generating samples under a Wright–Fisher neutral model of genetic variation. Bioinformatics. 2002;18(2):337–338. doi: 10.1093/bioinformatics/18.2.337. [DOI] [PubMed] [Google Scholar]
- Huff CD, Harpending HC, Rogers AR. Detecting positive selection from genome scans of linkage disequilibrium. BMC Genomics. 2010;11(1):8. Published 2010 Jan 5. doi: 10.1186/1471-2164-11-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Innan H, Kim Y. Pattern of polymorphism after strong artificial selection in a domestication event. Proc Natl Acad Sci U S A. 2004;101(29):10667–10672. doi: 10.1073/pnas.0401720101. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Kimura R, Fujimoto A, Tokunaga K, Ohashi J. A practical genome scan for population-specific strong selective sweeps that have reached fixation. PloS One. 2007;2(3):e286. doi: 10.1371/journal.pone.0000286. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Latta RG. Differentiation of allelic frequencies at quantitative trait loci affecting locally adaptive traits. Am Nat. 1998;151(3):283–292. doi: 10.1086/286119. [DOI] [PubMed] [Google Scholar]
- Le Corre V, Kremer A. The genetic differentiation at quantitative trait loci under local adaptation. Mol Ecol. 2012;21(7):1548–1566. doi: 10.1111/j.1365-294X.2012.05479.x. [DOI] [PubMed] [Google Scholar]
- Lewontin RC, Krakauer J. Distribution of gene frequency as a test of the theory of the selective neutrality of polymorphisms. Genetics. 1973;74(1):175–195. doi: 10.1093/genetics/74.1.175. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Li H. A new test for detecting recent positive selection that is free from the confounding impacts of demography. Mol Biol Evol. 2011;28(1):365–375. doi: 10.1093/molbev/msq211. [DOI] [PubMed] [Google Scholar]
- Li H, Durbin R. Inference of human population history from individual whole-genome sequences. Nature. 2011;475(7357):493–496. doi: 10.1038/nature10231. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Li J, Li H, Jakobsson M, Li S, Sjödin P, Lascoux M. Joint analysis of demography and selection in population genetics: where do we stand and where could we go? Mol Ecol. 2012;21(1):28–44. doi: 10.1111/j.1365-294X.2011.05308.x. [DOI] [PubMed] [Google Scholar]
- Ma Y, Ding X, Qanbari S, Weigend S, Zhang Q, Simianer H. Properties of different selection signature statistics and a new strategy for combining them. Heredity (Edinb). 2015;115(5):426–436. doi: 10.1038/hdy.2015.42. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Nielsen R. Molecular signatures of natural selection. Annu Rev Genet. 2005;39(1):197–218. doi: 10.1146/annurev.genet.39.073003.112420. [DOI] [PubMed] [Google Scholar]
- Nielsen R, Hellmann I, Hubisz M, Bustamante C, Clark AG. Recent and ongoing selection in the human genome. Nat Rev Genet. 2007;8(11):857–868. doi: 10.1038/nrg2187. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Pavlidis P, Alachiotis N. A survey of methods and tools to detect recent and strong positive selection. J Biol Res (Thessalon). 2017;24(1):7. doi: 10.1186/s40709-017-0064-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Peter BM, Huerta-Sanchez E, Nielsen R. Distinguishing between selective sweeps from standing variation and from a de novo mutation. PLoS Genet. 2012;8(10):e1003011. doi: 10.1371/journal.pgen.1003011. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Przeworski M, Coop G, Wall JD. The signature of positive selection on standing genetic variation. Evolution. 2005;59(11):2312–2323. doi: 10.1554/05-273.1. [DOI] [PubMed] [Google Scholar]
- Ramírez-Soriano A, Ramos-Onsins SE, Rozas J, Calafell F, Navarro A. Statistical power analysis of neutrality tests under demographic expansions, contractions and bottlenecks with recombination. Genetics. 2008;179(1):555–567. doi: 10.1534/genetics.107.083006. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Ramos-Onsins SE, Rozas J. Statistical properties of new neutrality tests against population growth. Mol Biol Evol. 2002;19(12):2092–2100. doi: 10.1093/oxfordjournals.molbev.a004034. [DOI] [PubMed] [Google Scholar]
- Rees JS, Castellano S, Andrés AM. The genomics of human local adaptation. Trends Genet. 2020;36(6):415–428. doi: 10.1016/j.tig.2020.03.006. [DOI] [PubMed] [Google Scholar]
- Ronen R, Udpa N, Halperin E, Bafna V. Learning natural selection from the site frequency spectrum. Genetics. 2013;195(1):181–193. doi: 10.1534/genetics.113.152587. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Sabeti PC, Reich DE, Higgins JM, Levine HZ, Richter DJ, Schaffner SF, Gabriel SB, Platko JV, Patterson NJ, McDonald GJ, et al. Detecting recent positive selection in the human genome from haplotype structure. Nature. 2002;419(6909):832–837. doi: 10.1038/nature01140. [DOI] [PubMed] [Google Scholar]
- Sabeti PC, Schaffner SF, Fry B, Lohmueller J, Varilly P, Shamovsky O, Palma A, Mikkelsen TS, Altshuler D, Lander ES. Positive natural selection in the human lineage. Science. 2006;312(5780):1614–1620. doi: 10.1126/science.1124309. [DOI] [PubMed] [Google Scholar]
- Sabeti PC, Varilly P, Fry B, Lohmueller J, Hostetter E, Cotsapas C, Xie X, Byrne EH, McCarroll SA, Gaudet R, et al. Genome-wide detection and characterization of positive selection in human populations. Nature. 2007;449(7164):913–918. doi: 10.1038/nature06250. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Savolainen O, Lascoux M, Merilä J. Ecological genomics of local adaptation. Nat Rev Genet. 2013;14(11):807–820. doi: 10.1038/nrg3522. [DOI] [PubMed] [Google Scholar]
- Schaffner SF, Foo C, Gabriel S, Reich D, Daly MJ, Altshuler D. Calibrating a coalescent simulation of human genome sequence variation. Genome Res. 2005;15(11):1576–1583. doi: 10.1101/gr.3709305. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Schlamp F, van der Made J, Stambler R, Chesebrough L, Boyko AR, Messer PW. Evaluating the performance of selection scans to detect selective sweeps in domestic dogs. Mol Ecol. 2016;25(1):342–356. doi: 10.1111/mec.13485. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Schrider DR, Kern AD. S/HIC: robust identification of soft and hard sweeps using machine learning. PLoS Genet. 2016;12(3):e1005928. doi: 10.1371/journal.pgen.1005928. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Schrider DR, Kern AD. Soft sweeps are the dominant mode of adaptation in the human genome. Mol Biol Evol. 2017;34(8):1863–1877. doi: 10.1093/molbev/msx154. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Schrider DR, Kern AD. Supervised machine learning for population genetics: a new paradigm. Trends Genet. 2018;34(4):301–312. doi: 10.1016/j.tig.2017.12.005. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Shendure J, Balasubramanian S, Church GM, Gilbert W, Rogers J, Schloss JA, Waterston RH. DNA Sequencing at 40: past, present and future. Nature. 2017;550(7676):345–353. doi: 10.1038/nature24286. [DOI] [PubMed] [Google Scholar]
- Simonsen KL, Churchill GA, Aquadro CF. Properties of statistical tests of neutrality for DNA polymorphism data. Genetics. 1995;141(1):413–429. doi: 10.1093/genetics/141.1.413. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Tajima F. Statistical method for testing the neutral mutation hypothesis by DNA polymorphism. Genetics. 1989;123(3):585–595. doi: 10.1093/genetics/123.3.585. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Tang K, Thornton KR, Stoneking M. A new approach for using genome scans to detect recent positive selection in the human genome. PLoS Biol. 2007;5(7):e171. doi: 10.1371/journal.pbio.0050171. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Teshima KM, Innan H. mbs: modifying Hudson’s ms software to generate samples of DNA sequences with a biallelic site under selection. BMC Bioinformatics. 2009;10(1):166. doi: 10.1186/1471-2105-10-166. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Utsunomiya YT, Pérez O’Brien AM, Sonstegard TS, Van Tassell CP, do Carmo AS, Mészáros G, Sölkner J, Garcia JF. Detecting loci under recent positive selection in dairy and beef cattle by combining different genome-wide scan methods. PloS One. 2013;8(5):e64280. doi: 10.1371/journal.pone.0064280. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Vatsiou AI, Bazin E, Gaggiotti OE. Detection of selective sweeps in structured populations: a comparison of recent methods. Mol Ecol. 2016;25(1):89–103. doi: 10.1111/mec.13360. [DOI] [PubMed] [Google Scholar]
- Vitti JJ, Grossman SR, Sabeti PC. Detecting natural selection in genomic data. Annu Rev Genet. 2013;47(1):97–120. doi: 10.1146/annurev-genet-111212-133526. [DOI] [PubMed] [Google Scholar]
- Voight BF, Kudaravalli S, Wen X, Pritchard JK. A map of recent positive selection in the human genome. PLoS Biol. 2006;4(3):e72. doi: 10.1371/journal.pbio.0040072. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Weigand H, Leese F. Detecting signatures of positive selection in non-model species using genomic data. Zool J Linn Soc. 2018;184(2):528–583. doi: 10.1093/zoolinnean/zly007. [DOI] [Google Scholar]
- Weir BS, Cockerham CC. Estimating F-statistics for the analysis of population structure. Evolution. 1984;38(6):1358–1370. [DOI] [PubMed] [Google Scholar]
- Xiang-Yu J, Yang Z, Tang K, Tang K. Revisiting the false positive rate in detecting recent positive selection. Quant Biol. 2016;4(3):207–216. doi: 10.1007/s40484-016-0077-y. [DOI] [Google Scholar]
- Zeng K, Fu YX, Shi S, Wu CI. Statistical tests for detecting positive selection by utilizing high-frequency variants. Genetics. 2006;174(3):1431–1439. doi: 10.1534/genetics.106.061432. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Zhai W, Nielsen R, Slatkin M. An investigation of the statistical power of neutrality tests based on comparative and population genetic data. Mol Biol Evol. 2009;26(2):273–283. doi: 10.1093/molbev/msn231. [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
Code used to generate the simulated data can be found at https://github.com/ttomo3535/power_of_neutrality_tests. Supplementary Material is available at figshare: https://doi.org/10.25387/g3.23659659.







