Skip to main content
Nature Communications logoLink to Nature Communications
. 2022 Feb 3;13:660. doi: 10.1038/s41467-022-28294-9

Assortative mating biases marker-based heritability estimators

Richard Border 1,2,3,, Sean O’Rourke 4, Teresa de Candia 2, Michael E Goddard 5,6, Peter M Visscher 7, Loic Yengo 7, Matt Jones 8,#, Matthew C Keller 2,8,✉,#
PMCID: PMC8814020  PMID: 35115518

Abstract

Many traits are subject to assortative mating, with recent molecular genetic findings confirming longstanding theoretical predictions that assortative mating induces long range dependence across causal variants. However, all marker-based heritability estimators implicitly assume mating is random. We provide mathematical and simulation-based evidence demonstrating that both method-of-moments and likelihood-based estimators are biased in the presence of assortative mating and derive corrected heritability estimators for traits subject to assortment. Finally, we demonstrate that the empirical patterns of estimates across methods and sample sizes for real traits subject to assortative mating are congruent with expected assortative mating-induced biases. For example, marker-based heritability estimates for height are 14% – 23% higher than corrected estimates using UK Biobank data.

Subject terms: Behavioural genetics, Population genetics


Methods for estimating heritability, the fraction of variance attributable to genetic factors, assume random mating. Here, the authors show that under assortative mating, when mate choice reflects phenotypic similarity, these methods produce overestimates.

Introduction

Positive primary phenotypic assortative mating (hereafter simply “AM”), the phenomenon whereby mate-choice is based on phenotypic similarity, has been observed for a variety of heritable traits in human and non-human animals14. A century ago, Fisher demonstrated that AM induces long-range positive correlations between trait-increasing allele counts at causal loci across the genome, thereby increasing genetic variance across successive generations until it approaches a stable equilibrium5. Since Fisher’s time, it has been established that many human traits are subject to AM, and that estimates of genetic and environmental variance from twin and family designs, which assume random mating, can be biased in the presence of AM6. Recently, there has been increased focus on how AM can influence results based on measured genetic data, in part due to the recognition that AM may contribute to observed discrepancies between population-based versus family-based estimates in genome-wide association studies (GWAS)710 and Mendelian randomization studies11,12. However, despite hundreds of publications reporting estimates of SNP-heritability, no study has yet investigated how AM influences these estimates. Moreover, many benchmark traits central to the scientific discourse regarding the “still-missing heritability”—for example, height and educational attainment—are precisely those for which phenotypic and genetic data is consistent with AM4,1315, raising the possibility that conclusions about SNP-heritability could be biased in systematic but as yet poorly understood ways.

Here, we characterize the impact of AM on the two families of marker-based heritability estimators, which we generically denote h^SNP2. The first uses the method of moments (MoM) and is typified by univariate Haseman-Elston (HE) regression (h^HE2)16 but includes PCGC regression17 and linkage disequilibrium (LD) score regression18. The second uses residual maximum likelihood (REML)19 to estimate heritability (h^REML2) and is implemented in software such as by GCTA20 and BOLT-REML21. We assume Fisher’s classical model of AM, which describes the equilibrium properties of a heritable trait for which mates’ genotypes are conditionally independent given the heritable components of their phenotypes and for which offspring environments are independent of parental phenotypes. This model has formed the theoretical foundation for recent investigations of AM using measured genetic data4,14,22. We provide mathematical and simulation-based arguments demonstrating that AM induces a modest yet non-negligible bias in both classes of estimators that is not addressed by conventional methods of accounting for population structure. In the process, we extend results in random matrix theory and classical quantitative genetics by characterizing the higher-order moments of causal variants and the limiting spectral distribution of the genomic relatedness matrix (GRM) under AM, which clarifies why genomic principal components fail to capture the effects of AM. Additionally, we provide empirical results using data from the UK Biobank that are congruent with our theoretical predictions. Finally, we provide guidelines for estimating and interpreting h^SNP2 when traits are subject to AM.

Results

Our theoretical results depend on several key parameters: r denotes the phenotypic correlation between mates on an additive phenotype y with a heritable component Zu; h02 denotes the panmictic heritability, what the narrow-sense heritability of the phenotype would be in the absence of AM; h2 denotes the equilibrium narrow-sense heritability approached under multiple generations of AM; and Z denotes the n×m matrix of n unrelated individuals’ standardized genotypes at m causal loci with effects vector u. We initially assume that all causal variants are present in Z (i.e., that the heritability is fully explained by measured variants); the reason for this is that the dynamics of AM across generations depend on the true heritability of the trait, irrespective of the fraction of genetic variation tagged by SNPs. We later employ simulations to demonstrate that our major qualitative conclusions remain valid when this assumption is relaxed.

The rows of Z (individuals’ genotypes) are independent random vectors with m×m covariance matrix ϒ, which quantifies the correlation between loci. Under random mating, ϒ:=ϒ0 is approximately block diagonal such that causal variants are largely (aside from LD between nearby variants) stochastically independent. However, under equilibrium AM, ϒ:=ϒ is dense due to the presence of positive long-range correlations among trait-increasing allele counts within and across chromosomes. As the elements of ϒ agree in sign with the corresponding elements of uuT (i.e., trait increasing alleles are positively correlated), the equilibrium additive genetic variance under AM, σg,2, is considerably greater than the panmictic additive genetic variance, σg,02. That is, σg,2=uTϒu>σg,02uTu (Fig. 1 and Supplementary Notes 1, 2).

Fig. 1. Theoretical and empirical behavior of existing and corrected estimators.

Fig. 1

HE regression (h^HE2) and REML (h^REML2) estimates for varying phenotypic mate correlations (r) in simulated datasets (n = 64,000) assuming that h02=.5, that all causal variants are measured, and that AM has reached equilibrium. Values of h^HE2 are consistent with our closed-form approximation (E[h^HE2]) under the assumption of exchangeable loci. Our corrected estimators, h^2and h^02, which are based on h^HE2 and r and assume equilibrium, recover the true equilibrium (h2) and panmictic (h02) heritabilities. Further, for a given observation of h^HE2 for a trait under disequilibrium AM, the current generation heritability (ht2) and h02 are probabilistically bounded in expectation (teal and red regions respectively; see main text).

Haseman–Elston regression estimates under AM

We first characterize the influence of AM on h^HE2, perhaps the simplest marker-based MoM heritability estimator. Let y~ denote the standardized phenotype. h^HE2 is the slope of the subdiagonal elements of the phenotypic outer product, y~y~T, regressed on the subdiagonal elements of the GRM, m1ZZT. Assuming that all genetic variance is explained by measured variants, we establish the following general result (see Supplementary Note 3):

Eh^HE2=muTϒϒuσg,2trϒϒh2h2h02. 1

