A method for identifying spatially divergent selection in structured populations

preprint OA: closed
📄 Open PDF Full text JSON View at publisher

Abstract

Species occupy diverse, heterogeneous environments, which expose populations to spatially varied selective pressures. Populations in different environments can diverge due to local adaptation. However, neutral evolution can also drive population divergence. Thus, testing for local adaptation requires a neutral baseline for population differentiation. The classical Q ST - F ST comparison was developed for this purpose. Yet, Q ST - F ST frequently fails to account for the complexities of population structure because the theory underlying this comparison assumes that all subpopulations are equally related, resulting in inflated false positive rates in metapopulations that deviate from the island model. To address this limitation we use estimates of between- and within-population relatedness to model population structure. Using those relatedness matrices, we infer the between- and within-population ancestral additive genetic variances under a mixed-effects model. Under neutrality, these inferred variances are expected to be equal. We propose here a test to detect selection based on the comparison of these two estimates of the ancestral variance and we compare its performance with earlier solutions. We find our method is well calibrated across various population structures and has high power to detect adaptive divergence. Author summary Populations of the same species often face different environmental pressures, driving them to adapt locally. However, even in the absence of adaptation, subpopulations can diverge due to random genetic drift and limited migration. Distinguishing between adaptive evolution and random divergence is a central challenge in evolutionary biology. Traditional methods, such as Q ST – F ST comparison, assume equal relatedness among subpopulations—a simplification that rarely holds in complex real-world scenarios, leading to flawed conclusions. To overcome this limitation, we developed a novel method that incorporates genetic relatedness among subpopulations, leveraging quantitative genetic theory to estimate ancestral additive genetic variances. Our approach provides a powerful tool for testing local adaptation, reliably distinguishing adaptive divergence from drift across a variety of population structures.
Full text 64,020 characters · extracted from preprint-html · click to expand
A method for identifying spatially divergent selection in structured populations | bioRxiv /* */ /* */ <!-- <!-- /*! * yepnope1.5.4 * (c) WTFPL, GPLv2 */ (function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-M677548'); Skip to main content Home About Submit ALERTS / RSS Search for this keyword Advanced Search New Results A method for identifying spatially divergent selection in structured populations View ORCID Profile Isabela do O , View ORCID Profile Oscar Gaggiotti , View ORCID Profile Pierre de Villemereuil , View ORCID Profile Jerome Goudet doi: https://doi.org/10.1101/2025.02.23.639751 Isabela do O 1 Department of Ecology and Evolution, University of Lausanne , Lausanne, Vaud, Switzerland Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Isabela do O For correspondence: isabela.doo{at}unil.ch jerome.goudet{at}unil.ch Oscar Gaggiotti 5 Centre for Biological Diversity, School of Biology, St Andrews University , St. Andrews, Scotland Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Oscar Gaggiotti Pierre de Villemereuil 3 Institut de Systématique, Évolution, Biodiversité (ISYEB), École Pratique des Hautes Études, PSL University , MNHN, CNRS, SU, UA, Paris, France 4 Institut Universitaire de France (IUF) , France Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Pierre de Villemereuil Jerome Goudet 1 Department of Ecology and Evolution, University of Lausanne , Lausanne, Vaud, Switzerland 2 Swiss Institute of Bioinformatics, University of Lausanne , Lausanne, Vaud, Switzerland Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Jerome Goudet For correspondence: isabela.doo{at}unil.ch jerome.goudet{at}unil.ch Abstract Full Text Info/History Metrics Preview PDF Abstract Species occupy diverse, heterogeneous environments, which expose populations to spatially varied selective pressures. Populations in different environments can diverge due to local adaptation. However, neutral evolution can also drive population divergence. Thus, testing for local adaptation requires a neutral baseline for population differentiation. The classical Q ST - F ST comparison was developed for this purpose. Yet, Q ST - F ST frequently fails to account for the complexities of population structure because the theory underlying this comparison assumes that all subpopulations are equally related, resulting in inflated false positive rates in metapopulations that deviate from the island model. To address this limitation we use estimates of between- and within-population relatedness to model population structure. Using those relatedness matrices, we infer the between- and within-population ancestral additive genetic variances under a mixed-effects model. Under neutrality, these inferred variances are expected to be equal. We propose here a test to detect selection based on the comparison of these two estimates of the ancestral variance and we compare its performance with earlier solutions. We find our method is well calibrated across various population structures and has high power to detect adaptive divergence. Author summary Populations of the same species often face different environmental pressures, driving them to adapt locally. However, even in the absence of adaptation, subpopulations can diverge due to random genetic drift and limited migration. Distinguishing between adaptive evolution and random divergence is a central challenge in evolutionary biology. Traditional methods, such as Q ST – F ST comparison, assume equal relatedness among subpopulations—a simplification that rarely holds in complex real-world scenarios, leading to flawed conclusions. To overcome this limitation, we developed a novel method that incorporates genetic relatedness among subpopulations, leveraging quantitative genetic theory to estimate ancestral additive genetic variances. Our approach provides a powerful tool for testing local adaptation, reliably distinguishing adaptive divergence from drift across a variety of population structures. Introduction Species are generally distributed in heterogeneous environments. Over time, subpopulations exposed to different environments diverge genetically and phenotypically due to genetic drift, natural selection, and limited gene flow. Environmentally divergent subpopulations are likely to be subjected to different selective pressures, promoting their adaptive divergence. At the same time, distant subpopulations are more isolated, leading to their neutral differentiation [ Lande, 1992 ]. Thus, before concluding that the observed difference is adaptive, one must first reject the hypothesis of neutral divergence by establishing a theoretically justified neutral expectation [Lynch et al., 1998]. F ST , the fixation index, is a classic measure used to quantify genetic differentiation among populations. For neutral loci, the degree of differentiation between subpopulations measured by F ST depends on the demographic parameters of the population, such as the effective population size and migration rates. When selection is at play, F ST for the loci under selection will also depend on the strength and mode of selection. When selection acting on a locus is similar across environments (e.g. balancing selection) F ST will be lower at this locus compared to neutral loci. When selection varies across subpopulations (e.g. local adaptation), then the selected locus will have a larger F ST in comparison to neutral loci. Many traits of adaptive significance, such as morphological [ Dittberner et al., 2018 ], physiological [Côte et al., 2016] and fitness-related [ de Miguel et al., 2022 ] phenotypes, are quantitative traits and result from the interaction of multiple genes [ Fisher, 1999 , Lynch et al., 1998, Pritchard and Di Rienzo, 2010 ]. In this context of polygenic adaptation, F ST measured for neutral loci serves as the null expectation. For these traits, the standard procedure is to compare F ST with its quantitative analogue, Q ST , which describes the proportion of additive genetic variance between subpopulations relative to the total additive genetic variance [ Spitze, 1993 ]: V B represents the between-population additive genetic variance, and V W is the within-population additive genetic variance. Since Q ST is based on additive genetic variances, its estimation rests on being able to use controlled breeding designs and environmental effects [ Pujol et al., 2008 ]. Under the assumption that the investigated trait is neutral, we expect Q ST to be equal, on average, to F ST . If Q ST > F ST , it suggests adaptive divergence, while Q ST < F ST may imply balancing selection [ Spitze, 1993 , Leinonen et al., 2013 ]. However, Q ST estimates are subject to significant uncertainty and potential biases. First, ratio estimates, like Q ST , can be biased since the expected value of a ratio differs from the ratio of expectations [ O’Hara and Merila, 2005 ]. Second, the number of subpopulations considered strongly affects the reliability of Q ST estimates, with fewer populations sampled increasing the variability and reducing the power of the statistic [Goudet and Büchi, 2006, Whitlock, 2008 ]. Because of the high variability of Q ST − F ST comparisons [ Whitlock, 2008 ] proposed that instead of relying on a direct comparison between the two statistics, one should find where Q ST − F ST falls in the expected neutral distribution of Q ST − F ST values. Building on this, Whitlock and Guillaume [2009] developed a simulation-based approach to test whether Q ST is consistent with neutral divergence by comparing the observed Q ST − F ST to a simulated distribution of the neutral expectation. This expected neutral distribution is generated using parametric bootstrapping, drawing from a χ 2 distribution following approximations by Lewontin and Krakauer [1973]. While the improvement of the Q ST − F ST method proposed by Whitlock and Guillaume [2009] reduces the false positive rate (FPR), it still assumes an isotropic population structure. For example, when considering instead a stepping-stone model, the p -values do not follow the expected distribution under neutrality, resulting in a non-calibrated test [ Koch, 2019 , de Villemereuil et al., 2022 ]. As highlighted in de Villemereuil et al. [2022], the main issue lies in how between-population variance ( V B ) is estimated in these models. Typically, V B is derived from a mixed-effects model where population-level random effects are treated as independent, assuming equal relatedness between all subpopulations. This isotropic assumption does not hold for most natural populations, which often have complex genealogical relationships and migration patterns, leading to the lack of calibration reported above. To address this, Ovaskainen et al. [2011] proposed a model based on between- and within-population coancestry to estimate additive genetic variance accounting for non-uniform migration and drift patterns. The coancestry between two populations is the average coancestry between all pairs of individuals from those two populations, and the coancestry between pairs of individuals is the probability that randomly sampled alleles from these individuals are identical by descent (IBD). Ovaskainen et al. [2011] method extends the animal model to the metapopulation level, using coancestry to reflect genealogical relationships between subpopulations. They assume that all studied populations trace back to a common ancestral population. By accounting for population structure, their method provides a more accurate estimation of neutral expectations. Nevertheless, Ovaskainen et al. [2011] solution still relies on a metapopulation model with specific assumptions, the admixture F-model [ Karhunen and Ovaskainen, 2012 ], which has been shown to suffer from issues in estimating coancestries [ Goudet and Weir, 2023 ]. Besides, it is still unknown whether the test Ovaskainen et al . developed can be considered calibrated, given that it does not provide a null-hypothesis framework per se . In this study, we introduce LogAV, a new method for testing the null hypothesis of neutral divergence by comparing the log-ratio of two estimates of the same ancestral additive genetic variance: one derived from a between-population effect and the other from a within-population effect. We then evaluate this method along with both Whitlock and Guillaume [2009]’s method and the Driftsel approach [ Karhunen et al., 2013 ] which implements Ovaskainen et al. [2011] ideas. We assess the performance of LogAV through simulations of neutrally evolving populations, considering a range of population structures, including highly non-isotropic configurations. We found LogAV well calibrated for all tested population structures and able to detect selection when present. LogAV description LogAV is designed to test whether neutral processes alone can account for the observed divergence between related subpopulations of a metapopulation. We assume that all studied subpopulations originated from a single, panmictic, ancestral population, and through a process of divergence and restricted gene flow, their genetic diversity becomes spatially structured. As shown by Ovaskainen et al. [2011], it is possible to write an inferential model to estimate the expected ancestral additive variance ( V A ) under neutrality. We define the ancestral additive genetic variance V A as the additive genetic variance in the quantitative trait that existed in the ancestral population. This model provides a baseline for understanding the contributions of neutral processes and selection to the current genetic makeup of each subpopulation. Our approach examines the historical processes that occurred as they diverged from their common ancestor, as well as the ongoing evolutionary process, including current migration patterns and inbreeding. In quantitative genetics, an animal model is generally used to estimate additive genetic variance. This model partitions phenotypic variance into different genetic and environmental components. To quantify the covariance of genetic effects between individuals, this model depends on the use of an individual-level relatedness matrix. Extending this principle to structured populations requires quantifying relationships between subpopulations as well as between individuals within those subpopulations [ Ovaskainen et al., 2011 ]. Demographic history and spatial metapopulation configuration influence the distribution of genetic variation, which affects additive genetic variance within and between subpopulations. Thus, any test of local adaptation requires that the neutral differentiation baseline used accounts for these effects. LogAV estimates V A in two separate ways: using the between-population and the within-population coancestries. We then compare these two estimates of the additive ancestral variance. We used a method of moment estimator of coancestries [ Goudet and Weir, 2023 ] to measure (i) kinship within subpopulations and infer ancestral variance from within-population variance, and (ii) mean kinship between subpopulations and infer ancestral variance from between-populations variance. Since the mathematical framework is constructed to reference the same coalescence tree, it accurately represents the segregation of alleles associated with the same variance. Thus, in the absence of selection, both variances should be equal. To illustrate the concepts above, let us first consider a scenario involving two subpopulations. In this simple case, we can use F ST to characterize the population structure of our metapopulation to establish the expected relationship under neutrality between the current genetic variances and the ancestral genetic variance. Namely, the proportion of the total genetic diversity described by the diversity between subpopulations is 2 F ST , and the remaining proportion, 1 − F ST , is the one within subpopulations. Thus, at the limit of low mutation rate, and under neutrality, we should expect that the between-population additive genetic variance ( V B ) and the within-population additive genetic variance ( V W ) are respectively: and as demonstrated by Whitlock [1999] , and earlier by Wright [1969] . However, as noted by others before [ Weir and Hill, 2002 , Karhunen and Ovaskainen, 2012 , Weir and Goudet, 2017 ] F ST is a global summary parameter that does not capture differences in demographic histories among subpopulations under complex population structures. These differences in demography could be for example variation in population size, different branching times between subpopulations, and variation in migration rates between pairs of subpopulations. To capture the complexity of more biologically relevant population structures, we use a matrix of coancestries Θ p following Ovaskainen et al. [2011], Goudet and Weir [2023]. Θ p contains the expected coancestries between pairs of subpopulations relative to the ancestral population ( Fig 1 ). The superscript “ p ” refers to it being a population-level parameter. Element Θ p describes the probability of IBD between a random pair of alleles, one coming from subpopulations i and the other from subpopulation j . Diagonal elements of Θ p describe such probability for any pair of alleles from distinct individuals within a subpopulation. Θ p accounts for the non-independence between subpopulations, shared evolutionary history, asymmetric migration rates, and differences in population sizes, addressing limitations of using the global summary parameter F ST in unevenly structured metapopulations [ Goudet and Weir, 2023 ]. F ST and Θ p are related as F ST is proportional to the average of the diagonal elements of Θ p : Download figure Open in new tab Fig 1. Cartoon description of Θ p . Given r subpopulations, Θ p will be a r × r matrix. In this figure Θ p is represented in different shades of green describing the average level of coancestry between random alleles sampled from different pairs of subpopulations, with the diagonal being the average of random pairs of alleles from distinct individuals in the same subpopulation. Darker shades in the cells within the matrix represent higher coancestry between the pair of subpopulations being compared. Θ p reflects the past and present demographic metapopulations’ histories and connectivity. where is the average of the off-diagonal elements of Θ p . While Θ p describes average co-ancestries across and within subpopulations, the M matrix [ Fig. 2 , Ovaskainen et al., 2011 ] describes relatedness between pairs of individuals. As it is general practice, we assume no cross-population breeding was performed, and thus that M is a block diagonal matrix [this assumption can be lifted and cross-population breeding accounted for in M , see Ovaskainen et al., 2011 ], i.e. relatedness for pairs of individuals from different subpopulations are already defined with Θ p , so they are set to zero in M . The blocks in M describe the relatedness between all pairs of individuals within the subpopulations, relative to the average relatedness within each subpopulation, and discounting relatedness already accounted for in Θ p . More precisely, M contains, within each subpopulation block x , the relatedness for each pair of individuals in that subpopulation multiplied by 1 − Θ p x,x . Download figure Open in new tab Fig 2. Cartoon description of n T × n T matrix M . Similar to Fig 1 , darker shades describe higher coancestry, but here, the coancestry is measured for each pair of individuals within subpopulations. Without cross-population breeding in the experimental setup, M is a block diagonal matrix. We develop a test where we estimate, in the same statistical model, the ancestral additive variances considering either (i) the variance in mean phenotype between subpopulations ( V A,B ) or (ii) the additive genetic variance in phenotypes within subpopulations V A,W . Under a model of neutral evolution, we expect the two estimates to be equal to the same, unique ancestral additive genetic variance. We thus test the null hypothesis that the two variances are identical: A scenario where V A,B > V A,W would be compatible with local adaptation, while a scenario where V A,B < V A,W would be compatible with balancing selection. Estimation and Framework The use of our method requires phenotypic data of the offspring generation (which we will call F1), neutral genetic markers from the parental (𝒫) generation, and neutral genetic markers or a pedigree for the offspring generation (F1). The neutral genetic markers are used to estimate the relative mean coancestry between all pairs of subpopulations and the relatedness between all pairs of F1 individuals within subpopulations. In figure 3 we illustrate at which point the different matrices are estimated. Download figure Open in new tab Fig 3. Description of expected experimental design to estimate Θ p , M , and z . The second line of this illustrative table, the “Ancestral population” line, describes the assumed ancestral panmictic state all subpopulations derive from. The third line, “Parental generation” (𝒫) describes the studied subpopulations. From these studied subpopulations, individuals are sampled and exposed to a breeding design. At this step Θ p is estimated. On the fourth line, we show the breeding design in the common garden setting used in our simulations: all females are crossed with all males (North Carolina II design) and two offspring from each cross are phenotyped. We estimate M using genotypic (or pedigree information) and phenotypic data from the F1 generation Estimating coancestries using the method of moments We use the allele-sharing method of moments developed by Weir and Goudet [2017], Goudet and Weir [2023] to estimate the co-ancestry, using the minimum allele-sharing between subpopulations as a reference point. We use the method of moments to obtain Θ p and M ( M can also be obtained using pedigree information if available). The allele-sharing-based estimator can be used for species with any ploidy level and makes no assumptions about the mating system [ Goudet and Weir, 2023 ]. For a diploid bi-allelic locus l , allele-sharing A l i,j between two individuals i and j takes a value 1 if they are homozygous for the same allele, 0 if they are homozygous for different alleles, and 1 / 2 if at least one of the two individuals is heterozygous. Over all loci, . To estimate Θ p , we measure allele-sharing among individuals from the parental generation. The estimate is computed as: where is a r × r matrix made of elements , the average allele-sharing A i,j over all distinct pairs of individuals, one from subpopulation x and the other from subpopulation y ; and denotes the minimum off-diagonal entry of [ Goudet and Weir, 2023 ]. This minimum entry is our best proxy for allele-sharing in the ancestral population, we therefore make the mean coancestry entries of relative to the mean coancestry in the ancestral population [see Goudet and Weir, 2023 , Ochoa and Storey, 2021 ]. Next, we need to estimate M , whose elements are the relatedness among the phenotyped individuals ( F 1 ) within each subpopulation discounted for their shared ancestries. To obtain relatedness, with pedigrees within each subpopulation, we could simply use the additive relationship matrix, but we can also make use of genotypic information for these F 1 individuals if it is available, which we assume here. For each subpopulation, we estimate kinship among all parents and F 1 individuals as where is the average allele-sharing among pairs of distinct individuals in the subpopulation [ Goudet et al., 2018 ]. We double the kinship to obtain relatedness. To obtain , the block of the matrix corresponding to subpopulation x , and to account for the shared ancestry of individuals in subpopulation x relative to the ancestral subpopulation, we multiply the relatedness estimates of subpopulation x by the scalar , where is the x th element of the diagonal of . Finally we store all the in a block diagonal matrix (see Fig. 2 ). Linear mixed model We fit a mixed-effects model with the phenotypic trait z as the response variable, accounting for population and individual effects as random-effect components: where µ is the overall phenotypic mean, a p is the population-level additive genetic effect, a i is the individual-level additive genetic effect and ɛ is the residual error. We assume the population-level and the individual-level additive genetic effects follow a multivariate normal distribution with their respective variance-covariance matrices depending on the above-defined co-ancestries and the between-( V A,B ) and within-population ( V A,W ) ancestral additive genetic variances: Note that assuming different ancestral additive genetic variances for a i and a p is another notable departure from Ovaskainen et al. [2011]. Hypothesis Testing We employ a Bayesian framework to estimate the ancestral additive genetic variances We use their posterior distributions to conduct our null hypothesis test, to incorporate uncertainty in the estimates. We test the hypothesis that the two estimates of ancestral variance are equal using the log-ratio of the ancestral variances Log AV , i.e.: The reason for this choice is that a log-ratio is a more natural way of comparing variances than a difference, but note that associated statistical tests would be identical in both cases. From this log-ratio, we compute a Bayesian p -value, quantifying the proportion of the posterior sample where the sign of the log-ratio differs from the median, which has properties close to a frequentist p -value [ Shi and Yin, 2021 ]. Rejecting this null hypothesis would indicate that neutral evolution alone cannot explain the observed pattern of phenotypic divergence. We refer to this method as the “log-ratio of ancestral variance” and abbreviate it as “LogAV”. Method testing with simulated data We evaluated our method through simulations conducted in QuantiNemo2 [ Neuenschwander et al., 2019 ], modeling metapopulations evolving under neutral and selective conditions. Fig 4 illustrates the population structures used for the neutrally evolving metapopulations, along with an example of a coancestry matrix following the expected pattern under neutrality. The simulations were designed to investigate population structures deviating from the standard Island Model, while also varying the number of subpopulations. We chose particularly the 1-dimensional stepping stones to give continuity to the results described in de Villemereuil et al. [2022] where the authors show the issue with the Q ST – F ST based test on a 20 subpopulation 1D stepping stones. For Stepping Stones we show results for two migration rates, leading to F ST of 0.2 and ≈ 0.37. The “139” (read: one, three, nine) population structure was inspired by the structure described by Karhunen et al. [2013] and serves as an example of a hierarchical structure. In this structure one population diverges into three subpopulations which each diverges into three new subpopulations, and the data is sampled from the nine subpopulations at the end of the simulation. Download figure Open in new tab Fig 4. Description of studied neutrally evolving population structures along with an example of the Θ p matrix for neutral markers. In all simulated scenarios, we sampled ten individuals from each parental subpopulation. A common garden breeding design was implemented, wherein five females from each subpopulation were mated with five males, producing two offspring per pair. This yielded 25 families of two offspring, thus 50 offspring per subpopulation. Phenotypes were controlled by 100 bi-allelic loci with identical and fully additive effects across all scenarios, while 2000 neutral markers were simulated for genetic analysis. In the selection scenarios, we used stabilizing selection with a different optimum between two halves of the subpopulations. In the case of the stepping stones structure, subpopulations sharing the same environment were grouped. The specific parameters for each scenario are outlined in Tables 3 and S1 . View this table: View inline View popup Download powerpoint Table 1. Table describing relevant symbols used throughout the description of the method. View this table: View inline View popup Download powerpoint Table 2. Table describing relevant symbols, their dimensions, and definitions used throughout the method. View this table: View inline View popup Download powerpoint Table 3. Parameters used in the different simulated scenarios. To compare Q ST − F ST [ Whitlock and Guillaume, 2009 ] and Driftsel Karhunen et al. [2013] to our method, we focused on the false positive rates, thus we only run these methods over neutrally evolving metapopulations. We analyzed the same set of neutrally evolving metapopulations using the three different methods, Q ST – F ST , Driftsel, and LogAV, and compared their results. By analyzing the methods over 500 replicates of each simulated neutral scenario we obtained distributions of p -values (in the case of Q ST – F ST and LogAV) and S -values (in the case of Driftsel). For our method and Driftsel Karhunen et al. [2013], we used the method of moments Weir and Goudet [2017], Goudet and Weir [2023] to estimate coancestry. We made this choice due to results in [ Goudet and Weir, 2023 ] which show more accurate estimates of coancestry for the method of moments compared to the AFM method Karhunen and Ovaskainen [2012]. Under neutrality, p -values are expected to follow a uniform distribution, which is also the case for our Bayesian p -value [due to the asymptotical convergence of the posterior toward the sampling distribution, see Gelman et al., 2004 , Shi and Yin, 2021 ], thus a threshold of 0.05 should correspond to a false positive rate (FPR) of 5%. The FPR is calculated as the proportion of p -values falling below 0.05. For Driftsel, under neutrality, S -values are expected to follow a normal distribution centered around 0.5 (see Supplementary Information). Following the criteria outlined by [ Karhunen et al., 2013 ], significant S -values are defined as being below 0.2 or above 0.8. Although there is, strictly speaking, no theoretical expectation for what the variance of S should be under the null hypothesis, we choose to conform to the values advocated by [ Karhunen et al., 2013 ] to measure a “realized” false positive rate when using their method. We performed a binomial test to compare the FPR obtained to the expected one. Results Under neutrality, p -values obtained with the log-ratio of ancestral variance method (LogAV) are uniformly distributed for all models of population structure, including those that diverge from the Island Model, and thus yield the expected proportion of significant tests ( Fig. 5 ). Conversely, while being correctly calibrated for the island model of population structure, the Q ST - F ST method and Driftsel show poor behavior under population structures diverging from the Island Model structure. Download figure Open in new tab Fig 5. Summary of the results of analyses conducted on neutrally evolving metapopulations under varying population structures. The first column specifies the population structures examined. Subsequent columns present the outcomes for each method: Q ST – F ST , Driftsel, and LogAV. For Q ST – F ST and LogAV. The results are shown as distributions of p -values, while for Driftsel, the results are presented as distributions of S -values. False positive rates (FPR) significantly deviating from the 5% expectation are marked with asterisks. As previously shown by [ de Villemereuil et al., 2022 ], Q ST – F ST tests have inflated FPR under Stepping Stone population structures. We find they are significantly different 80 times out of 500 ( p -value = 2.2 × 10 − 10 ) when we expect 25 significant results. Similarly, Driftsel results for Stepping Stone ( F ST = 0.35) metapopulations deviate from the distribution expected under neutrality, with inflated empirical FPR (85 significant results out of 500, p -value < 2.2 × 10 − 16 ). Driftsel also exhibits inflated empirical FPR for the hierarchical structure 139 (44 significant results out of 500, p -value = 4.2 × 10 − 4 ). For Stepping stones with lower differentiation between demes, i.e. a metapopulation with average F ST of 0.2, results are qualitatively similar for Q ST – F ST . However, Q ST – F ST tests have even higher FPR. We find significance for 132 replicates out of 500 ( p -value ¡ 2.2 × 10 − 16 ). As of Driftsel, we find lower FPR than the expected 5% in this lower F ST setting, with 15 out of 500. The results for neutrally evolving metapopulations are summarized in Fig. 5 . We also evaluate the LogAV test ability to detect selection. For the selection scenario we have simulated, and for the island and stepping stone models of population structures, the log-ratio of ancestral variance method shows 100% success in detecting selection, as shown in SI ( Figure S2 ). Download figure Open in new tab Fig S1. Comparison between distributions of results of the LogAV method and Q ST – F ST Whitlock and Guillaume [2009] over neutraly evolving simulated metapopulations under Island model, Stepping stones, and 139 structure Download figure Open in new tab Fig S2. Comparison between distributions of results for Island model under neutrality, Island model under selection, Stepping stones under neutrality and Stepping stones under selection. The top figure shows the distribution of the Log-Ratio of , while the bottom figure shows the p -value distribution. Download figure Open in new tab Fig S3. Quantile plots comparing the theoretical expectation under neutrality with the observed distribution for Q ST - F ST . We show the comparison for three neutrally evolving population structures. Download figure Open in new tab Fig S4. Quantile plots comparing the theoretical expectation under neutrality with the observed distribution for Driftsel. We show the comparison for three neutrally evolving population structures. Download figure Open in new tab Fig S5. Quantile plots comparing the theoretical expectation under neutrality with the observed distribution for LogAV. We show the comparison for three neutrally evolving population structures. Discussion In this study, we present LogAV, a novel method based on the log-ratio of ancestral variances to disentangle the effects of selection and neutral evolution on phenotypic differentiation in spatially structured populations. This method builds on the conceptual foundation established by Ovaskainen et al. [2011], who highlighted the importance of incorporating between-population relatedness to estimate phenotypic differentiation. Through simulations, we demonstrate that LogAV is well-calibrated across all tested population structures. These simulations also showed that existing alternatives such as Driftsel and Q ST – F ST , are poorly calibrated under scenarios that assume neutrality and depart from the island model. LogAV’s reliability comes from (i) using coancestry matrices computed via the method of moments [ Weir and Goudet, 2017 , Goudet and Weir, 2023 ], which accurately capture genealogical ties within and between subpopulations; and (ii) using a theoretically justified null hypothesis test framework by comparing two estimates of the ancestral additive genetic variance. This robustness makes it well-suited for real-world use. Real-world metapopulations often deviate significantly from the assumptions of the island model. For instance, [ von Takach et al., 2022 ] documented a metapopulation of quolls ( Dasyurus hallucatus ) in northern Australia characterized by a hierarchical structure, comprising three main clusters with further subclusters nested within each. Similarly, the bat Miniopterus schreibersii demonstrates isolation-by-distance patterns, with additional fine-scale structuring observed within localities Dufresnes et al. [2023]. A good example of how structure can potentially impact studies of local adaptation is found in freshwater snails Galba truncatula . In western Switzerland, these snails were found in a hierarchical population structure. Trouve et al. [2005] found even physically close subpopulations, a few meters apart, showed large differentiation, and the differentiation increased as the distances between subpopulations grew. However, the geographic distance alone was not enough to describe the neutral genetic distance, with some far-away subpopulations being undifferentiated, while a small stream was sufficient to create genetic differentiation between physically close subpopulations. Using the same subpopulations, Chapuis et al. [2007] found Q ST to be significantly larger (on average) than F ST between temporary and permanent habitats, but significantly smaller among subpopulations within habitats. It is possible, however, that these results are due to not accounting for the complex population structure in this system. Studies on local adaptation in a wide range of species have demonstrated that ecological factors strongly influence population structure. For instance, in Daphnia species, differentiation, and genetic diversity strongly depend on habitat size and type [ Haag et al., 2006 , Vanoverbeke et al., 2007 , Walser and Haag, 2012 ]. Consequently, assuming the Island Model for these species may be an oversimplification, which can lead to high false positive rates in tests of local adaptation. Beyond ecology and life history traits, neutral genetic structure in metapopulations can also be shaped by historical events, such as the recolonization of previously isolated populations following glacial cycles or anthropogenic activities, as is documented for instance in the metapopulations of sticklebacks in western North America [ Catchen et al., 2013 ]. These examples underscore the complexity of natural metapopulation structures, where migration rates and genetic connectivity often vary between pairs of subpopulations. Analyzing phenotypic divergence in such systems requires methods capable of accounting for this structural complexity. Our results show that LogAV is robust to varying population structures and should be a reliable method for testing for local adaptation in the aforementioned species. In addition to its good performance under neutrality, the preliminary tests of LogAV using traits under selection are promising. So far, we have observed that LogAV demonstrates high sensitivity to selective scenarios. These results were consistent throughout the two different population structures tested under selection. However, further and more thorough tests, especially considering different selection strengths and sample size, are needed to identify its limits. LogAV should be tested in scenarios that explore the interplay of various parameters, such as migration rates between subpopulations and selection patterns. Tests should include varying both the types of selection patterns and the levels of relatedness, with, for example, closely related populations being exposed to similar selective pressures. It would also be important to assess the method’s performance under varying effective population sizes, particularly in scenarios where some populations have much smaller effective sizes than others. We expect LogAV to be robust to such variations, as the inclusion of population coancestries should capture these differences in effective sizes. Additionally, the impact of sampling effort should be examined: for instance, determining the minimum number of phenotyped individuals and the number of subpopulations. Variations in relatedness within subpopulations due to the breeding systems chosen for the common garden experiments should also be explored to gauge LogAV’s robustness. We also suggest further research to test different scenarios of ancestry. The efficacy of the proposed method depends on accurately estimating the ancestral variance from inferred relatedness, which may be impacted by assumptions of panmixia in the ancestral population. Deviations from this assumption, such as in cases of historical population substructure or admixture events, could bias variance estimates. Substructuring of the ancestral population can lead to incomplete lineage sorting and thus to non-uniform coalescent times, which could impact the estimation of the ancestral additive genetic variance. Future research should investigate to what extent the proposed method is affected by the lack of panmixia in the ancestral population. It is important to mention that other methods have also considered the problem of population structure, and have provided potential solutions considering that little to no information on population of origin and ancestral populations is known. Josephs et al. [2019] proposed a method for detecting local adaptation using principal component analysis of the relatedness matrix. An advantage of LogAV is the more classic statistical test using an analogue of the p -value. Josephs et al. [2019]’s method depends on the user choosing the threshold of their tests, more specifically the cutoff for which PCs represent between- and within-population variance. In that sense LogAV is less subjective. Further, we recognize the relevance of conducting additional research to investigate the effect of genetic architecture on the performance of methods for detecting local adaptation. Liu and Edge [2024] conducted a study that partly addresses this issue by analyzing the impact of genetic architecture on different variations of the Q ST – F ST . Specifically, they tested the impact of varying numbers of loci impacting the trait on the distribution of Q ST . Despite the theoretical expectation of Q ST not depending on the number of loci underlying the phenotype in which the statistic is measured, Liu and Edge [2024] observed that a higher number of loci leads to higher variance in the Q ST distribution. We have not explored the impact of number of loci, and it is also unclear how dominance and epistatic interactions might impact the results of our method. Evidence suggests that the classical Q ST − F ST would be uncalibrated when there is dominance. However, the error direction is not resolved. Goudet and Martin [2007] and Cubry et al. [2017] show that dominance reduces the mean value of Q ST , meaning that dominance makes the Q ST − F ST comparison more conservative for divergent selection. While Lopez-Fanjul et al. [2007] show that under different population structures, Q ST may exceed F ST . Since the empirical effect of dominance on genetic variance needs further investigation as some studies show little influence ( e.g. Hill et al. [2008]) of dominance while others show large influence ( e.g. Class and Brommer [2020]), it is unclear which effects dominance would have on LogAV. Thus, it is not clear what impact dominance could have on our method, which highlights the need for future research to investigate the extent to which our method could be affected by non-additive effects on the studied phenotype. A noteworthy difference between our method and Q ST – F ST is that it is very general regarding the breeding design used within the common garden experiment. In particular, the Q ST – F ST improvements proposed by Whitlock and Guillaume [2009] can be difficult to extend to accommodate breeding designs other than half-sib families. Specifically, their approach is constrained to balanced datasets, wherein offspring are related as half-sibs through shared fathers. Although Gilbert and Whitlock [2015] suggested an extension to unbalanced datasets, further extensions will be restricted to specific cross or nested breeding designs. Similarly to Ovaskainen et al. [2011], our method adopts a framework akin to the animal model, which creates flexibility for the breeding design. Further, and extending the flexibility of Driftsel [ Karhunen et al., 2013 ], the within-population relatedness matrices can be obtained either from pedigree information or, alternatively, from genetic marker data in the F1 generation, enabling accurate estimation of relatedness [ Goudet et al., 2018 ] even when the exact crosses to generate the F1 are unknown, a situation often encountered for investigations in plants, where seeds are sampled from the field and grown in a common garden environment. In summary, our results validate the log-ratio of ancestral variance as a robust method for distinguishing adaptive divergence from neutral processes in structured populations. Its well-calibrated performance across diverse population structures demonstrates that it provides a reliable alternative to Q ST – F ST and Driftsel. We did so by adopting a general framework based on well-established quantitative genetic and statistical principles. From quantitative genetic theory, we derive two distinct approaches to calculate ancestral additive genetic variances, V A , W and V A , B . Then we compare the two estimates of ancestral variance using a log-ratio approach that has been adopted by many hypothesis testing frameworks (e.g., likelihood ratio test) and has proven to be very robust in a wide range of applications requiring the comparison of variances. Supporting information S -statistics results The S -statistic and its behavior under neutrality The S -statistic is a measure proposed by [ Ovaskainen et al., 2011 ] to assess deviations from neutral expectations in population-level effects of quantitative traits. It quantifies how likely the observed pattern of population differentiation described by the estimated population-level random effects ( a p ) given the expected neutral distribution of population-level effects obtained from random realization of the distribution( a p R ). The neutral expectation is modeled as a multivariate normal distribution with covariance structure dependent on the metapopulation-level coancestry matrix ( Θ p ). Then to compute S , we compare the probability density of the observed population-level effects under the neutral expectation to the probability density of random realizations of the neutral model. An S -value close to 1 indicates that the observed pattern is highly unlikely under neutrality, signaling potential selection, whereas S ≃ 0.5 suggests a pattern consistent with neutral expectations. S ≃ 0, indicates that the observed population effects are more consistent than expected under neutrality. Under neutrality, the distribution of S is symmetric around 0.5 because f P ( a P ) and f P ( a P R ) are equally likely to be greater or less than each other. This symmetry arises from the inherent properties of the neutral model, where population-level effects follow a multivariate normal distribution centered on the ancestral mean. Without selection, deviations in either direction (larger or smaller likelihoods for f P ( a P ) compared to f P ( a P R )) occur with equal probability. However, the exact distribution of S under neutrality is not obvious. Asymptotic normality of the posterior mean of S Driftsel Karhunen et al. [2013] estimates S using a Bayesian method that fits the model parameters and generates posterior samples. Since we are using independent replicates of simulated data, each sample provides a different estimate of S , and the mean S-statistic is calculated as the average across the posterior samples. Thus the average of a sufficiently large number of independent and identically distributed random variables approaches a normal distribution, regardless of the underlying distribution of individual variables. Computation of the p -value associated with the LogAV Given the posterior distribution of the log-ratio of ancestral variances P (Log AV | D ) (calling D the total set of data, including information regarding the traits and the co-ancestries), we compute the two-tailed Bayesian p -value associated with the null hypothesis that Log AV = 0 as: where the factor 2 is a scaling factor arising from accounting for the conditional probability of picking one of the probabilities in the minimum function (which happens to be 0.5 under the null hypothesis). Given the asymptotic property that posterior distributions reflect long-term sampling distribution of the estimators, with sufficiently weakly informative priors [ Gelman et al., 2004 ], such constructed p -values tend to behave like frequentist p -values, and especially, to be uniformly distributed [ Shi and Yin, 2021 ]. This is tightly connected to the asymptotic behavior of credible intervals as confidence intervals under similar assumptions [ Gelman et al., 2004 ]. Although long-term frequentist interpretation of such p -values (and null hypothesis testing framework in general) is not the most natural use of Bayesian statistics [ Gelman et al., 2004 ], we chose to use it here because (i) such p -values are easily obtained from a particular model compared to alternatives like information criterium based model selection; (ii) it tracks back with habits established in the field to use null hypothesis testing for Q ST – F ST comparison; and most importantly, (iii) the biological question tackled here fundamentally requires to test the null hypothesis of neutral evolution. Comparison of LogAV and Q ST – F ST results Here we compare the distribution of p -values between LogAV and Q ST – F ST Whitlock and Guillaume [2009] using the same sampled individuals and measured phenotypes. Selection results Simulation parameters per scenario We simulated different demographic and selective scenarios, each run with 500 replicates. All models assumed biallelic loci for both neutral and quantitative trait loci, a mutation rate of µ = 10 − 7 , and freely recombining loci. The trait heritability was h 2 = 0.8. Detailed simulation parameters can be found in S1. Supplementary Materials: Simulation Parameters View this table: View inline View popup Download powerpoint Table S1. Summary of simulation parameters for each scenario. The selection equation applied in the island and stepping stone models under selection was: where W is fitness, P is the trait value, Z opt is the optimal trait value (5 for demes 1–4 and −5 for demes 5–8), and ω = 10 represents the strength of stabilizing selection. Method testing results compared to theoretical expectation On figures S3 , S4 , and S5 we show qq-plots displaying the difference between the theoretical distribution shapes and the observed ones for the different methods. While the S -statistics neutral distribution for the many replicates should follow a normal distribution, the expectation is uniform for the p -value distribution of the other two methods. Acknowledgments We thank Otso Ovaskainen and Juha Merila for fruitful discussions and suggestions. References ↵ J. Catchen , S. Bassham , T. Wilson , M. Currey , C. O’Brien , Q. Yeates , and W. A. Cresko . The population structure and recent colonization history of o regon threespine stickleback determined using restriction-site associated dna-sequencing . Molecular ecology , 22 ( 11 ): 2864 – 2883 , 2013 . OpenUrl CrossRef Web of Science E. Chapuis , S. Trouve , B. Facon , L. Degen , and J. Goudet . High quantitative and no molecular differentiation of a freshwater snail (galba truncatula) between temporary and permanent water habitats . Molecular Ecology , 16 ( 16 ): 3484 – 3496 , 2007 . OpenUrl CrossRef PubMed B. Class and J. E. Brommer . Can dominance genetic variance be ignored in evolutionary quantitative genetic analyses of wild populations? Evolution , 74 ( 7 ): 1540 – 1550 , 2020 . OpenUrl CrossRef PubMed J. Côte , J.-M. Roussel, S. Le Cam, F. Guillaume, and G. Evanno . Adaptive divergence in embryonic thermal plasticity among atlantic salmon populations . Journal of evolutionary biology , 29 ( 8 ): 1593 – 1601 , 2016 . OpenUrl CrossRef PubMed P. Cubry , I. Scotti , S. Oddou-Muratorio , and F . Lefèvre . Generalization of the qst framework in hierarchically structured populations: Impacts of inbreeding and dominance . Molecular ecology resources , 17 ( 6 ): e76 – e83 , 2017 . OpenUrl ↵ M. de Miguel , I. Rodŕıguez-Quiĺon, M. Heuertz, A. Hurel, D. Grivet, J. P. Jaramillo-Correa, G. G. Vendramin, C. Plomion, J. Majada, R. Aĺıa , et al. Polygenic adaptation and negative selection across traits, years and environments in a long-lived plant species (pinus pinaster ait . , pinaceae). Molecular Ecology , 31 ( 7 ): 2089 – 2105 , 2022 . OpenUrl CrossRef PubMed ↵ P. de Villemereuil , O. E. Gaggiotti , and J. Goudet . Common garden experiments to study local adaptation need to account for population structure . Journal of Ecology , 110 ( 5 ): 1005 – 1009 , 2022 . OpenUrl CrossRef ↵ H. Dittberner , A. Korte , T. Mettler-Altmann , A. P. Weber , G. Monroe , and J. de Meaux . Natural variation in stomata size contributes to the local adaptation of water-use efficiency in arabidopsis thaliana . Molecular ecology , 27 ( 20 ): 4052 – 4065 , 2018 . OpenUrl CrossRef C. Dufresnes , L. Dutoit , A. Brelsford , F. Goldstein-Witsenburg , L. Cĺement, A. López-Baucells, J. Palmeirim, I. Pavliníc, D. Scaravelli, M. Šev̌ćık, et al. Inferring genetic structure when there is little: population genetics versus genomics of the threatened bat miniopterus schreibersii across europe . Scientific Reports , 13 ( 1 ): 1523 , 2023 . OpenUrl ↵ R. A. Fisher . The genetical theory of natural selection: a complete variorum edition . Oxford University Press , 1999 . ↵ A. Gelman , J. B. Carlin , H. S. Stern , and D. B. Rubin . Bayesian Data Analysis. Text in Statisctical Science. Chapman & Hall/CRC Press, Boca Raton, Florida (US), second edition , 2004 . ISBN 1-58488-388-X 978-1-58488-388-3. K. J. Gilbert and M. C. Whitlock . Qst–fst comparisons with unbalanced half-sib designs . Molecular ecology resources , 15 ( 2 ): 262 – 267 , 2015 . OpenUrl CrossRef PubMed J. Goudet and L. Büchi. The effects of dominance, regular inbreeding and sampling design on q st, an estimator of population differentiation for quantitative traits . Genetics , 172 ( 2 ): 1337 – 1347 , 2006 . OpenUrl Abstract / FREE Full Text J. Goudet and G. Martin . Under neutrality, qst ≤ fst when there is dominance in an island model . Genetics , 176 ( 2 ): 1371 – 1374 , 2007 . OpenUrl FREE Full Text ↵ J. Goudet and B. S. Weir . An allele-sharing, moment-based estimator of global, population-specific and population-pair f st under a general model of population structure . PLoS Genetics , 19 ( 11 ): e1010871 , 2023 . OpenUrl CrossRef ↵ J. Goudet , T. Kay , and B. S. Weir . How to estimate kinship . Molecular ecology , 27 ( 20 ): 4121 – 4135 , 2018 . OpenUrl CrossRef ↵ C. R. Haag , M. Riek , J. W. Hottinger , V. I. Pajunen , and D. Ebert . Founder events as determinants of within-island and among-island genetic structure of daphnia metapopulations . Heredity , 96 ( 2 ): 150 – 158 , 2006 . OpenUrl CrossRef PubMed Web of Science W. G. Hill , M. E. Goddard , and P. M. Visscher . Data and theory point to mainly additive genetic variance for complex traits . PLoS genetics , 4 ( 2 ): e1000008 , 2008 . OpenUrl CrossRef PubMed E. B. Josephs , J. J. Berg , J. Ross-Ibarra , and G. Coop . Detecting adaptive differentiation in structured populations with genomic data and common gardens . Genetics , 211 ( 3 ): 989 – 1004 , 2019 . OpenUrl Abstract / FREE Full Text ↵ M. Karhunen and O. Ovaskainen . Estimating population-level coancestry coefficients by an admixture f model . Genetics , 192 ( 2 ): 609 – 617 , 2012 . OpenUrl Abstract / FREE Full Text ↵ M. Karhunen , J. Merilä , T. Leinonen , J. Cano , and O. Ovaskainen . driftsel: an r package for detecting signals of natural selection in quantitative traits . Molecular Ecology Resources , 13 ( 4 ): 746 – 754 , 2013 . OpenUrl CrossRef PubMed ↵ E. M. Koch . The effects of demography and genetics on the neutral distribution of quantitative traits . Genetics , 211 ( 4 ): 1371 – 1394 , 2019 . OpenUrl Abstract / FREE Full Text ↵ R. Lande . Neutral theory of quantitative genetic variance in an island model with local extinction and colonization . Evolution , 46 ( 2 ): 381 – 389 , 1992 . OpenUrl CrossRef PubMed Web of Science ↵ T. Leinonen , R. S. McCairns , R. B. O’hara , and J. Merilä. Q st–f st comparisons: evolutionary and ecological insights from genomic heterogeneity . Nature Reviews Genetics , 14 ( 3 ): 179 – 190 , 2013 . OpenUrl CrossRef PubMed R. C. Lewontin and J. Krakauer . Distribution of gene frequency as a test of the theory of the selective neutrality of polymorphisms . Genetics , 74 ( 1 ): 175 – 195 , 1973 . OpenUrl Abstract / FREE Full Text J. J. Liu and M. D. Edge . Error rates in q st–f st comparisons depend on genetic architecture and estimation procedures . bioRxiv, pages 2024 –10, 2024. C. Lopez-Fanjul , A. Fernández, and M. A. Toro. The effect of dominance on the use of the q st-f st contrast to detect natural selection on quantitative traits . Genetics , 176 ( 1 ): 725 – 727 , 2007 . OpenUrl FREE Full Text M. Lynch , B. Walsh , et al. Genetics and analysis of quantitative traits , volume 1. Sinauer Sunderland, MA , 1998 . ↵ S. Neuenschwander , F. Michaud , and J. Goudet . Quantinemo 2: a swiss knife to simulate complex demographic and genetic scenarios, forward and backward in time . Bioinformatics , 35 ( 5 ): 886 – 888 , 2019 . OpenUrl CrossRef PubMed ↵ A. Ochoa and J. D. Storey . Estimating f st and kinship for arbitrary population structures . PLoS genetics , 17 ( 1 ): e1009241 , 2021 . OpenUrl CrossRef PubMed ↵ R. O’Hara and J. Merila . Bias and precision in q st estimates: problems and some solutions . Genetics , 171 ( 3 ): 1331 – 1339 , 2005 . OpenUrl Abstract / FREE Full Text ↵ O. Ovaskainen , M. Karhunen , C. Zheng , J. M. C. Arias , and J. Merilä. A new method to uncover signatures of divergent and stabilizing selection in quantitative traits . Genetics , 189 ( 2 ): 621 – 632 , 2011 . OpenUrl Abstract / FREE Full Text ↵ J. K. Pritchard and A. Di Rienzo . Adaptation–not by sweeps alone . Nature Reviews Genetics , 11 ( 10 ): 665 – 667 , 2010 . OpenUrl CrossRef PubMed Web of Science ↵ B. Pujol , A. J. Wilson , R. Ross , and J. Pannell . Are qst–fst comparisons for natural populations meaningful? Molecular ecology , 17 ( 22 ): 4782 – 4785 , 2008 . OpenUrl CrossRef PubMed Web of Science ↵ H. Shi and G. Yin . Reconnecting p-value and posterior probability under one-and two-sided tests . The American Statistician , 75 ( 3 ): 265 – 275 , 2021 . OpenUrl CrossRef ↵ K. Spitze . Population structure in daphnia obtusa: quantitative genetic and allozymic variation . Genetics , 135 ( 2 ): 367 – 374 , 1993 . OpenUrl Abstract / FREE Full Text S. Trouve , L. Degen , and J. Goudet . Ecological components and evolution of selfing in the freshwater snail galba truncatula . Journal of Evolutionary Biology , 18 ( 2 ): 358 – 370 , 2005 . OpenUrl CrossRef PubMed Web of Science ↵ J. Vanoverbeke , K. De Gelas , and L. De Meester . Habitat size and the genetic structure of a cyclical parthenogen, daphnia magna . Heredity , 98 ( 6 ): 419 – 426 , 2007 . OpenUrl CrossRef PubMed ↵ B. von Takach , L. Ranjard , C. P. Burridge , S. F. Cameron , T. Cremona , M. D. Eldridge , D. O. Fisher , S. Frankenberg , B. M. Hill , R. Hohnen , et al. Population genomics of a predatory mammal reveals patterns of decline and impacts of exposure to toxic toads . Molecular Ecology , 31 ( 21 ): 5468 – 5486 , 2022 . OpenUrl CrossRef ↵ B. Walser and C. R. Haag . Strong intraspecific variation in genetic diversity and genetic differentiation in daphnia magna: the effects of population turnover and population size . Molecular ecology , 21 ( 4 ): 851 – 861 , 2012 . OpenUrl CrossRef PubMed Web of Science ↵ B. S. Weir and J. Goudet . A unified characterization of population structure and relatedness . Genetics , 206 ( 4 ): 2085 – 2103 , 2017 . OpenUrl Abstract / FREE Full Text ↵ B. S. Weir and W. G. Hill . Estimating f-statistics. Annual review of genetics , 36 ( 1 ): 721 – 750 , 2002 . OpenUrl CrossRef PubMed ↵ M. C. Whitlock . Neutral additive genetic variance in a metapopulation . Genetics Research , 74 ( 3 ): 215 – 221 , 1999 . OpenUrl CrossRef ↵ M. C. Whitlock . Evolutionary inference from qst . Molecular ecology , 17 ( 8 ): 1885 – 1896 , 2008 . OpenUrl CrossRef PubMed Web of Science ↵ M. C. Whitlock and F. Guillaume . Testing for spatially divergent selection: comparing q st to f st . Genetics , 183 ( 3 ): 1055 – 1063 , 2009 . OpenUrl Abstract / FREE Full Text ↵ S. Wright . Evolution and the genetics of populations. Vol. 2. The theory of gene frequencies . The University of Chicago Press , 1969 . View the discussion thread. Back to top Previous Next Posted February 24, 2025. Download PDF Email Thank you for your interest in spreading the word about bioRxiv. NOTE: Your email address is requested solely to identify you as the sender of this article. Your Email * Your Name * Send To * Enter multiple addresses on separate lines or separate them with commas. You are going to email the following A method for identifying spatially divergent selection in structured populations Message Subject (Your Name) has forwarded a page to you from bioRxiv Message Body (Your Name) thought you would like to see this page from the bioRxiv website. Your Personal Message CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Share A method for identifying spatially divergent selection in structured populations Isabela do O , Oscar Gaggiotti , Pierre de Villemereuil , Jerome Goudet bioRxiv 2025.02.23.639751; doi: https://doi.org/10.1101/2025.02.23.639751 Share This Article: Copy Citation Tools A method for identifying spatially divergent selection in structured populations Isabela do O , Oscar Gaggiotti , Pierre de Villemereuil , Jerome Goudet bioRxiv 2025.02.23.639751; doi: https://doi.org/10.1101/2025.02.23.639751 Citation Manager Formats BibTeX Bookends EasyBib EndNote (tagged) EndNote 8 (xml) Medlars Mendeley Papers RefWorks Tagged Ref Manager RIS Zotero Tweet Widget Facebook Like Google Plus One Subject Area Evolutionary Biology Subject Areas All Articles Animal Behavior and Cognition (7635) Biochemistry (17697) Bioengineering (13894) Bioinformatics (41951) Biophysics (21456) Cancer Biology (18594) Cell Biology (25515) Clinical Trials (138) Developmental Biology (13380) Ecology (19903) Epidemiology (2067) Evolutionary Biology (24322) Genetics (15612) Genomics (22510) Immunology (17737) Microbiology (40400) Molecular Biology (17183) Neuroscience (88619) Paleontology (667) Pathology (2833) Pharmacology and Toxicology (4825) Physiology (7644) Plant Biology (15158) Scientific Communication and Education (2046) Synthetic Biology (4296) Systems Biology (9825) Zoology (2271)

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2025) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00