Under AM, the bracketed quantity is greater than one, and thus h^HE2 is upwardly biased relative to both h02 and h2. Intuitively, this bias occurs because AM influences the outcome (y~y~T) differently than the predictor (m1ZZT). The AM-induced positive correlations between all causal variants inflate genetic (co-)variance, and this inflation is accurately reflected in y~y~T. However, the elements of m1ZZT represent the average correlation between pairs of individuals at homologous loci taken one at a time. Thus, the elements of m1ZZT are governed almost completely by the correlations within loci; correlations between different loci have almost no influence. Because the vast majority of the inflation in genetic (co-)variation is caused by the correlations between and not within loci, AM on phenotype has a negligible impact on the GRM for polygenic traits in a genetically homogenous population. This latter point is itself noteworthy because some studies have claimed that inflated genomic similarity between friends or mates22 is evidence for phenotypic assortment, but the actual increase is trivial (of order Om1 relative to the increase in genetic variance) and such observations have more probable explanations, such as imperfectly controlled stratification23.

Under the stricter assumption of exchangeable loci (i.e., each causal variant explains equal phenotypic variance), we derive the following approximate expression, dependent only on r and h02 (see Supplementary Note S3):

Eh^HE211rh2h2. 2

Under exchangeable loci for known r and h^HE2, we further define corrected estimators of the panmictic and equilibrium heritability values:

h^02:=Eh02h^HE2=h^HE21+2rh^HE2+r(r1)h^HE4,h^2:=Eh2h^HE2=h^HE21+rh^HE2. 3

Large-scale simulations using realistic genotype data (see Online Methods) with p=106 SNPs of which m=104 were causal with effects u~i.i.d.N(0,σg,02/m) demonstrate that these approximations are accurate even when the exchangeable loci assumption is violated (Figs. 1,2). Results were nearly identical when setting m=105 causal variants. In addition, our simulations confirmed that LDSC, which is mathematically equivalent to HE regression when LD scores are exact24, is similarly biased upwards under AM (Fig. 3a). However, the impact of this bias in real world applications depends not only on the extent of AM, but also on the degree to which estimated LD scores reflect the true LD structure in a given population.

Fig. 2. REML and HE estimates across varying sample sizes in simulated data.

Fig. 2

a Comparison of HE regression and REML heritability estimates as functions of sample size for varying phenotypic mating correlation (rpheno) and fixed panmictic heritability (h02=0.5) in simulated data. We computed multiple estimates per sample size for each estimator and parameter combination by applying estimators to independent sub-samples. Whereas HE regression estimates are upwardly biased independent of sample size, REML estimates slowly converge to the panmictic heritability as sample sizes increase. b Extended simulations demonstrating high-dimensional behavior of the REML estimator as a function of sample size. Forward time simulations required a larger population size (Nsim=3×106) to obtain samples of up to n=648,000 unrelated individuals. Obtaining REML estimates for samples larger than this was not computationally feasible, but the dashed red line shows predicted values for larger sample sizes extrapolated from a regression model including first and second order log-linear components. Results are consistent with theoretical predictions that the REML estimator converges to the panmictic heritability in very large samples.

Fig. 3. Naïve approaches to addressing AM induced bias and the impact of missing data.

Fig. 3

a Simulations employing the same parameters described in Fig. 1 demonstrate that neither partitioned nor principal component adjusted approaches mitigate the impact of AM on HE (h^HE2) or REML (h^REML2) heritability estimates. Additionally, simulations confirm that LDSC is subject to equivalent biases. Single component: standard single genomic variance component models. Single comp. + 10 PCs: included the first ten within-sample PCs as covariates. Partitioned: included four annotation-based variance components generated by median splits of within-sample minor allele frequencies and LD scores. b Simulations demonstrate that conclusions regarding estimator bias do not change when some of the influence of causal variants is not captured by measured SNPs. Simulations employed the same parameters as above except that 0, 50, or 75% of randomly selected SNPs (both causal and non-causal) were dropped. As expected, estimates were attenuated when SNPs were dropped but overall patterns remained consistent.

Residual maximum likelihood estimates under AM

In contrast to h^HE2, the value of h^REML2 changes as a function of sample size under AM. Using the same simulation approach described above, we found that h^REML2 exhibits upward biases similar in magnitude to those of h^HE2 in small samples (e.g., n10,000). In large samples (e.g., n>200,000), however, h^REML2 drops below h2 (Fig. 2a). More formally, under the assumption of exchangeable loci, we prove that

h^REML2ph02,asn,m, 4

where n/mc0,; i.e., h^REML2 is a consistent estimator of h02 for highly polygenic traits (Supplementary Note 3). On the other hand, the number of causal variants and the total number of measured SNPs have no apparent influence on the bias of h^REML2 (Supplementary Fig. 1). In essence, the parameter values that maximize the residual likelihood function depend only on the eigenvalues of the GRM, and the long-range dependence among causal variants induced by AM is “weak” in the sense that the distributions of the eigenvalues (i.e., spectral distributions) of the GRM under random mating and under AM are asymptotically equivalent. Thus, in large samples, h^REML2 converges to what the heritability would be if the causal variants were independent, i.e., to h02. However, in finite samples, we show via simulation that this convergence can be extremely gradual, requiring samples approaching millions of individuals before h^REML2 approaches h02 (Fig. 2b).

Conventional methods do not mitigate AM-induced bias

Inclusion of ancestral PCs as covariates fails to mitigate the AM-induced bias in both the MoM and the REML estimates (Fig. 3a). Indeed, we demonstrate that AM has a negligible effect on the spectral distribution of the GRM in large samples with many variants (see Supplementary Note 2). Similarly, these biases are not mitigated by modeling multiple genetic variance components that partition SNPs according to LD score and minor allele frequency (Fig. 3a).

AM-induced bias persists when not all causal variants are measured

In real-world applications, measured genotypes will often include only a fraction of the total number of causal variants (or at least good proxies in high LD). Previous work has demonstrated that the extent to which marker data imperfectly tag causal variants will bias h^REML2 estimates in random mating populations25,26; these circumstances are further complicated under AM as imperfect tagging will not only corrupt the relationship between a given marker and proximal causal variants, but between a given marker and all other causal variants. To assess the impact of AM when not all variants are measured, we compared h^HE2 and h^REML2 in simulated data that randomly dropped π = 0, 50, or 75% of all p=106 variants, including both causal (m=104) and non-causal (pm=990,000) SNPs (Fig. 3b). As expected, this resulted in attenuated estimates commensurate with, but not proportional to the fraction of missing data: on average across methods, h^SNP2 was 8.4% (s.e. 0.009%) and 17.6% (s.e. 0.009%) lower after randomly dropping 50% and 75% of SNPs, respectively (the degree of attenuation was smaller than the proportion of SNPs dropped due to LD between retained SNPs and discarded causal variants). Though future work is required to fully characterize the relationship between heritability estimates and the degree of missing heritability under AM, the pattern of bias due to AM when some of the heritability is missing is qualitatively similar to that when all causal variants are present.

The differential influence of sample size on h^HE2 and h^REML2 in real traits

To investigate whether our theoretical predictions are observable in real data, we examined the relationship between sample size and h^SNP2 in a sample of 335,551 unrelated European-ancestry individuals in the UK Biobank27. We a priori selected four phenotypes based on evidence (height, years of education) or lack of evidence (body mass index, bone mineral density) for primary phenotypic AM in a previous study14. We then computed h^HE2 and h^REML2 in pairs of small (nsmall = 16,000) versus large (nlarge = n–16,000) disjoint subsamples, where n denotes the total available sample size for each phenotype. Consistent with theory and simulation results, the effect of sample size on h^REML2 was significantly different from the effect of sample size on h^HE2 for height (p = 5.24e−4) and for years of education (p = 3.94e−4); this was not observed for body mass index (p = 0.094) or for bone mineral density (p = 0.302; see “Methods” section, Fig. 4). These height results are congruent with those of Mandal and colleagues, who independently observed that h^REML2 decreased with increasing sample size28. Unlike previous approaches which quantified the degree of AM for traits by correlating polygenic scores between mates4 or within-individuals but between chromosomes14, our approach does not require the calculation of polygenic scores and is agnostic with respect to variant direction and effect size. Thus, calculating h^REML2 across subsamples of varying sizes provides an alternative and independent way to detect genomic signatures of AM.

Fig. 4. REML and HE estimates across varying sample sizes in UK Biobank data.

Fig. 4

Comparison of HE (h^HE2) and REML (h^REML2) heritability estimates as a function of sample size for real traits in a sample of unrelated European ancestry UK Biobank participants. Points connected by thin lines represent estimates derived from pairs of non-overlapping subsamples of size 16,000 and n−16,000, whereas thick lines reflect average log-linear trends. Two traits with previous evidence for AM (height and years of education) and two negative control traits (body mass index and bone mineral density) were selected for analysis a priori. Consistent with theoretical predictions, height and years of education demonstrated significant estimator divergence with increasing sample size whereas body mass index and bone mineral density did not.

Interpretation of h^SNP2 in the presence of AM

As we have shown, AM complicates the interpretation of h^SNP2. This complication is due not only to the differential effect AM has on h^HE2 and h^REML2 as a function of sample size, but also because AM changes the true heritability in the population. This means that h^SNP2 can be compared to two different population parameters: the equilibrium heritability h2, and the panmictic heritability h02. We input h^HE2 and previously reported spousal correlations for height2 and educational attainment4 into Eq. (3) to estimate h2 and h02. h^HE2 was inflated by 14% for height and 7% for years of education relative to h^2 and by 21 and 14% relative to h^02 (Table 1). We note that this underestimates the absolute bias of h^HE2 with respect to h2 and h02 to the extent that causal variants are missing from our measured genotype data.

Table 1.

Inflation of heritability estimates and their corrected values for select UK Biobank traits.

Phenotype r n h^HE2 [s.e.] h^REML2 [s.e.] h^2 [s.e.] h^02 [s.e.] h^HE2/h^2 [s.e.]
Body mass indexa 0.228 334,429 0.257 [3.15e−3] 0.256 [2.29e−3]
Bone mineral densitya,b 191,330 0.277 [4.37e−3] 0.295 [3.28e−3]
Height 0.240 334,798 0.567 [4.68e−3] 0.525 [2.22e−3] 0.499 [4.23e−3] 0.467 [3.37e−3] 1.14 [8.70e−4]
Years of education 0.412 332,198 0.174 [2.64e−3] 0.155 [2.01e−3] 0.163 [2.46e−3] 0.153 [2.06e−3] 1.07 [9.46e−4]

Spousal correlations (r) as previously reported in British cohorts2,4 and heritability estimates for selected UK Biobank phenotypes (n denotes sample size). Height and years of education were selected a priori on the basis of previous evidence for primary phenotypic AM whereas body mass index and bone mineral density were selected a priori as negative controls. Assuming equilibrium, the equilibrium (h^2) and panmictic (h^02) heritability estimates (defined in Eq. 3) provide unbiased estimates of the present day and panmictic heritabilites, respectively. Under disequilibrium, they respectively provide probabilistic lower bounds, with the HE regression (h^HE2) and REML (h^REML2) estimates providing complementary upper bounds. The ratio h^HE2/h^2 reflects the extent to which HE regression overestimates the true heritability under the assumption of equilibrium.

aAdjusted equilibrium and panmictic heritability estimates omitted for negative control traits.

bNo estimates of the phenotypic mating correlation for bone mineral density were available.

Although these estimates of h2 and h02 rely on the assumption that AM has reached equilibrium, theoretically-sound bounds for h2 can be derived for traits where AM is at disequilibrium. Specifically, the current heritability for a population having undergone t generations of AM, ht2, is bounded in expectation from above by h^HE2, with equality at t=0 (panmixis), and from below by h^2=Eh2h^HE2;t=, with equality as t (equilibrium). Likewise, h02 is bounded in expectation from below by h^02=Eh02h^HE2;t=0 with equality as t, and from above by h^REML2 with equality at all generations. This latter bound will narrow as sample size increases. Thus, regardless of whether AM is at equilibrium, so long as the strength of AM has not decreased across generations, [h^2,h^HE2] provides probabilistic bounds for the present day h2 whereas [h^02,h^REML2] provides probabilistic bounds for h02 (Fig. 1).

Discussion

Summary of findings

In the last decade, there has been much interest in the interpretation of h^SNP2 and the factors that can influence it29. Such factors include the number of causal variants and their typical levels of LD compared to the LD of SNPs used in the analysis30,31, the relationship between causal variant effect sizes and minor allele frequencies32, and passive gene–environment correlation arising from population stratification33 or genetic nurture7. Despite this activity and the recent evidence corroborating long-standing theoretical expectations that AM alters the genetic architecture of heritable traits14, the effects of AM on h^SNP2 have remained a matter of speculation9,30,34. In the present investigation, we clarify how AM influences h^SNP2 and show that these influences are different for MoM versus REML estimators as a function of sample size. By characterizing the full joint distribution of causal variants at equilibrium, we prove that REML produces a consistent estimator of h02 (the heritability in the ancestral random-mating population), not h2 (the present generation heritability for a trait at equilibrium), in large samples (see Supplementary Notes 2 and 3). However, under AM, h^REML2 behaves oddly in finite samples. It is higher than h2 in sample sizes typical of those published in the literature but drops below h2 in sample sizes that are large by current standards (e.g., n>200,000). On the other hand, MoM estimators yield estimates that are biased upwards with respect to both h2 and h02 and remain stable across sample sizes. Using UK Biobank data, we observed this differential behavior of h^HE2 and h^REML2 for two traits with previous evidence of primary phenotypic AM but not for two negative control traits. We further showed how the two population parameters of interest, h2 and h02, can be estimated under the assumption of equilibrium given spousal correlations and h^HE2, and that, at disequilibrium, the likely ranges of h2 in the current generation and h02 can also be estimated.

Implications

The impact that AM has on h^SNP2 may often be negligible simply because AM is very low or nonexistent for many traits. For other traits, however, this does not appear to be the case, including “benchmark” traits like height and educational attainment as well as many behavioral and psychiatric traits. For example, the tetrachoric correlations between Swedish spouses for attention deficit hyperactive disorder (r = 0.31), autism spectrum disorder (r = 0.28), schizophrenia (r = 0.26), and substance use disorder (r = 0.30) are all higher than those typically observed for height35. Furthermore, many social attitudes such as conservatism-liberalism (r = 0.61) and religiosity (r = 0.71) exhibit extremely high spousal correlations, and available evidence is more consistent with a primary phenotypic model than social homogamy or convergence36. Such social attitude traits appear to be moderately heritable (h^2 0.20–0.30) in extended twin family designs robust to biases caused by AM37, although no values of h^SNP2 for such social attitude traits are yet available.

Our findings suggest caution is warranted when comparing h^SNP2 for traits subject to AM when characteristics of the populations, samples, or designs differ. First, the effect that AM has on causal variant correlations is rapid—about half of its effect occurs after a single generation and it approaches equilibrium within 5–15 generations; as such, both the true heritability and the extent to which h^SNP2 is biased will differ across populations that vary in strength or duration of AM. Second, because the expectation of h^REML2 decreases monotonically in n, comparing h^REML2 across samples of different sizes can create artifactual discrepancies. Third, though both h^REML2 and h^HE2 are expected to increase as the fraction of causal variants included in the model increases, the relative bias of h^REML2 will further increase if the inclusion of additional markers comes at the cost of decreased sample size. Therefore, the difference in REML estimates from a smaller sample of whole-genome sequence data (which ostensibly includes previously missing causal variants) versus those derived from a larger sample of SNP array data will appear artificially greater, though we note that additional factors, such as differences in the extents to which array versus sequence data are corrupted by subtle forms of population structure, might also contribute to such discrepancies. Fourth, our results demonstrate that the controlling for genomic principal components does not mitigate AM-induced biases; indeed, the asymptotic distributions of the eigenvalues of the GRM under random versus assortative mating are equivalent. As AM is in essence a form of population structure, our results reveal that our current understanding of the extent to which residual population structure might impact estimators of quantitative genetic parameters is incomplete. Finally, our results suggest that AM complicates comparisons of h^SNP2 to estimates of heritability derived from family-based methods (mostly from twins, hence h^twin2). On one hand, as we have shown, AM reduces the gap between h^twin2 and h^SNP2 by biasing h^SNP2 up. However, AM also influences h^twin2 depending on the design, biasing it downwards in “ACE” models that estimate additive genetic and shared environmental variance and upwards in “ADE” models that estimate additive genetic and dominance genetic variance. Together with the previously discussed dependence of h^SNP2 on method and sample size, this further problematizes efforts to quantify the “still-missing” heritability (h^twin2h^SNP2).

Limitations and future directions

There are several limitations of the current approach. First among these are assumptions inherent to the primary phenotypic AM model. Some of these assumptions, including equilibrium and constancy of the phenotypic mating correlations across generations, aid with mathematical tractability but are to some extent inessential to the resulting phenomena. For example, while the problem of characterizing the joint distribution of causal variants is more difficult in a population subject to disequilibrium AM, we observed that estimators behave in a similar, albeit less extreme, fashion relative to their behavior in an equilibrium population. Other assumptions, such as the absence of gene–environment correlation (which may occur, for example, in the presence of vertical transmission) and the conditional independence of mates’ genotypes given the heritable components of their phenotypes (which may be violated in structured populations), are more difficult to evaluate and deserve consideration in future investigations. For instance, when environmental influences are transmitted from parents to offspring, the dependence between causal variants will extend to non-heritable factors such that, in subsequent generations, all trait-increasing allele-counts and trait-increasing environmental factors will become positively correlated, and the linear mixed model assumed by both the REML and MoM estimators will be further misspecified.

We have also not investigated the impact that AM has on polygenic scores or within-family classes of estimators. For example, LD-score regression can be estimated based upon regression estimates from within-sibling analyses. The estimated genetic variance from such an analysis would be that in the base population (because it is based on the segregation variance), but the estimated phenotypic variance would be that in in the current population. This would also lead to a bias in heritability estimation (and similarly for heritability estimates using relatedness disequilibrium regression10), as was pointed out in ref. 38. This bias is different than those described here in that it is lower than either the base population or equilibrium population heritability. Additionally, we have not found closed-form solutions to h^REML2 that would allow us to correct REML estimates in the same way we have corrected HE estimates under the assumption of equilibrium AM. Further, we have not investigated the impact that natural selection has on the long-range correlations between causal variants and SNPs and what impact this might have on h^SNP2. Finally, we have not considered the effects of multivariate AM or the impact of AM on marker-based genetic correlation estimators, which will also be misspecified under cross-trait AM. As such, these results should provide motivation and a starting place for the development of new methods that can provide unbiased estimates of genomic variance in the presence of AM and other factors that can influence the long-range correlations between SNPs.

Methods

Theoretical framework

The primary phenotypic assortment model

Here we introduce the model of AM as proposed by Fisher5 and further developed by Nagylaki and others39,40 (see Supplementary Note 1 for a detailed exposition). Briefly, we consider a phenotype as a random vector composed of independent heritable and non-heritable components:

y=Zu+e,e~i.i.d.N(0,σe2), 5

where the rows of Z, representing individuals’ standardized genotypes, are independent m-dimensional random vectors following a multivariate discrete distribution with finite moments and finite support and which we assume are independent under panmixis. The vector of allele substitution effects u, which we treat as fixed, is such that uTu=σg,02. Further, we assume that 1. parent–parent–offspring trios’ phenotypes are jointly Gaussian; 2. the phenotypic correlation between mates, r is constant across generations; and 3. there exists c00, such that maxk=1,,mukc0m1/2; that is, as traits become increasingly polygenic, the maximal variance attributable to individual variants decreases commensurately.

The equilibrium distribution of causal variants

Over successive generations, the correlation between mates’ phenotypes induces positive correlations across trait increasing allele counts independent of physical position on the genome and thereby increases the total genetic variance of the trait. The genetic variance rapidly approaches a stable equilibrium after several generations (typically within ten generations), at which point the within-individual and cross-mate correlations among causal variants are equal to one another. Using the results of Nagylaki39, we can express the equilibrium covariance matrix between causal variants as a low rank perturbation of a diagonal matrix of the form: ϒ=D+2ϕϕT, where ϕ is a known vector-valued function of the substitution effects and mating correlation (see Supplementary Note 1.2) with elements ϕk=O(m1/2) uniformly.

Higher order moments and the limiting spectral distribution of GRM

Employing tools from the study of thermodynamic equilibria, we extend these classical results to bound moments of higher orders (see Supplementary Note 2). Using these results, we extend the widely-known Marčenko-Pastur theorem, which describes the limiting distribution of the spectrum of sample covariance matrices corresponding to random matrices with independent sub-Gaussian elements41, to the case of random matrices with independent rows meeting particular moment conditions (see Supplementary Note 2). Together, these results establish the limiting spectral distribution of the sample GRM (i.e., the distribution of the eigenvalues of the sample GRM as both sample size and polygenicity increase) under AM, providing the necessary theoretical foundation to characterize the asymptotic behavior of the REML estimator. Further, these results explain why controlling for principal components fails to remove AM-induced biases: the impact of AM on the spectrum of the GRM is asymptotically negligible.

Haseman-Elston regression under AM

The HE regression estimator42 is obtained by regressing the subdiagonal elements of the standardized phenotypic outer product y~y~T on the subdiagonal elements of the GRM m1ZZT. Whereas elements of the outcome (the phenotypic outer product) reflect the dependences among all pairs of causal loci:

E{y~y~T}i,j<1k=1ml=1mukulEzikzjl, 6

elements of the GRM only capture the dependences within loci:

EZZTi,j<1k=lmEzikzjl 7

As a result, the variance of the outcome increases whereas the variance of predictor remains largely unaffected, leading to overestimation of hSNP2 (Fig. 1; see Supplementary Note 3 for further details and proof).

REML and the spectrum of the GRM under AM

The REML estimator19 models the phenotype as a random vector with marginal distribution,

y\simMVNXβ,m1ZZTσg2+Iσe2, 8

where X is an n×c matrix of covariates with fixed effects β and the covariance structure is comprised of a heritable component (σg2 times the GRM) and a non-heritable component (σe2 times the identity). The heritability estimator h^REML2=σ^g2/(σ^g2+σ^e2) is derived by finding the values of the variance components that satisfy the equation,

lσ^g2,σ^e2ATy=0, 9

where l denotes the marginal log likelihood of the transformed random variable ATy for AT:Rn(colX)Rnc, ATA=I. The conditional expectation of l given the genotypes is a function of the eigenvalues of the GRM and, as a result, the asymptotic behavior of h^REML2 is governed by the asymptotic distribution of the eigenvalues of m1ZZT. A foundational result in random matrix theory states that for zero-mean unit-variance sub-Gaussian random matrices WCn×m with independent elements, the empirical spectral distribution function of m1WWT converges almost surely to the Marčenko-Pastur distribution41. Employing this result, Jiang and colleagues43 demonstrated that, in the case of independent causal variants, REML consistently estimates the true heritability in high dimensional settings and is robust to certain forms of model misspecification. In Supplementary Note 2, we demonstrate that even though AM induces dependence among causal variants, this dependence is “weak” in the sense that it doesn’t change the limiting spectral distribution of the GRM, thereby allowing us to apply arguments in line with those of Jiang and colleagues’ (see Supplementary Note 3). Intuitively our result can be summarized as follows: as the sample size and the number of causal variants become large, the eigenvalues of the GRM under AM behave as if the causal variants were independent (as is largely the case under random mating). The behavior of the REML estimator is determined by the behavior of the eigenvalues of the GRM, and thus h^REML2 converges to what the heritability would be if the causal variants were independent, i.e., the panmictic heritability.

Simulation studies

We employed a realistic forward-time simulation framework to generate genotypic and phenotypic data. We then used these data to motivate and verify theoretical results. Below, we describe the general framework and specific simulations we performed.

Simulation framework

Given a recombination map and ninput individuals’ phased biallelic genotypes at p diploid loci as input, we divided the genome into kp contiguous, non-overlapping 50kB intervals to obtain a collection of blocks, the disjoint union of which comprises the genome. Recombination events, which occurred with probabilities dictated by the recombination map, were restricted to interval boundaries, thus dramatically reducing the number of haplotypes that to keep track of while maintaining high genomic resolution and realistic LD. To achieve a target population size Nsim>ninput, Nsim pairs of the ninput individuals were non-monogamously ‘mated’ (i.e., matched and subject to meiosis), resulting in a new generation of Nsim individuals whose genomes were could be represented in terms of the which of the ninput haplotype blocks they inherited at each of the k intervals. We then repeated this random mating procedure for an additional five generations, resulting in Nsim chimeric combinations of the original ninput genotypes while maintaining the LD structure of the original data. These chimeric genotypes comprised the input for the principal AM simulations.

At the beginning of each particular AM simulation with prespecified panmictic heritability h02=σg,02/(σg,02+σe2), phenotypic correlation between mates r, p SNPs, and m diploid causal loci z1,,zm, mp, the standardized allele substitution effects u1,,um were independently drawn from a Gaussian distribution with expectation zero and variance σg,02/m. Unless otherwise stated, all simulations used p = 106 SNPs. At each generation, phenotypes were constructed via y=Zu+e where e was i.i.d. Gaussian with zero expectation and variance σe2. Next, mates were matched according to their respective phenotypes yi, yj such that corryi,yjr44. This was achieved by drawing Nsim independent doubles {w*,w**T}k=1Nsim\simN00,1rr1 from which Nsim pairs of indices {i,j}k=1Nsim were constructed such that i,jk were the positions of wk* and wk** after concatenating and sorting each element of {w*,w**T}k=1Nsim. Similarly, Nsim indices l=l1,,lNsim were constructed such that lk indexed the kth largest of the Nsim simulated phenotypes. Finally, each kth mating pair was determined by taking the lik/2th and lij/2th replicates. Having chosen mates, meiosis occurred as previously detailed to construct the next generations’ genotypes. All simulations were conducted in Python v3.6.845 using the numpy v1.16.246, scipy v1.2.147, and dask v1.1.448 libraries.

Simulations using UK Biobank data

For each simulation, the input data were derived from phased, imputed genotypes at p = 106 randomly selected imputed SNP loci in a sub-sample of ninput = 435,301 European UK Biobank participants27. Retained SNPs met the following criteria: minor allele frequency >0.01, Hardy–Weinberg p-value >10−6, INFO score >0.95, and presence on the 1000 Genomes Phase 3 (1KG3) reference panel49. Genotype data were then phased to the 1KG3 reference panel in batches of 40,000 individuals using Eagle v2.450. Data were then grown to a population of Nsim = 106 chimeric genotypes and subjected to an additional five generations of random mating as described above before being subject to AM.

We conducted AM simulations for varying mating correlations, r{0,.25,.5,.75} and numbers of causal variants, m104,105, with panmictic heritability fixed at h02=.5. Each simulation consisted of fifteen generations of AM and produced results congruent with classical theory. Prior to heritability estimation, close relatives π^.05, were removed using GCTA v1.93.120, resulting in an average sample size of 141,667 across simulated datasets. Additionally, we ran a limited number of larger, more computationally intensive simulations (Nsim = 3 × 106) with mating correlations fixed at r=.5 to investigate the large sample behavior of the REML estimator, resulting in at least 648,000 unrelated individuals across simulated datasets. There were no apparent differences across simulations as a function of m, p, or Nsim (Supplementary Fig. 1). We note that these simulations assume a homogenous population without any population structure apart from that induced by primary phenotypic AM; thus, the irrelevance of p here does not necessarily speak to the consequences of increasing the number of variants under consideration by decreasing allele frequency or imputation quality score thresholds, as is common practice, if the additional variants capture additional fine-scale population structure.

Heritability estimation in simulated data

We split each simulated genotype–phenotype dataset into collections of random subsamples mutually exclusive within collection but not across collections, yielding 16 samples of 16,000 individuals, eight samples of 16,000, four samples of 32,000 individuals, two samples of 64,000 individuals, and one sample of 128,000 individuals. We then performed HE regression and single-component REML for each subsample (Fig. 2a). We used GCTA v1.91.3b20 to construct genomic related matrices and perform HE regression. We obtained h^REML2 using BOLT-LMM v2.3.451 for computational efficiency; though BOLT-LMM uses a randomized algorithm, its numerical accuracy is comparable to that of the exact algorithm implemented GCTA52.

We also performed a variety of supplementary analyses for a limited set of simulation parameters (r=.5, h02=.5, and m104,105,N=106). To demonstrate that including genomic PCs as covariates does not mitigate the impact of AM, we included ten PCs as covariates in the HE regression and REML analyses. For the former, HE regression was conducted in LDAK v5.053, as the HE regression implementation in GCTA cannot accommodate covariates. To demonstrate that the behavior of LDSC under AM is equivalent to that of HE regression (assuming that the LD scores accurately reflect the LD structure of the sample), we used PLINK v1.954 to obtain GWAS summary statistics and LDSC v1.0.118 to estimate within-sample LD scores using a one centiMorgan sliding window and to perform LDSC regression (Fig. 4a). To demonstrate that multiple variance component (also known as partitioned approaches30,55) do not mitigate the impact of AM, we fit multicomponent HE regression and REML after partitioning SNPs by minor allele frequency and LD score (Fig. 4a). Finally, to assess the scenario wherein a non-trivial fraction of causal variants are missing from Z, we estimated HE regression and REML models after removing 50 or 75% of simulated SNPs at random (Fig. 4b).

Statistics

Sampling procedures

We analyzed 1,211,273 biallelic 1KG3 SNPs with in-sample minor allele frequency >0.01, Hardy–Weinberg p-value >10−6, and INFO scores >0.95, in a sample of 335,551 unrelated European UK Biobank participants27. We selected phenotypes a priori on the basis of previous evidence for AM; we chose height (n= 334,798) and years of education (n= 332,198) as traits with previous evidence of primary phenotypic AM, whereas we chose body mass index (n= 334,429) and bone mineral density (n= 191,330) as negative control traits14. We measured years of education following the procedures detailed in ref. 9. For the results reported in Table 1, we used previously reported estimates of phenotypic spousal correlations2,4. For height specifically, we combined the estimates from multiple British cohorts included in a meta-analysis2 via inverse variance weighting.

Analysis/resampling

We tested for evidence of AM by comparing h^HE2 and h^REML2 in small and large samples. We randomly selected ten mutually exclusive subsamples of nsmall = 16,000 individuals for each trait and compared HE and REML estimates in each subsample to the non-overlapping complementary subsample comprised of the remaining nlarge=n−16,000 individuals, controlling for sex, age, genotyping batch, testing center, and the first ten genomic ancestry PCs. To eliminate variance in heritability estimates due to chance differences in covariate effect estimates across subsamples, we adjusted genotypes and phenotypes in the full sample prior to all following analyses. To our knowledge, existing software is incapable of efficient REML analysis using adjusted genotypes (analogous to dosages) in large samples; e.g., BOLT-REML requires hard-calls as input, whereas GCTA and LDAK have cubic complexity in the number of individuals and markers and would require weeks to run on a high thread-count server. We therefore utilized a modified Python implementation of the REML algorithm presented in ref. 52 (available at https://github.com/rborder/SL_REML56). We used LDAK v5.0 to obtain adjusted HE regression estimates53. In order to quantify the divergence of h^HE2 and h^REML2 as a function of n, we performed the following test, analogous to a t-test of the interaction effect in a 2 × 2 within-subjects experimental design:

H0:δ¯:=(h^REML2(S)h^REML2(SC))(h^HE2(S)h^HE2(SC))=0,

H1:δ¯0,where S denotes a given large subsample and Sc its complementary small subsample. Though this procedure accounts for the dependence among estimates derived in the same subsamples, the individual observations were derived from various partitionings of the same data and do not constitute truly independent observations. Therefore, the p-values for this test reported in the main text should be interpreted as descriptive despite our application of inferential procedures.

All statistical analyses and visualizations were conducted in R v3.5.057 using the ggplot2 v3.3.358 and MASS v7.3.4959 libraries.

Ethical approval

Ethics approval for the UK Biobank study was obtained by the UK Biobank team from the North West Center for Research Ethics Committee (11/NW/0382). Access to the UK Biobank data was granted to principal investigator Dr. Matthew C. Keller (researcher ID 16651).

Reporting summary

Further information on research design is available in the Nature Research Reporting Summary linked to this article.

Supplementary information

Supplementary Information (279.2KB, pdf)
Peer Review File (224.4KB, pdf)
Reporting Summary (291.1KB, pdf)

Acknowledgements

R.B. was supported by the National Institutes of Health (T32NS048004). R.B., P.M.V., L.Y., M.J., and M.C.K. were supported by the National Institutes of Health (MH100141). L.Y. and P.M.V. were supported by the Australian Research Council (DE200100425, FL180100072). S.O. was supported in part by the National Science Foundation (DMS-1810500).

Author contributions

T.d.C., M.E.G., P.M.V., and M.C.K. conceived of and initiated the research. R.B. performed all simulations and empirical data analyses. R.B., S.O., and M.J. derived the mathematical results. R.B. and M.C.K. drafted the primary manuscript. R.B., P.M.V., L.Y., M.J., and M.C.K. contributed to the interpretation and presentation of results, the generation of follow-up hypotheses, and the editing process.

Peer review

Peer review information

Nature Communications thanks the anonymous reviewer(s) for their contribution to the peer review of this work. Peer reviewer reports are available.

Data availability

Data are available through the UK Biobank Access Management System (https://www.ukbiobank.ac.uk/enable-your-research/apply-for-access). A full catalogue of the data examined, including raw materials and descriptive statistics, is available via the online showcase (https://biobank.ndph.ox.ac.uk/ukb). A full description of the study protocols has been provided by the UK Biobank team60.

Code availability

The REML implementation utilized is available online (https://github.com/rborder/SL_REML56).

Competing interests

The authors declare no competing interests.

Footnotes

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

These authors contributed equally: Matt Jones, Matthew C. Keller.

Contributor Information

Richard Border, Email: border.richard@gmail.com.

Matthew C. Keller, Email: matthew.c.keller@gmail.com

Supplementary information

The online version contains supplementary material available at 10.1038/s41467-022-28294-9.

References

  • 1.Jiang Y, Bolnick DI, Kirkpatrick M. Assortative mating in animals. Am. Nat. 2013;181:E125–E138. doi: 10.1086/670160. [DOI] [PubMed] [Google Scholar]
  • 2.Stulp, G., Simons, M. J. P., Grasman, S. & Pollet, T. V. Assortative mating for human height: a meta‐analysis. Am. J. Hum. Biol. 29, e22917 (2017). [DOI] [PMC free article] [PubMed]
  • 3.Nordsletten AE, et al. Patterns of nonrandom mating within and across 11 major psychiatric disorders. JAMA Psychiatry. 2016;73:354–361. doi: 10.1001/jamapsychiatry.2015.3192. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Robinson MR, et al. Genetic evidence of assortative mating in humans. Nat. Hum. Behav. 2017;1:0016. [Google Scholar]
  • 5.Fisher RA. The correlation between relatives on the supposition of Mendelian inheritance. Trans. R. Soc. Edinb. 1919;52:399–433. [Google Scholar]
  • 6.Eaves L. The use of twins in the analysis of assortative mating. Heredity. 1979;43:399–409. doi: 10.1038/hdy.1979.90. [DOI] [PubMed] [Google Scholar]
  • 7.Kong A, et al. The nature of nurture: effects of parental genotypes. Science. 2018;359:424–428. doi: 10.1126/science.aan6877. [DOI] [PubMed] [Google Scholar]
  • 8.Howe LJ, et al. Genetic evidence for assortative mating on alcohol consumption in the UK Biobank. Nat. Commun. 2019;10:1–10. doi: 10.1038/s41467-019-12424-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Lee JJ, et al. Gene discovery and polygenic prediction from a genome-wide association study of educational attainment in 1.1 million individuals. Nat. Genet. 2018;50:1112. doi: 10.1038/s41588-018-0147-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Young AI, et al. Relatedness disequilibrium regression estimates heritability without environmental bias. Nat. Genet. 2018;50:1304–1310. doi: 10.1038/s41588-018-0178-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Hartwig FP, Davies NM, Davey Smith G. Bias in Mendelian randomization due to assortative mating. Genet. Epidemiol. 2018;42:608–620. doi: 10.1002/gepi.22138. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Brumpton B, et al. Avoiding dynastic, assortative mating, and population stratification biases in Mendelian randomization through within-family analyses. Nat. Commun. 2020;11:3519. doi: 10.1038/s41467-020-17117-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Young AI. Solving the missing heritability problem. PLoS Genet. 2019;15:e1008222. doi: 10.1371/journal.pgen.1008222. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Yengo L, et al. Imprint of assortative mating on the human genome. Nat. Hum. Behav. 2018;2:948. doi: 10.1038/s41562-018-0476-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Wainschtein, P. et al. Recovery of trait heritability from whole genome sequence data. Preprint at bioRxiv10.1101/588020. (2019).
  • 16.Haseman JK, Elston RC. The investigation of linkage between a quantitative trait and a marker locus. Behav. Genet. 1972;2:3–19. doi: 10.1007/BF01066731. [DOI] [PubMed] [Google Scholar]
  • 17.Golan D, Lander ES, Rosset S. Measuring missing heritability: Inferring the contribution of common variants. Proc. Natl. Acad. Sci. 2014;111:E5272–E5281. doi: 10.1073/pnas.1419064111. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Bulik-Sullivan BK, et al. LD Score regression distinguishes confounding from polygenicity in genome-wide association studies. Nat. Genet. 2015;47:291–295. doi: 10.1038/ng.3211. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Searle, S. R., Casella, G. & McCulloch, C. E. Variance Components. vol. 391 (Wiley, 2009).
  • 20.Yang J, Lee SH, Goddard ME, Visscher PM. GCTA: a tool for genome-wide complex trait analysis. Am. J. Hum. Genet. 2011;88:76–82. doi: 10.1016/j.ajhg.2010.11.011. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.Loh P-R, et al. Contrasting genetic architectures of schizophrenia and other complex diseases using fast variance components analysis. Nat. Genet. 2015;47:1385–1392. doi: 10.1038/ng.3431. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.Domingue BW, et al. The social genome of friends and schoolmates in the National Longitudinal Study of Adolescent to Adult Health. Proc. Natl. Acad. Sci. 2018;115:702–707. doi: 10.1073/pnas.1711803115. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Yengo L, et al. No evidence for social genetic effects or genetic similarity among friends beyond that due to population stratification: a reappraisal of Domingue et al. (2018) Behav. Genet. 2020;50:67–71. doi: 10.1007/s10519-019-09979-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Bulik-Sullivan, B. Relationship between LD Score and Haseman-Elston Regression. 10.1101/018283 (2015).
  • 25.de Los Campos G, Sorensen D, Gianola D. Genomic heritability: What is it? PLoS Genet. 2015;11:e1005048. doi: 10.1371/journal.pgen.1005048. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Yang J, et al. Common SNPs explain a large proportion of the heritability for human height. Nat. Genet. 2010;42:565. doi: 10.1038/ng.608. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Sudlow C, et al. UK Biobank: an open access resource for identifying the causes of a wide range of complex diseases of middle and old age. PLoS Med. 2015;12:e1001779. doi: 10.1371/journal.pmed.1001779. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28.Mandal, R., De Los Campo, G., Grueneberg, A. & Maiti, T. Small and large sample bias of REML estimates of genomic heritability estimates: an assessment using big data. Presented at the Joint Statistical Meetings in Baltimore, Maryland. (2017).
  • 29.Rawlik, K., Canela-Xandri, O., Woolliams, J. & Tenesa, A. SNP heritability: What are we estimating? Preprint at bioRxiv 10.1101/2020.09.15.276121. (2020).
  • 30.Evans LM, et al. Comparison of methods that use whole genome data to estimate the heritability and genetic architecture of complex traits. Nat. Genet. 2018;50:737–745. doi: 10.1038/s41588-018-0108-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31.Yang J, et al. Genetic variance estimation with imputed variants finds negligible missing heritability for human height and body mass index. Nat. Genet. 2015;47:1114. doi: 10.1038/ng.3390. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Speed D, Hemani G, Johnson MR, Balding DJ. Improved heritability estimation from genome-wide SNPs. Am. J. Hum. Genet. 2012;91:1011–1021. doi: 10.1016/j.ajhg.2012.10.010. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33.Browning SR, Browning BL. Population structure can inflate SNP-based heritability estimates. Am. J. Hum. Genet. 2011;89:191–193. doi: 10.1016/j.ajhg.2011.05.025. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34.Hou K, et al. Accurate estimation of SNP-heritability from biobank-scale data irrespective of genetic architecture. Nat. Genet. 2019;51:1244–1251. doi: 10.1038/s41588-019-0465-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Peyrot WJ, Robinson MR, Penninx BWJH, Wray NR. Exploring boundaries for the genetic consequences of assortative mating for psychiatric traits. JAMA Psychiatry. 2016;73:1189–1195. doi: 10.1001/jamapsychiatry.2016.2566. [DOI] [PubMed] [Google Scholar]
  • 36.Zietsch BP, Verweij KJH, Heath AC, Martin NG. Variation in human mate choice: simultaneously investigating heritability, parental influence, sexual imprinting, and assortative mating. Am. Nat. 2011;177:605–616. doi: 10.1086/659629. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 37.Eaves L, et al. Comparing the biological and cultural inheritance of personality and social attitudes in the Virginia 30,000 study of twins and their relatives. Twin Res. Hum. Genet. 1999;2:62–80. doi: 10.1375/136905299320565933. [DOI] [PubMed] [Google Scholar]
  • 38.Kemper KE, et al. Phenotypic covariance across the entire spectrum of relatedness for 86 billion pairs of individuals. Nat. Commun. 2021;12:1050. doi: 10.1038/s41467-021-21283-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39.Nagylaki T. Assortative mating for a quantitative character. J. Math. Biol. 1982;16:57–74. doi: 10.1007/BF00275161. [DOI] [PubMed] [Google Scholar]
  • 40.Gimelfarb A. Quantitative characters under assortative mating: Gametic model. Theor. Popul. Biol. 1984;25:312–330. doi: 10.1016/0040-5809(84)90012-1. [DOI] [PubMed] [Google Scholar]
  • 41.Bai, Z. & Silverstein, J. W. Spectral Analysis of Large Dimensional Random Matrices. (Springer, 2010).
  • 42.Elston RC, Buxbaum S, Jacobs KB, Olson JM. Haseman and Elston revisited. Genet. Epidemiol. 2000;19:1–17. doi: 10.1002/1098-2272(200007)19:1<1::AID-GEPI1>3.0.CO;2-E. [DOI] [PubMed] [Google Scholar]
  • 43.Jiang J, Li C, Paul D, Yang C, Zhao H. On high-dimensional misspecified mixed model analysis in genome-wide association study. Ann. Stat. 2016;44:2127–2160. [Google Scholar]
  • 44.Tahmasbi R, Keller MC. GeneEvolve: a fast and memory efficient forward-time simulator of realistic whole-genome sequence and SNP data. Bioinformatics. 2017;33:294–296. doi: 10.1093/bioinformatics/btw606. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45.Van Rossum, G. & Drake, F. L. Python 3 Reference Manual. (CreateSpace, 2009).
  • 46.Oliphant, T. NumPy: A Guide to NumPy (Trelgol Publishing, 2006).
  • 47.Virtanen, P., Gommers, E., Oliphant, T. E., & Others. SciPy 1.0: Fundamental algorithms for scientific computing in python. Nature Methods17, 261–272 (2020). [DOI] [PMC free article] [PubMed]
  • 48.Dask Development Team. Dask: library for dynamic task scheduling. (2016). https://dask.org.
  • 49.The 1000 Genomes Project Consortium. A global reference for human genetic variation. Nature526, 68–74 (2015). [DOI] [PMC free article] [PubMed]
  • 50.Loh P-R, et al. Reference-based phasing using the Haplotype Reference Consortium panel. Nat. Genet. 2016;48:1443–1448. doi: 10.1038/ng.3679. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 51.Loh, P.-R., Kichaev, G., Gazal, S., Schoech, A. P. & Price, A. L. Mixed-model association for biobank-scale datasets. Nat. Genet. 1, 906–908 (2018). [DOI] [PMC free article] [PubMed]
  • 52.Border R, Becker S. Stochastic Lanczos estimation of genomic variance components for linear mixed-effects models. BMC Bioinform. 2019;20:411. doi: 10.1186/s12859-019-2978-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 53.Speed D, Hemani G, Johnson MR, Balding DJ. Improved heritability estimation from genome-wide SNPs. Am. J. Hum. Genet. 2012;91:1011–1021. doi: 10.1016/j.ajhg.2012.10.010. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 54.Chang CC, et al. Second-generation PLINK: rising to the challenge of larger and richer datasets. GigaScience. 2015;4:7. doi: 10.1186/s13742-015-0047-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 55.Finucane HK, et al. Partitioning heritability by functional annotation using genome-wide association summary statistics. Nat. Genet. 2015;47:1228–1235. doi: 10.1038/ng.3404. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 56.Border, R. SL_REML: v0.1b. (2021). 10.5281/ZENODO.5784640.
  • 57.R. Core Team. R: A Language and Environment for Statistical Computing. R Foundation for Statistical Computing, Vienna, Austria. (2018). https://www.R-project.org/.
  • 58.Wickham, H. ggplot2: Elegant Graphics for Data Analysis. (Springer, 2016).
  • 59.Venables, W. N. & Ripley, B. D. Modern Applied Statistics with S. (Springer, 2002).
  • 60.Bycroft C, et al. The UK Biobank resource with deep phenotyping and genomic data. Nature. 2018;562:203–209. doi: 10.1038/s41586-018-0579-z. [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

Supplementary Information (279.2KB, pdf)
Peer Review File (224.4KB, pdf)
Reporting Summary (291.1KB, pdf)

Data Availability Statement

Data are available through the UK Biobank Access Management System (https://www.ukbiobank.ac.uk/enable-your-research/apply-for-access). A full catalogue of the data examined, including raw materials and descriptive statistics, is available via the online showcase (https://biobank.ndph.ox.ac.uk/ukb). A full description of the study protocols has been provided by the UK Biobank team60.

The REML implementation utilized is available online (https://github.com/rborder/SL_REML56).


Articles from Nature Communications are provided here courtesy of Nature Publishing Group

RESOURCES