Abstract
Estimates from Mendelian randomization studies of unrelated individuals can be biased due to uncontrolled confounding from familial effects. Here we describe methods for within-family Mendelian randomization analyses and use simulation studies to show that family-based analyses can reduce such biases. We illustrate empirically how familial effects can affect estimates using data from 61,008 siblings from the Nord-Trøndelag Health Study and UK Biobank and replicated our findings using 222,368 siblings from 23andMe. Both Mendelian randomization estimates using unrelated individuals and within family methods reproduced established effects of lower BMI reducing risk of diabetes and high blood pressure. However, while Mendelian randomization estimates from samples of unrelated individuals suggested that taller height and lower BMI increase educational attainment, these effects were strongly attenuated in within-family Mendelian randomization analyses. Our findings indicate the necessity of controlling for population structure and familial effects in Mendelian randomization studies.
Subject terms: Genetics, Medical research, Epidemiology, Genetics research, Risk factors
Family-based study designs have been applied to resolve confounding by population stratification, dynastic effects and assortative mating in genetic association analyses. Here, Brumpton et al. describe theory and simulations for overcoming such biases in Mendelian randomization through within-family studies.
Introduction
Mendelian randomization is an approach that uses genetic variants as instrumental variables to estimate the causal effects of one trait (the ‘exposure’) on another (the ‘outcome’)1–5. It has gained popularity due to the recent expansion in the scale of genome-wide association studies (GWAS) and because it can ameliorate bias due to processes of residual confounding and reverse causation that affect most other observational approaches. In order for Mendelian randomization estimates to be valid, the genetic instrument must meet three assumptions: (1) relevance, it must associate with the exposure, (2) independence, there must be nothing that causes both the instrument and the outcome and (3) exclusion, the association of the instrument and the outcome must be entirely mediated via the exposure. Attention has been focused on developing methods to overcome bias in Mendelian randomization studies due to horizontal pleiotropy6–11, which would violate the exclusion assumption. However, in this paper we focus on the second assumption: independence. We demonstrate how population and familial effects can violate the second assumption, and that traditional family-based methods are well placed to rectify this problem.
Mendel’s laws of genetic inheritance provide a rationale for why much genetic variation for a given trait will be independent of the environment and genetic variation for other traits1,12. However, environmental and social factors such as assortative mating, dynastic effects, and population structure may affect the distribution of genetic variants for specific traits within populations (see Supplementary Note 1)13–16. Figure 1 illustrates the impact of these processes in the context of Mendelian randomization. The commonality amongst all three processes is that they induce a spurious association between the instrumenting variant and the outcome through confounding. Assortative mating occurs when partners are selected on the basis of phenotype6,17. For example, couples tend to have more similar education and body mass index than would be expected by chance18,19. If assortative mating arises due to individuals with a particular genetic predisposition selecting mates who have a particular genetically influenced phenotype, this can induce spurious genetic associations which can result in biased estimates from Mendelian randomization studies6. In addition, social homogamy may lead to people selecting partners who are similar to themselves20, and this can compound across generations6. Dynastic effects can occur when the expression of parental genotype in the parental phenotype directly affects the offspring phenotype. For example, higher educated parents might support their children’s education by providing a stimulating environment, being able to afford tutoring for their child, buying homes in better school districts, or paying for private schools. Other relationships including siblings, grandparents, uncles/aunts and cousins which may affect the offspring’s phenotype can also be thought of as a likely generally weaker form of dynastic effects. Finally, residual population structure occurs when there are geographic or regional differences in allele frequency relating to a trait of interest that cannot necessarily be controlled for via principal components13. Confounding by population stratification1, in which ancestry is correlated with both phenotypes and genotypes, was a major concern during the early development of Mendelian randomization1. However, this fear was gradually assuaged by a decade of GWAS results that were apparently reliable in the face of population structure21. GWAS are now performed on a huge scale; as a consequence the problem of population stratification is again of potential concern because the high statistical power of large studies renders them susceptible to bias from very subtle population structure13,22.
Confounding in genetic association estimates, as induced by population stratification, dynastic effects and assortative mating, can and has been resolved by using family-based study designs6,23,24. For example, in sibling pair studies, genetic associations at loci can be partitioned into between pair and within pair components23. Because genetic differences within sibling pairs reflect random independent meiotic events, within pair effects are unrelated to population stratification and most potential confounders that might influence the phenotype. Similarly, other family-based designs and within-family tests to adjust for or exploit parental genotypes exist, such as estimating maternal and offspring genetic effects using structural equation modelling25, quantitative transmission/disequilibrium tests26,27, or mother-father-offspring trios to adjust for parental genotypes28. Such within-family designs have been used to validate results from GWAS29,30, obtain unbiased heritability estimates31, and assess causation in the classical twin design32,33. Yet, despite the initial extended proposal of Mendelian randomization advising that the only way to ensure true randomization was through a within-family design1, to-date contemporary implementations using modern genomic methods have rarely been performed. The principal reason for this has been a lack of genomic data collected from families at a scale sufficient to be suitably powered. As we now enter the age of national scale biobanks and very large twin studies, this essential extension of Mendelian randomization is becoming feasible.
This paper presents theory and simulations that demonstrate how within-family designs can be coupled with genomic data to perform Mendelian randomization analyses unbiased by population structure and family effects. We integrate these approaches in a modular fashion alongside other methods that have been developed for pleiotropy-robust inference (i.e. to be resilient to violations of the third assumption of Mendelian randomization)7–9,34. Using 28,777 siblings from HUNT, 32,231 siblings from the UK Biobank, and 222,368 siblings from 23andme we illustrate these methods empirically. First, we estimate the causal effect of BMI on high blood pressure and risk of diabetes as positive controls. Second, we estimate the casual effect of height and BMI on educational attainment and find substantial differences between estimates from unrelated individuals and estimates using within-family-based approaches, demonstrating the importance of controlling for family effects and population structure in Mendelian randomization studies.
Results
Bias evaluated using directed acyclic graphs
There are three mechanisms depicted in Fig. 1 that induce bias in the SNP-outcome relationship of a Mendelian randomization design. The problem of population structure is well known and has been examined in detail in Lawson et al. 201935. A similar confounding structure can be induced through dynastic effects because there is a path between the offspring instrument value and the offspring outcome value, which arises through parental inheritance.
Similarly, cross trait assortative mating can induce bias due to a form of collider bias, where conditioning on the assortment of parents induces a correlation between the SNP effects on x and all other genetic effects on y. As this has been demonstrated in simulations before6, below we demonstrate the utility of within-family designs for protecting MR estimates from bias due to familial effects, and then illustrate their importance using empirical examples. We report the analytic bias terms for the dynastic effects and assortative mating in Supplementary Notes 2 and 3.
Simulations demonstrates robustness of the within-family design
We conducted forward-in-time simulations to investigate bias and power related to estimating the causal effect of an exposure on an outcome. In the simulations each parent transmits genotypes to their offspring, and the parents’ exposure had a direct causal effect on the offspring’s outcome (Fig. 1b). In null simulations where the exposure effect on the outcome was zero, the Mendelian randomization estimates using unrelated individuals were biased and had high false discovery rates in the presence of dynastic effects (false discovery rate > 0.75 when the confounders were Cx and Cy = 0.1, , n > 10,000). The pattern of bias in the sibling and trio methods was substantially improved, with a small amount of weak instrument bias observed, which attenuated as sample sizes improved (Fig. 2).
Where we simulated the exposure to have a causal effect on the outcome Mendelian randomization using unrelated individuals had the highest power (Fig. 2). However, the sibling and trio design also performed well with larger sample and effect size (power > 0.9 when sample sizes ≥ 10,000, dynastic effect ≤ 0.2, effect size = 0.05). The within-family models were substantially less powerful than Mendelian randomization using unrelated individuals; as usual, controlling bias comes at a cost.
Empirical study using HUNT, UK Biobank and 23andMe
We begin our empirical study by using two positive control MR analyses to estimate the causal effects of two well established causal effects: BMI on diabetes and BMI on high blood pressure. We ran these analyses with and without allowing for a within family effect.
Participants with higher BMI were more likely to have diabetes: each 1 kg/m2 higher BMI was associated with a 0.60 (95%CI: 0.55–0.65, p-value <1.2 × 10−136) percentage point increase in the diabetes risk. These differences were modestly attenuated after including a family fixed effect (0.46, 95%CI: 0.40–0.52, p-value = 8.5 × 10−52). The Mendelian randomization estimate using unrelated individuals suggested that each unit increase in BMI increased the risk of having diabetes by 0.82 (95%CI: 0.71–0.93, p-value = 3.3 × 10−50) percentage points. This estimate remained after allowing for the fixed effects of family (1.01 percentage point increase per 1 kg/m2 increase in BMI, 95%CI: 0.58–1.44, p-value = 3.3 × 10−06). The summary data Mendelian randomization analysis allowing for family effects estimates were similar (0.75 percentage point increase per 1 kg/m2 increase in BMI, 95%CI: 0.38–1.13, p-value = 7.6 × 10−05, pdiff unrelated = 0.74). On average the associations of the SNPs with BMI and diabetes were similar before and after allowing for a family fixed effect, falling 7% (95%CI: −5% to 20%, p-value = 0.26) and increasing 11% (95%CI: −17% to 40%, p-value = 0.42) respectively.
Participants with higher BMI were more likely to have high blood pressure; each 1 kg/m2 higher BMI was associated with a 2.63 (95%CI: 2.54–2.72, p-value < 1 × 10−300) percentage point increase in high blood pressure risk. This association did not attenuate after including a family fixed effect (2.42, 95%CI: 2.30–2.54, p-value < 1 × 10−300). The Mendelian randomization estimate using the sample of unrelated individuals suggested that each unit increase in BMI increased the risk of having high blood pressure by 1.59 (95%CI: 1.34–1.83, p-value = 1.3 × 10−36) percentage points. The Mendelian randomization estimate was similar after allowing for a family fixed effect (1.13 percentage point increase per 1 kg/m2 increase in BMI, 95%CI: 0.04–2.21, p-value = 0.04). The summary data Mendelian randomization estimates were similar (0.76 percentage point increase per 1 kg/m2 increase in BMI, 95%CI: −0.19 to 1.70, p-value = 0.12, pdiff unrelated = 0.10). On average the associations of the SNPs and high blood pressure fell by 51% (95%CI: 23–80%, p-value = 0.0006) after allowing for family fixed effects. Overall, the associations found from the within-family studies for these positive controls establish the utility of the study design with the current scale of data.
Next, in order to examine the contrast between MR methods using unrelated individuals and family-based designs, we investigate two associations that are more liable to bias due to population structure and familial effects: height on years of education, and BMI on years of education. Taller participants were more educated; each 10 cm increase in height was associated with an additional 0.45 (95%CI: 0.43–0.48, p-value = 9.0 × 10−307) years of education (Fig. 3). This association was attenuated after including a family fixed effect (0.22, 95%CI: 0.18–0.26, p-value = 4.6 × 10−25). The Mendelian randomization estimate using the sample of unrelated individuals implied that each 10 cm increase in height caused an increase of 0.17 (95%CI: 0.14–0.20, p-value = 8.5 × 10−26) years of education. After allowing for a family fixed effect, the Mendelian randomization estimate was greatly attenuated suggesting little evidence of a causal effect of height on education (mean difference per 10 cm increase in height: 0.002, 95%CI: −0.13 to 0.13, p-value = 0.98). When we used two sample Mendelian randomization by estimating the SNP-exposure and SNP-outcome associations in different samples (split sample)36,37 and then meta-analysing, there was little evidence of a causal effect of height on education (mean difference per 10 cm increase in height = 0.009, 95%CI: −0.11 to 0.13, p-value = 0.87, pdiff unrelated = 0.008). On average, the associations of these SNPs with height and education fell by 18% (95%CI: 14–22%, p-value = 8.5 × 10−24) and 61% (95%CI: 49–73%, p-value = 1.5 × 10−21) after allowing for family fixed effects, respectively.
On average, participants with higher BMI were less educated: each 1 kg/m2 higher BMI was associated with 0.07 fewer years of education (95%CI: 0.06 to 0.07, p-value = 8.4 × 10−222, see Fig. 3). This association was attenuated after including a family fixed effect (0.02, 95%CI: 0.01 to 0.02, p-value = 5.1 × 10−13). The Mendelian randomization estimate without allowing for familial effects implied that each additional unit of BMI decreased years of schooling by 0.03 (95%CI: 0.02–0.04, p-value = 2.6 × 10−06). This effect was eliminated after allowing for a family fixed effect, providing little evidence for a causal effect of BMI on educational attainment (mean difference per 1 kg/m2 higher BMI = 0.00, 95%CI: −0.04 to 0.05, p-value = 0.89). Again, the effect was also largely attenuated when we used two sample summary data approaches. Using separate samples to estimate the SNP-exposure and the SNP-outcome associations allowing for family fixed effects, there was little evidence of an effect of BMI on educational attainment (mean difference per 1 kg/m2 higher BMI = −0.01, 95%CI: −0.05 to 0.03, p-value = 0.59, pdiff unrelated = 0.002). On average, the association of the 69 BMI SNPs and education fell by 65% (95%CI: 34–76%, p-value = 1.8 × 10−06) after allowing for family fixed effects. These results suggest that the methods that do not account for familial effects may be biased estimators of the individual level causal effect. We found little evidence of heterogeneity between the two sample Mendelian randomization estimates from UK biobank and HUNT, except for the effect of BMI on diabetes (p-value = 0.027).
We investigated whether our results could be explained by pleiotropy using the weighted median, weighted modal and MR-Egger estimators. These summary data Mendelian randomization estimators use estimates of the SNP-exposure and SNP-outcome associations to estimate the effect of the exposure on the outcome. These estimators are robust to a number of forms of pleiotropy. There was little evidence of differences between the inverse variance weighted (IVW) and pleiotropy robust methods, pleiotropy from the MR-Egger intercept, or heterogeneity across the studies (Supplementary Fig. 1).
We investigated the difference (shrinkage) of the total to within family SNP-phenotype associations in HUNT and UK Biobank using seemingly unrelated regression (SUR). The estimated shrinkage is given in Supplementary Table 1. The shrinkage of the estimates suggests that accounting for familial effects affects the estimated SNP-phenotype associations for all phenotypes analysed. Educational attainment was the most strongly affected, falling by 56.8% (95%CI: 49.2–64.4%). Diabetes was the least affected falling by 11.2% (95%CI: 1.3–21.1%).
We replicated our findings using data from 223,368 individuals (111,684 families) sampled by 23andMe (Supplementary Fig. 2). There was evidence that a 1-kg m−2 higher BMI increased the absolute individual level liability to diabetes and high blood pressure by 0.69 (95%CI: 0.37–1.00) and 1.26 (95%CI: 0.90–1.63) per 100 people, respectively. There was little evidence of heterogeneity across the weighted median, modal or MR-Egger estimators. This suggests that under a range of assumptions about pleiotropy and controlling for familial effects, BMI is likely to increase risk of diabetes and high blood pressure. In contrast, there was little evidence that height or BMI had a substantial effect on educational attainment. The results are precise and suggest that each 10 cm taller height is unlikely to increase years of education by more than 0.02 years (mean difference = 0.00, 95%CI: −0.01 to 0.02), and a 1 kg/m2 unit higher BMI is unlikely to decrease years of education by more than 0.02 years (mean difference = 0.00, 95%CI: −0.02 to 0.02). The weighted median, modal and MR-Egger estimators were consistent with the IVW estimates.
Discussion
We have presented within-family methods for Mendelian randomization and demonstrated how confounding due to population structure and familial effects can bias Mendelian randomization studies using unrelated individuals. As with most instrumental variable estimators, ceteris paribus the size of the bias induced by familial effects will be larger the smaller the individual level causal effect of the genetic variant on the exposure. The simulations illustrated how bias occurs even if the phenotype of interest has no direct causal effect on the outcome, and that these effects can theoretically induce false positive findings. The simulations further demonstrated how samples of related individuals can be used to control for these effects either using siblings or parent-offspring trios. These designs can be used in conjunction with existing approaches for accounting for horizontal pleiotropy, another potential source of bias to arise in Mendelian randomization studies. However, estimates from within-family Mendelian randomization are less precise than estimates using unrelated individuals, which is consistent with those seen for allelic association38–40. Compounding the issue of statistical power, there are fewer relatives than unrelated individuals in most studies. In samples from HUNT, UK Biobank and 23andMe, we investigated the impact of population structure and familial effects on four empirical examples; the effects of BMI on the risk of diabetes and high blood pressure and the effects of height and BMI on educational attainment. We found that the effects of BMI on the risk of diabetes and high blood pressure were less precise, but consistent when allowing for family effects. Conversely, the effects of height and BMI on educational attainment were almost entirely attenuated after allowing for family fixed effects, suggesting that results from previous Mendelian randomization studies using unrelated individuals may have been biased.
A substantial literature has used Mendelian randomization and samples of unrelated individuals to establish that BMI increases the risk of diabetes and high blood pressure later in life41. Our results suggest that confounding due to familial effects is unlikely to explain these results, and that they are more likely due to an individual level causal effect of BMI on an individual’s risk. Behavioural geneticists have used longitudinal data from samples of twins to understand how different family members affect each other over time42,43. Other studies have used animal models to investigate how social genetic effects (i.e. indirect or dynastic effects) can affect health outcomes44. A rich literature has established that height and BMI are respectively positively and negatively associated with educational attainment and socioeconomic position45–47. Consistent with our results, previous studies using twin data have indicated that the relationship between height and educational attainment is likely to be due to familial effects48,49. These findings raise questions about whether height and BMI have individual level causal effects on socioeconomic outcomes later in life50–52. Our results indicate that familial effects can have important phenotypic consequences on widely studied relationships such as between height and BMI and education.
In general, within-family Mendelian randomization estimates are less precise than estimates from samples of unrelated individuals. Thus, within-family estimates of a specific association can be considered more robust, but less efficient estimates. Therefore, if there is evidence of differences between the estimates, then generally the more imprecise but less biased within-family estimates should be preferred. Our estimates of the effect of height and BMI on educational attainment are an example of this situation. If there is little evidence of differences between estimates using unrelated individuals and those allowing for family effects, then the former estimates should be preferred. Our estimates of the effect of BMI on risk of diabetes and high blood pressure are an example of this situation. This is analogous to comparing instrumental variable estimates to multivariable adjusted estimates3. While allowing for family fixed effects or using difference estimators will account for dynastic effects or assortative mating, these methods will not address bias due to violations of the third Mendelian randomization assumption (exclusion restriction). This assumption is that the SNPs have no direct effect of the SNPs on the outcome (i.e. no pleiotropy). MR-Egger, weighted median and mode, or Lasso estimators are robust to various forms of violations of this assumption7–9,34. It is trivial to use these estimators with the summary data methods we describe above and illustrate in Supplementary Figure 1. However, typically these estimators have lower power than the IVW estimator. The within-family summary data SNP-exposure and SNP-outcome associations, which allow for a family fixed effect, can be used with existing summary data estimators. Other proposed approaches allow for sophisticated control and estimation of pleiotropy and can trivially include family fixed effects53, but again generally have lower power and require more data than Mendelian randomization approaches using allele scores or IVW. Supplementary Table 2 contains the ratio of standard errors for the MR analyses using unrelated individuals and allowing for a familial effect for the empirical results for the MR using individual participant data (IPD) and polygenic scores (MR-PRS) and two sample Mendelian randomization (2SMR) using an IVW. These estimates use identical samples, but the within family estimates had standard errors that were between 23% and 71% larger. This implies that the within family analyses would require total samples sizes between 150% and 294% larger in order to match the power of current sample sizes of unrelated individuals. A further issue concerns residual population stratification in ancestrally heterogenous GWAS such as GIANT, which may bias SNP-phenotype associations for height, and affect analyses in other samples using SNPs identified in those GWAS22. Within-family Mendelian randomization can control for residual population stratification.
Within-family estimates from samples of siblings that allow for a family fixed effect are robust to biases due to dynastic effects, assortative mating and fine population structure1,54,55. Unlike analyses using summary data from unrelated individuals, two sample within family designs do not require the familial effects to be the same in the two samples. This is because the (different) familial effects in each sample are controlled for and the MR estimates use the individual level causal effect. Of family-based approaches, the sibling design is potentially most useful because large amounts of such data are available through biobanks and family-based studies. A limitation of current sibling designs is that they assume no sibling-sibling interaction effects. Phenotypic similarity of siblings may reflect ‘passive’ sharing of environments or genes, or ‘active’ imitation or contrast effects arising from interaction between siblings56. Contrast effects, which may inflate the estimated contribution of the nonshared environment in twin studies57, can be mimicked by parental rating bias58,59. However, for biological phenotypes where rating bias is not a concern, Mendelian randomization could be used to study the influence via imitation or contrast of one sibling’s genotype on the other’s phenotype, sometimes called ‘social genetic effects’44, thereby adding to work on dynamic interplay between siblings42,43.
Population structure, dynastic effects and assortative mating may cause bias in GWAS14. If a GWAS is aiming to estimate the causal effect of variants on a given phenotype, then samples of unrelated individuals may produce biased estimates and potentially spurious findings. Population structure and dynastic effects can cause bias under the null hypothesis of no effect i.e. induce spurious false positive signals. Single trait assortative mating will, however, be an unbiased test of the null hypothesis that the SNP does not affect the phenotype but will inflate SNP-phenotype associations. However, cross trait assortative mating can cause bias under the null hypothesis. Future studies could re-run GWAS on a full range of traits on samples of siblings allowing for family fixed effects. This approach would also address concerns about residual population stratification in GWAS, which may bias SNP-phenotype associations in GWAS including populations with heterogeneous ancestry22. However, to detect genetic variants that explain 0.1% of the variance of either the offspring or maternal effects (i.e. a 2 df test) will require sample sizes of 50,000 mother-offspring pairs to detect GWAS (α = 5 × 10−08). Sample sizes of around 10,000 will be required to partition known loci of similar size to the above into maternal and/or offspring genetic effects (α = 0.05)60. This sample size would provide valuable information about which phenotypes are likely to be most strongly affected by dynastic effects and assortative mating. It is likely that many, particularly biological, traits are relatively unaffected by these effects and thus GWAS results for these traits are unlikely to be biased due to these factors, how this requires investigation. Recent GWAS of social traits such as education reported the attenuation after allowing for family effects in their estimates in small samples30. Further work in this area should include estimating the consequences of familial effects for GWAS and Mendelian randomization estimates.
Population structure and familial effects can cause bias in Mendelian randomization studies. We found differences between estimates from unrelated individuals and within-family estimates in simulations and empirical analysis. The causal estimates of the effect of height and BMI on educational attainment were almost entirely attenuated after allowing for family fixed effects. Within-family methods, either using individual-level, or summary data Mendelian randomization approaches can be used to obtain unbiased estimates of the causal effects of phenotypes in the presence of dynastic effects, assortative mating and population stratification.
Methods
Statistical models
We describe four methods of using family data for Mendelian randomization below. If there are only two siblings, the difference and family fixed effects methods are equivalent, see appendix for proof.
The model to be estimated can be described as:
1 |
2 |
where yk,i and xk,i are the outcome and exposure for individual from family k. gk,i is a set of genetic variants that are associated with the exposure. fk is a family-level confounder, modelled in the empirical analysis via a family fixed effect (i.e. an indicator variable for each family). This accounts for all time invariant family-level confounders of the genetic variant-outcome association. Both gk,i and fk are functions of a family-level genetic component. uk,i and vk,i are random error terms. Ck,i is a confounder of the association of the exposure and the outcome, γ2 and β2 indicate the effect of the confounder on the exposure and the outcome. β1 is the true causal effect of the exposure on the outcome which we wish to estimate. This model implies that Mendelian randomization using data from unrelated individuals would produce biased estimates of β1 due to the correlation between gk,i,j and fk. The effect of the exposure on the outcome can be estimated using individual level data allowing for a family fixed effect, or summary level data using difference methods within families, or by allowing for a family fixed effect. We describe these approaches below.
Siblings difference method
To apply Mendelian randomization to samples of siblings, effect estimates for the SNP-exposure association and SNP-outcome association are based on correlating the phenotypic divergence with the genotypic divergence within sibling pairs. Taking the difference between siblings removes the effect of the family-level confounder. For any pair of siblings within family k, indicated k,1 and k,2, the genotypic difference at genetic variant j is:
3 |
The association between the genotypic differences and phenotypic differences in the exposure, x, and outcome y, for SNP j can be estimated via:
4 |
5 |
The estimated associations, yj and Γj, can be used with any summary level Mendelian randomization estimator. Here we apply the inverse variance weighted (IVW) approach. Each pair of siblings can be included as a separate pseudo-independent pair.
Family fixed effect with sibling data
Alternatively, we can estimate the associations using family fixed effects indicated by fk for each family, which is equivalent to centring the data by subtracting the family mean.
6 |
and
7 |
This estimator accounts for any differences between families, which includes any effect of assortative mating or dynastic effects common to all siblings by including a dummy variable for each family. This provides unbiased estimates of the SNP-exposure and SNP-outcome associations. These estimates can be used with standard summary data Mendelian randomization methods. The difference and family fixed effects methods are identical if there are only two siblings in each family. This fact follows from substituting equations iv and v into equations ii and iii and simplifying (see “Appendix” for proof). If there are more siblings, then the estimators are non-identical, but likely to be similar, see the appendix for further details. An analytically convenient method to use for this estimator is the within transformation. The within transformation either de-means the variables for or additionally adjusts for the family level means. Demeaned using the within transformation is computationally efficient, particularly for large sample sizes—and is the analytic method used by many statistical packages for fixed effects estimators. An advantage of further adjusting for the within family mean is that it provides an estimate of the between family effect. Cluster robust standard errors can be used to allow for clustering and relatedness within families.
Adjusting for parental genotype with mother-father-offspring trio data
Finally, if data on mother-father-offspring trios are available, the estimates of the SNP-exposure and SNP-outcome associations for each child can be adjusted for their mother’s and father’s genotypes, indicated by gim,j and gif,j respectively61:
8 |
and
9 |
Again, these associations can be used to estimate the effect of the exposure on the outcome using summary data Mendelian randomization methods. It is possible to estimate the effect of offspring genotype on the exposure and outcome conditional on the mother and father genotype using summary data25,61. The estimated causal effect can be biased if both the SNP-exposure and SNP-outcome associations are estimated in the same sample62. This bias can be eliminated by splitting the sample and estimating the associations in separate samples.
Two-stage least squares with sibling data
Many summary data methods assume no measurement error on the SNP-exposure association (NOME)63. This assumption may lead to underestimation of the standard error of the effect of the exposure on the outcome. Two-stage least squares can estimate the effect of the exposure on the outcome using the individual-level data from siblings. Estimators that use individual-level data can integrate the estimation error from the SNP-exposure association. We used cluster robust standard errors that allow for clustering and relatedness within family. We used the commands xtivreg and plm64.
Simulation of dynastic effects
We simulated a cohort consisting of pairs of unrelated mothers and fathers who had two offspring. All individuals had a genome of 90 SNPs. We set the distribution of identity by descent (IBD) across the 90 SNPs as N (0.5,0.037) for each sibling pair, as per theory, because there are on average 90 recombination events separating human siblings. Hence, we assume that each SNP has an independent effect on the exposure.
We defined parents’ exposure and outcome by defining confounders u, exposure x and outcome y. A directed acyclic graph illustrating these relationships is shown in Fig. 1b. The confounder influences the parents’ exposure and outcome. The offspring have the same confounding structure, except the parent’s exposure affects their offspring’s outcomes via a dynastic or ancestry effect. The genetic influence of each of the 90 SNPs on the exposure amounts to explaining Vgx of the variance in the exposure. We assumed no horizontal pleiotropy. All estimates assume Vgx = 0.1 and 90 independent causal variants (i.e. somewhat similar to GIANT results for BMI)65.
To generate the phenotypes under a model of dynastic effects, the offspring outcome was influenced by both the offspring exposure and the parents’ exposures. In these simulations all phenotypes had mean of 0 and variance of 1. Differing strengths of dynastic effects by which the parental exposure influenced the offspring outcome were generated (bux = 0,0.01,0.02) under a set of models with a range of causal effects of the exposure on the outcome (bxy = 0,0.001,0.002,0.005,0.01,0.05). We calculated the false discovery rate (proportion of test with p-value < 0.05) for 100 iterations of each simulation using each of three methods: standard IVW as applied to one of each individual in a set of siblings (i.e. a sample of unrelated individuals), the within-family sibling design, and the within-family trio design. Finally, we calculated bias (estimated effect— simulated effect) for all three study approaches by simulated confounding (Cx and Cy = 0,0.1,0.2), dynastic bias (bUx = 0,0.1,0.2) and simulated causal effects (bxy = 0,0.001,0.002,0.005,0.01,0.05). The sample sizes were 10,000, 20,000, 40,000, 60,000 and 100,000 sibling pairs for all simulations.
If the familial effect influences the exposure, but does not affect the outcome, then we would not expect bias in the Mendelian randomization analysis. This is because there would be no open path between the SNP and the outcome. This is illustrated in the directed acyclic graph illustrated in Supplementary Fig. 3.
Empirical analysis
To demonstrate the approach and assess potential bias from population structure and familial effects, we conducted within-family Mendelian randomization using two illustrative examples in the HUNT and the UK Biobank66–68. We estimated the effects of BMI on high blood pressure and diabetes and the effects of height and BMI on educational attainment. The effects of BMI on diabetes and high blood pressure have been well studied and provide a positive control41. These effects on clinical outcomes experienced later in life are unlikely to be due to assortative mating or dynastic effects, because parents are less likely to assort on genetic liability for diabetes or high blood pressure. The genetic liability for these conditions was probably unknown when the couples were formed. Previous longitudinal and Mendelian randomization studies using unrelated individuals have suggested that height and BMI may affect educational attainment45,50. Such an association, if causal, might be counteracted by changing educational policy. However, the association may be due to parents’ education, via dynastic effects or assortative mating, where more educated people select taller and slimmer partners. Assortative mating and dynastic effects can confound the association between genetic variants when data from the offspring generation are used. Therefore, the ratio of individual-level causal effects to family-level effects is likely to be higher for the effects of BMI on clinical end points than for the effects of height and BMI on education.
The Nord-Trøndelag Health Study
The Nord-Trøndelag Health Study (HUNT) is a population-based cohort study. The study was carried out at four time points over approximately 40 years (HUNT1 [1984-1986], HUNT2 [1995-1997] and HUNT3 [2006-2008] and HUNT4 [2017-2019]). A detailed description of HUNT is available66. We include 71,860 participants from HUNT2 and HUNT3 as they have been recently genotyped using one of three different Illumina HumanCoreExome arrays (HumanCoreExome12 v1.0, HumanCoreExome12 v1.1 and UM HUNT Biobank v1.0). For a flow chart of participants inclusion and exclusion from the study see Supplementary Figure 4. Imputation was performed on samples of recent European ancestry using Minimac3 (v2.0.1, http://genome.sph.umich.edu/wiki/Minimac3) from a merged reference panel constructed from the Haplotype Reference Consortium (HRC) panel (release version 1.1) and a local reference panel based on 2202 whole-genome sequenced HUNT participants12–14. Ancestry of all samples was inferred by projecting all genotyped samples into the space of the principal components of the Human Genome Diversity Project (HGDP) reference panel (938 unrelated individuals; downloaded from http://csg.sph.umich.edu/chaolong/LASER/)15,16, using PLINK. We defined recent European ancestry as samples that fell into an ellipsoid spanning exclusively the European population within the HGDP panel. We restricted the analysis to individuals of recent European ancestry who passed quality control. Among these, 17,329 pairs of siblings comprising of 28,777 siblings, were inferred using KING17, where an estimated kinship coefficient between 0.177 and 0.355, the proportion of the genomes that share two alleles IBD > 0.08, and the proportion of the genome that share zero alleles IBD > 0.04 corresponded to a full sibling pair.
HUNT descriptive data
There were 56,374 genotyped individuals in HUNT, including 11,448 families with at least two siblings comprising of 28,777 siblings (14,718 women) with complete data on genotype, height and education, diabetes and blood pressure (see supplementary figure 5 for a flow chart of participant inclusion and exclusion). On average the participants in the full unrelated sample were 48.7 (SD = 15.1) years old, had a BMI of 26.3 kg/m2 (SD = 3.9), were 177.5 cm tall (SD = 6.6) and 164.3 cm tall (SD = 6.1) for men and women respectively, 2.5% of them had diabetes, and 42.5% had high blood pressure and had 12.3 years (SD = 2.3) of education. High blood pressure was defined as either currently taking anti-hypertensive medication or having systolic or diastolic blood pressure above 140 mmHg or 90 mmHg on average across up to three measurements in HUNT2.
Questionnaires, clinical measurements and hospitalizations
Participants attended a health survey which included comprehensive questionnaires, an interview and clinical examination. The participants’ height and weight were measured with the participant wearing light clothes without shoes to the nearest centimetre and half kilogram, respectively. Education was defined using the question ‘What is your highest level of education’. Participants answered one of five categories (1) primary school, (2) high school for 1 or 2 years, (3) complete high school, (4) college or university less than 4 years, and (5) college or university 4 years or more. Participants with university degrees were assigned to 16 years of education, those who completed high school were assigned 13 years, those who attended high school for 1 or 2 years were assigned to 12 years, and those who only attended primary school were assigned to 10 years. Diabetes was defined using responses to the question ‘Have you had or do you have diabetes?’, which has high validity69. High blood pressure was defined as those with systolic or diastolic blood pressure equal to or more than 140 or 90 mmHg, respectively, or reported use of antihypertensive medication.
Ethics
This study was approved by the Regional Committee for Medical and Health Research Ethics, Central Norway and all participants gave informed written consent (application numbers 2015/1209, 2015/2292 and 2017/2479).
The UK Biobank
The UK Biobank invited over 9 million people and sampled 503,317 participants from March 2006 to October 2010. The study sampled individuals from 21 study centres across Great Britain. A detailed description of the study can be read elsewhere67,68,70. The participants gave blood samples, from which DNA was extracted. Full details of the quality control process are available elsewhere71. Briefly, we excluded participants who had mismatched genetic and reported sex, or those with non-XX or XY chromosomes, extreme heterozygosity or missingness. We used variants in the Haplotype Reference Consortium (HRC) panel.
The UK Biobank descriptive data
There were up to 370,180 genotyped individuals in the UK Biobank, among whom were 16,847 families with at least two siblings, with 33,642 siblings (19,445 women) with complete data on genotype, height and education, diabetes and blood pressure. We restricted the analysis to siblings born in England to ensure that they experienced a similar school system. For a flow chart of participants inclusion and exclusion from the study see Supplementary Fig. 5. On average, the participants without siblings were 57.5 (SD = 7.4) years old, had a BMI of 27.4 kg m−2 (SD = 4.8), were 175.0 cm tall (SD = 6.8) and 162.8 cm tall (SD = 6.2) for men and women respectively, had 14.1 (SD = 2.3) years of education. 4.5% of them had diabetes and 54.0% had high blood pressure. High blood pressure was defined as either having a diagnosis of high blood pressure or having systolic or diastolic blood pressure above 140 mmHg or 90 mmHg respectively on average across up to two clinic measurements.
Questionnaires, clinical measurements and hospitalizations
Weight (ID:21002) and standing height (ID:50) were measured using standardised instruments the baseline assessment centre visits. We defined education using the participants’ response to the touch screen questionnaires about their educational qualifications (ID = 6138). We defined educational attainment using the participants’ highest reported educational qualification at either measurement occasion. We assigned participants with university degrees to 17 years of education, those with professional qualifications such as teaching or nursing to 15 years, those with A-levels to 14 years, those with National Vocational Qualifications (NVQs), Higher National Diplomas (HNDs) to 13 years, General Certificate of Secondary Education (GCSEs), Certificate of Secondary Education (CSEs) or O-levels to 12 years, and those who reported no qualifications to 11 years, which was the legal minimum length of education for this cohort. Diabetes and high blood pressure were defined using responses to the self-reported touch screen questionnaire (ID = 6150 and ID = 2443). We used self-reported measures because measured blood pressure is affected by medication use. Missing values at the baseline visit were replaced by measures from subsequent visits if available.
Ethics
UK Biobank received ethical approval from the Research Ethics Committee (REC reference for UK Biobank is 11/NW/0382). This research was approved as part of application 8786.
23andMe replication
Individuals in the 23andMe replication dataset were customers of 23andMe, Inc., a personal genomics company. The 23andMe study protocols were approved by an external AAHRPP-accredited institutional review board and conducted in accordance with the Declaration of Helsinki principles.
There were 111,684 sibling pairs in the 23andMe dataset for a total of 223,368 genotyped individuals with complete data on genotype, height, BMI, education, diabetes, and blood pressure. For a flow chart of participants inclusion and exclusion from the study see Supplementary Fig. 6. Participants self-reported their mass (in kilograms) and height (in metres), from which BMI was calculated. To determine years of education, participants were asked ‘What is the highest degree or level of school you have completed? If currently enrolled, please select the previous grade or highest degree received’. The following response options were then mapped onto the corresponding years of education: less than high school = 10 years, high school diploma or equivalency (GED) = 12 years, Associate’s degree (for example, AA, AS) = 14 years, Vocational degree = 14 years, some college but no degree = 14 years, Bachelor’s degree (for example, BA, BS) = 16 years, Master’s degree (for example, MA, MS, MEng, MEd, MSW, MBA) = 19 years, Professional degree beyond a Bachelor’s degree (for example, MD, DDS, DVM, LLB, JD) = 19 years, doctoral degree (for example, PhD, EdD) = 22 years. Research participants self-reported having ever been diagnosed or treated for both Type II diabetes or high blood pressure.
As previously described73, DNA extraction and genotyping were performed on saliva samples by National Genetics Institute. Samples were genotyped on one of five Illumina-based genotyping platforms. Samples had minimum call rates of 98.5%. We phased participant data using either an internally developed tool, Finch (V1-V4 genotyping arrays) or Eagle2 (V5 genotyping array)74. We imputed phased research participant data using Minimac3 and a reference panel that combined both the May 2015 release of the 1000 Genomes Phase 3 haplotypes with the UK10K imputation reference panel (n = 6285). Throughout, we treated structural variants and small indels the same as SNPs. We used the same list of SNPs as for HUNT and UK Biobank, restricted to those that passed the 23andMe genotypic data QC.
We computed association test results using the sibling difference method assuming additive allelic effects logistic regression for case-control exposures, linear regression for quantitative exposures.
Genotype arrays
As previously described73, samples were genotyped on one of five genotyping platforms. The v1 and v2 platforms were variants of the Illumina HumanHap550+ BeadChip, including about 25,000 custom SNPs selected by 23andMe, with a total of about 560,000 SNPs. The v3 platform was based on the Illumina OmniExpress+ BeadChip, with custom content to improve the overlap with our v2 array, with a total of about 950,000 SNPs. The v4 platform was a fully customized array, including a lower redundancy subset of v2 and v3 SNPs with additional coverage of lower-frequency coding variation, and about 570,000 SNPs. The v5 platform is an Illumina Infinium Global Screening Array (~640,000 SNPs) supplemented with ~50,000 SNPs of custom content.
The Finch phasing algorithm
As previously described73, Finch implements the Beagle haplotype graph-based phasing algorithm, modified to separate the haplotype graph construction and phasing steps75. It extends the Beagle model to accommodate genotyping error and recombination, to handle cases where there are no consistent paths through the haplotype graph for the individual being phased. We constructed haplotype graphs for European and non-European samples on each 23andMe genotyping platform from a representative sample of genotyped individuals, and then performed out-of-sample phasing of all genotyped individuals against the appropriate graph. For the X chromosome, we built separate haplotype graphs for the non-pseudo autosomal region and each pseudo autosomal region, and these regions were phased separately.
Imputation panel generation
As previously described73, imputation panels created by combining multiple smaller panels have been shown to give better imputation performance than the individual constituent panels alone76. To that end, we combined the May 2015 release of the 1000 Genomes Phase 3 haplotypes with the UK10K imputation reference panel to create a single unified imputation reference panel77,78. To do this, multiallelic sites with N alternate alleles were split into N separate biallelic sites. We then removed any site whose minor allele appeared in only one sample. For each chromosome, we used Minimac3 to impute the reference panels against each other, reporting the best-guess genotype at each site79. This gave us calls for all samples over a single unified set of variants. We then joined these together to get, for each chromosome, a single VCF with phased calls at every site for 6285 samples.
Imputation
In preparation for imputation we split each chromosome of the reference panel into chunks of no more than 300,000 variants, with overlaps of 10,000 variants on each side. We used a single batch of 10,000 individuals to estimate Minimac3 imputation model parameters for each chunk. We imputed phased participant data against the chunked merged reference panel using Minimac3, treating males as homozygous pseudo-diploids for the non-pseudo autosomal region.
Selection of genotypes for instruments
For the analysis of HUNT and UK Biobank we selected 385 independent (r2 < 0.01 within 10,000 kb) SNPs associated with height (p < 5 × 10−08) from Wood et al. and 79 associated with BMI in Locke et al.65,72. Neither HUNT nor UK Biobank were included in these studies. We clumped variants using the TwoSampleMR package80. We harmonized the alleles’ effect sizes across the two samples and constructed weighted polygenic scores which were sums of the phenotype increasing alleles and weighted each variant by its effect on the phenotype in the published GWAS. For the analysis of the 23andMe data we used the subset of 347 and 64 SNPs available in the 23andMe data.
Empirical analyses
We compared seven empirical estimates of the effect of BMI on self-reported diabetes and high blood pressure and the effects of height and BMI on educational attainment. We used the familial fixed effects models (2) described above:
IPD ordinary least squares (OLS): The multivariable adjusted phenotypic association using ordinary least squares. Estimated using reg/plm commands.
IPD OLS family fixed effects (FE): The multivariable adjusted phenotypic association using ordinary least squares allowing for a family fixed effect across siblings. Estimated using xtreg/plm commands.
IPD MR-PRS unrelateds: A standard MR estimate of the effect of each exposure on the outcomes using the largest available sample of unrelated individuals. These models do not allow for any familial effects and are likely to suffer from bias. The estimate uses a polygenic score for each exposure and two stage least squares. Estimated separately in HUNT and UK Biobank using the ivreg and ivreg2 packages.
IPD MR-PRS siblings: As with 3. above, but restricted to siblings. Estimated using the ivreg2 package. We include this estimate to demonstrate the impact of including a family fixed effect on the estimates when holding the sample constant.
IPD MR-PRS siblings family fixed effects: An estimate using individual level data from the full sample of siblings allowing for family fixed effects. This allows for familial effects. Estimated separately in UK Biobank and HUNT using the xtivreg and plm packages64. This equivalent to family fixed effects models (vi and vii) described above and uses the same sample as 4. above.
2SMR IVW siblings: An estimate using SNP summary data for Mendelian randomization including family fixed effects. The SNP-exposure and SNP-outcome associations were estimated on the same sample. The SNP level estimates of the effect of the exposure on the outcome were estimated separately in HUNT and UK Biobank and the overall Mendelian randomization (Wald) estimates are calculated for each SNP. For each SNP the Wald estimate is the ratio of the SNP-outcome and SNP-exposure association. We combine the estimate using random effects Inverse Variance Weighted (IVW) meta-analysis. This demonstrates how within family association estimates can be used within the two-sample MR framework.
2SMR IVW siblings—split sample: As with 6. above, but the SNP-exposure and SNP-outcome associations were estimated in separate samples (i.e. split sample approach). The overall Wald estimates were combined via IVW meta-analysis as above. This ensures that there is no sample overlap between the samples used to estimate the SNP-exposure and SNP-outcome associations. This eliminates the risk of weak instrument/sample overlap bias.
Covariates and standard errors
All analyses included age, sex, and the first 20 principal components of genetic variation. Cluster robust standard errors were used to allow for heteroskedasticity and allow for clustering and relatedness across siblings within families. Inclusion of the covariates age, sex, and principal components did not meaningfully affect the within family estimates, as they are independent of genotype conditional on sibling genotype. However, including these covariates may absorb some of the variation in the outcome and increase the precision of our estimates.
Sensitivity analyses
Finally, we tested for difference (pdiff unrelated) between the Mendelian randomization estimates using the unrelated individuals and the summary data within-family estimates using the split sample approach (i.e. as in 6. above)81. We investigated whether our results could be explained by pleiotropy using the weighted median, weighted modal and MR-Egger estimators and the SNP-phenotype associations allowing for a family fixed effect8,10,82. We used a split sample approach in which the SNP-exposure and SNP-outcome associations were estimated in separate samples. We estimated the percentage change in the SNP-phenotype coefficients with and without allowing for a family fixed effect.
Shrinkage
We investigated shrinkage of the total to within family SNP-phenotype associations using seemingly unrelated regression. We estimated the shrinkage for each of the 455 SNPs included in the analysis and the five phenotypes (education, BMI, height, diabetes and high blood pressure). We then meta-analysed estimates for each SNP and phenotype across the two studies. Finally, independently for each phenotype we meta-analysed across all 455 SNPs used in the analysis to give an average shrinkage for all SNPs.
Supplementary information
Acknowledgements
Jonathan Beauchamp provided valuable comments and suggestions on an earlier draft of this paper. This research has been conducted using the UK Biobank Resource under Application Number 16729. Quality Control filtering of the UK Biobank data was conducted by R.Mitchell, G.Hemani, T.Dudding, L.Paternoster as described in the published protocol (doi:10.5523/bris.3074krb6t2frj29yh2b03x3wxj). The MRC IEU UK Biobank GWAS pipeline was developed by B.Elsworth, R.Mitchell, C.Raistrick, L.Paternoster, G.Hemani, T.Gaunt (doi: 10.5523/bris.pnoat8cxo0u52p6ynfaekeigi). The Medical Research Council (MRC) and the University of Bristol support the MRC Integrative Epidemiology Unit [MC_UU_00011/1]. N.M.D. is supported by an Economics and Social Research Council (ESRC) Future Research Leaders grant [ES/N000757/1] and a Norwegian Research Council Grant number 295989. JHB was funded by the Norwegian Research Council with grant number 295989. DME is funded by a National Health and Medical Research Council Senior Research Fellowship (1137714). E.M.T.D. was supported by NIH grants R01AG054628 and R01HD083613, and by the Jacobs Foundation. L.D.H. is supported by a Career Development Award from the UK Medical Research Council (MR/M020894/1). This work is part of a project entitled ‘social and economic consequences of health: causal inference methods and longitudinal, intergenerational data’, which is part of the Health Foundation’s Social and Economic Value of Health Research Programme (Award 807293). The Health Foundation is an independent charity committed to bringing about better health and health care for people in the UK. G.A.V. is supported by a Norwegian Research Council grant code 250335. C.A.R. receives support from the National Institutes of Health (NIH) including R01AG060470, R01AG059329, R01AG058068, R01AG018386, and R01AG046938. NLP receives funding from the National Institutes of Health Grants No. R01AG060470, R01AG059329. The Nord-Trøndelag Health Study (The HUNT Study) is a collaboration between HUNT Research Center (Faculty of Medicine and Health Sciences, NTNU, Norwegian University of Science and Technology), Nord-Trøndelag County Council, Central Norway Regional Health Authority, and the Norwegian Institute of Public Health. The K.G. Jebsen Center for Genetic Epidemiology is funded by Stiftelsen Kristian Gerhard Jebsen; Faculty of Medicine and Health Sciences, NTNU; The Liaison Committee for education, research and innovation in Central Norway; and the Joint Research Committee between St. Olavs Hospital and the Faculty of Medicine and Health Sciences, NTNU. The genotyping in HUNT was financed by the National Institute of Health (NIH); University of Michigan; The Research Council of Norway; The Liaison Committee for education, research and innovation in Central Norway; and the Joint Research Committee between St. Olavs Hospital and the Faculty of Medicine and Health Sciences, NTNU. J.K. has been supported by the Academy of Finland (grants 308248, 312073). R.M.F. and R.N.B. are supported by Sir Henry Dale Fellowship (Wellcome Trust and Royal Society grant: WT104150). G.H. is supported by the Wellcome Trust and Royal Society [208806/Z/17/Z]. A.H. was funded by the South-Eastern Norway Regional Health Authority, grants 2018059 and 2020022. We thank the customers of 23andMe who answered surveys and participated in this research. No funding body has influenced data collection, analysis or its interpretation. This publication is the work of the authors, who serve as the guarantors for the contents of this paper.
Author contributions
G.D.S., N.M.D., K.H. and B.M.B. obtained funding for this study. B.M.B., G.H. and N.M.D. designed, analysed and cleaned the data, interpreted results, wrote and revised the paper. G.H. ran the simulation study. E.S. provided the proof comparing the difference and fixed effects estimators, interpreted results and revised the paper. K.H. ran the replication in 23andMe data, drafted the sections relating to the 23andMe data and revised the paper. G.D.S. conceived of the study, interpreted the results, wrote and revised the paper. F.P.H., S.H., G.A.V., Y.C., L.D.H., A.H., D.I.B., A.H., J.H., M.N., M.G.N., N.L.P., C.A.R., E.M.T.-D., A.G., L.H., T.M., S.L., A.A., F.W., W-M.C., J.H.B., K.H., C.W., D.M.E., J.K. and B.O.A. interpreted the results and revised the paper.
Data availability
Data from the HUNT study was accessed under ethics approvals 2015/1209 REK midt 2015/2292 REK midt, and 2017/2479 REK sør-øst, and project number 2019/2181. Data from the UK Biobank was accessed as part of application 8786. The empirical datasets used with the HUNT study and UK Biobank will be archived with the studies and will be made available to individuals who obtain the necessary permissions from the studies’ data access committees. Data from 23andMe was processed by 23andMe, and the individual level data cannot be made publicly available, however, 23andMe do provide access to summary data via a system of managed access. If you would like to apply for access, please see the following website for more details https://research.23andme.com/dataset-access/.
Code availability
The code used to clean and analyse the data and the SNP level summary statistics are available here: https://github.com/nmdavies/within_family_mr. Code for the simulations are available here: https://github.com/mrcieu/mrtwin_power.
Competing interests
K.H., A.A. and members of the 23andMe Research Team are employees of and have stock, stock options, or both, in 23andMe. The other authors declare no competing interests.
Footnotes
Peer review information Nature Communications thanks the anonymous reviewers for their contribution to the peer review of this work. Peer reviews are available.
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
These authors contributed equally: George Davey Smith, Bjørn Olav Åsvold, Gibran Hemani, Neil M. Davies.
Lists of authors and their affiliations appear at the end of the paper.
A full list of consortium members is included in the Supplementary materials.
Contributor Information
Ben Brumpton, Email: ben.brumpton@ntnu.no.
Neil M. Davies, Email: neil.davies@bristol.ac.uk
The Within-family Consortium:
Ben Brumpton, Eleanor Sanderson, Karl Heilbron, Fernando Pires Hartwig, Sean Harrison, Gunnhild Åberge Vie, Yoonsu Cho, Laura D. Howe, Amanda Hughes, Dorret I. Boomsma, Alexandra Havdahl, John Hopper, Michael Neale, Michel G. Nivard, Nancy L. Pedersen, Chandra A. Reynolds, Elliot M. Tucker-Drob, Andrew Grotzinger, Laurence Howe, Tim Morris, Shuai Li, Adam Auton, Frank Windmeijer, Wei-Min Chen, Johan Håkon Bjørngaard, Kristian Hveem, Cristen Willer, David M. Evans, Jaakko Kaprio, George Davey Smith, Bjørn Olav Åsvold, Gibran Hemani, and Neil M. Davies
The 23andMe Research Team:
Supplementary information
Supplementary information is available for this paper at 10.1038/s41467-020-17117-4.
References
- 1.Davey Smith G, Ebrahim S. ‘Mendelian randomization’: can genetic epidemiology contribute to understanding environmental determinants of disease? Int J. Epidemiol. 2003;32:1–22. doi: 10.1093/ije/dyg070. [DOI] [PubMed] [Google Scholar]
- 2.Davey Smith G, Hemani G. Mendelian randomization: genetic anchors for causal inference in epidemiological studies. Hum. Mol. Genet. 2014;23:R89–98. doi: 10.1093/hmg/ddu328. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Davies, N. M., Holmes, M. V. & Davey Smith, G. Reading Mendelian randomisation studies: a guide, glossary, and checklist for clinicians. BMJ. 10.1136/bmj.k601 (2018). [DOI] [PMC free article] [PubMed]
- 4.Pingault J-B, et al. Using genetic data to strengthen causal inference in observational research. Nat. Rev. Genet. 2018;19:566–580. doi: 10.1038/s41576-018-0020-3. [DOI] [PubMed] [Google Scholar]
- 5.Katan M. Apoupoprotein E isoforms, serum cholesterol, and cancer. Lancet. 1986;327:507–508. doi: 10.1016/s0140-6736(86)92972-7. [DOI] [PubMed] [Google Scholar]
- 6.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]
- 7.Windmeijer, F., Farbmacher, H., Davies, N. & Davey Smith, G. On the use of the lasso for instrumental variables estimation with some invalid instruments. J. Am. Stat. Assoc.10.1080/01621459.2018.1498346 (2018). [DOI] [PMC free article] [PubMed]
- 8.Hartwig FP, Davey Smith G, Bowden J. Robust inference in summary data Mendelian randomization via the zero modal pleiotropy assumption. Int. J. Epidemiol. 2017;46:1985–1998. doi: 10.1093/ije/dyx102. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Bowden J, Davey Smith G, Burgess S. Mendelian randomization with invalid instruments: effect estimation and bias detection through Egger regression. Int. J. Epidemiol. 2015;44:512–525. doi: 10.1093/ije/dyv080. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Bowden J, Davey Smith G, Haycock PC, Burgess S. Consistent estimation in Mendelian randomization with some invalid instruments using a weighted median estimator. Genet. Epidemiol. 2016;40:304–314. doi: 10.1002/gepi.21965. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Burgess S, Thompson SG. Multivariable Mendelian randomization: the use of pleiotropic genetic variants to estimate causal effects. Am. J. Epidemiol. 2015;181:251–260. doi: 10.1093/aje/kwu283. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Mendel, G. Experiments in plant hybridization. Verhandlungen des naturforschenden Vereins Brünn. www.mendelweb.org/Mendel.html (1865).
- 13.Haworth S, et al. Apparent latent structure within the UK Biobank sample has implications for epidemiological analysis. Nat. Commun. 2019;10:333. doi: 10.1038/s41467-018-08219-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.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]
- 15.Robinson MR, et al. Genetic evidence of assortative mating in humans. Nat. Hum. Behav. 2017;1:0016. [Google Scholar]
- 16.Beauchamp JP, Cesarini D, Johannesson M, Lindqvist E, Apicella C. On the sources of the height–intelligence correlation: New insights from a bivariate ACE model with assortative mating. Behav. Genet. 2011;41:242–252. doi: 10.1007/s10519-010-9376-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Fisher R. The correlation between relatives on the supposition of Mendelian inheritance. Trans. R. Soc. Edinb. 1918;52:399–433. [Google Scholar]
- 18.Howe LJ, et al. Genetic evidence for assortative mating on alcohol consumption in the UK Biobank. Nat. Commun. 2019;10:5039. doi: 10.1038/s41467-019-12424-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.Nordsletten AE, et al. Patterns of nonrandom mating within and across 11 major psychiatric disorders. JAMA Psychiatry. 2016;73:354. doi: 10.1001/jamapsychiatry.2015.3192. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Silventoinen K, Kaprio J, Lahelma E, Viken RJ, Rose RJ. Assortative mating by body height and BMI: finnish twins and their spouses. Am. J. Hum. Biol. 2003;15:620–627. doi: 10.1002/ajhb.10183. [DOI] [PubMed] [Google Scholar]
- 21.Mathieson I, McVean G. Differential confounding of rare and common variants in spatially structured populations. Nat. Genet. 2012;44:243–246. doi: 10.1038/ng.1074. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Berg JJ, et al. Reduced signal for polygenic adaptation of height in UK Biobank. eLife. 2019;8:e39725. doi: 10.7554/eLife.39725. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.Fulker DW, Cherny SS, Sham PC, Hewitt JK. Combined linkage and association sib-pair analysis for quantitative traits. Am. J. Hum. Genet. 1999;64:259–267. doi: 10.1086/302193. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Spielman RS, Ewens WJ. A sibship test for linkage in the presence of association: the sib transmission/disequilibrium test. Am. J. Hum. Genet. 1998;62:450–458. doi: 10.1086/301714. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Warrington, N. M., Freathy, R. M., Neale, M. C. & Evans, D. M. Using structural equation modelling to jointly estimate maternal and fetal effects on birthweight in the UK Biobank. Int. J. Epidemiol.10.1093/ije/dyy015 (2018). [DOI] [PMC free article] [PubMed]
- 26.Abecasis GR, Cardon LR, Cookson WOC. A general test of association for quantitative traits in nuclear families. Am. J. Hum. Genet. 2000;66:279–292. [Google Scholar]
- 27.Weiner DJ, et al. Polygenic transmission disequilibrium confirms that common and rare variation act additively to create risk for autism spectrum disorders. Nat. Genet. 2017;49:978–985. doi: 10.1038/ng.3863. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Spielman RS, Ewens WJ. The TDT and other family-based tests for linkage disequilibrium and association. Am. J. Hum. Genet. 1996;59:983–989. [PMC free article] [PubMed] [Google Scholar]
- 29.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–1121. doi: 10.1038/s41588-018-0147-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Okbay A, et al. Genome-wide association study identifies 74 loci associated with educational attainment. Nature. 2016;533:539–542. doi: 10.1038/nature17671. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Hemani G, et al. Inference of the genetic architecture underlying BMI and height with the use of 20,240 sibling pairs. Am. J. Hum. Genet. 2013;93:865–875. doi: 10.1016/j.ajhg.2013.10.005. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32.Minică CC, Dolan CV, Boomsma DI, de Geus E, Neale MC. Extending causality tests with genetic instruments: an integration of Mendelian randomization with the classical twin design. Behav. Genet. 2018;48:337–349. doi: 10.1007/s10519-018-9904-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33.Heath AC, et al. Testing hypotheses about direction of causation using cross-sectional family data. Behav. Genet. 1993;23:29–50. doi: 10.1007/BF01067552. [DOI] [PubMed] [Google Scholar]
- 34.Kang H, Zhang A, Cai TT, Small DS. Instrumental variables estimation with some invalid instruments and its application to Mendelian randomization. J. Am. Stat. Assoc. 2016;111:132–144. [Google Scholar]
- 35.Lawson, D. J. et al. Is population structure in the genetic biobank era irrelevant, a challenge, or an opportunity? Hum. Genet.10.1007/s00439-019-02014-8 (2019). [DOI] [PMC free article] [PubMed]
- 36.Angrist JD, Krueger AB. Split-sample instrumental variables estimates of the return to schooling. J. Bus. Econ. Stat. 1995;13:225–235. [Google Scholar]
- 37.Pierce BL, Burgess S. Efficient design for mendelian randomization studies: subsample and 2-sample instrumental variable estimators. Am. J. Epidemiol. 2013;178:1177–1184. doi: 10.1093/aje/kwt084. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38.Neale MC, et al. Distinguishing population stratification from genuine allelic effects with Mx: association of ADH2 with alcohol consumption. Behav. Genet. 1999;29:233–243. [Google Scholar]
- 39.Neale, B. M., Ferreira, M., Medland, S. E. & Posthuma, D. Statistical genetics: gene mapping through linkage and association. (Taylor & Francis Group, 2008).
- 40.Ott J, Kamatani Y, Lathrop M. Family-based designs for genome-wide association studies. Nat. Rev. Genet. 2011;12:465–474. doi: 10.1038/nrg2989. [DOI] [PubMed] [Google Scholar]
- 41.Holmes MV, et al. Causal effects of body mass index on cardiometabolic traits and events: a mendelian randomization analysis. Am. J. Hum. Genet. 2014;94:198–208. doi: 10.1016/j.ajhg.2013.12.014. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42.Dolan CV, de Kort JM, van Beijsterveldt TCEM, Bartels M, Boomsma DI. GE covariance through phenotype to environment transmission: an assessment in longitudinal twin data and application to childhood anxiety. Behav Genet. 2014;44:240–253. doi: 10.1007/s10519-014-9659-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 43.Moscati A, Verhulst B, McKee K, Silberg J, Eaves L. Cross-lagged analysis of interplay between differential traits in sibling pairs: validation and application to parenting behavior and ADHD symptomatology. Behav. Genet. 2018;48:22–33. doi: 10.1007/s10519-017-9882-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 44.Baud A, et al. Genetic variation in the social environment contributes to health and disease. PLoS Genet. 2017;13:e1006498. doi: 10.1371/journal.pgen.1006498. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 45.Magnusson PKE, Rasmussen F, Gyllensten UB. Height at age 18 years is a strong predictor of attained education later in life: cohort study of over 950,000 Swedish men. Int. J. Epidemiol. 2006;35:658–663. doi: 10.1093/ije/dyl011. [DOI] [PubMed] [Google Scholar]
- 46.Case A, Paxson C. Stature and status: Height, ability, and labor market outcomes. J. Polit. Econ. 2008;116:499–532. doi: 10.1086/589524. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 47.Lundborg P, Nystedt P, Rooth D-O. Body size, skills, and income: evidence from 150,000 teenage siblings. Demography. 2014;51:1573–1596. doi: 10.1007/s13524-014-0325-6. [DOI] [PubMed] [Google Scholar]
- 48.Silventoinen K, Kaprio J, Lahelma E. Genetic and environmental contributions to the association between body height and educational attainment: a study of adult Finnish twins. Behav. Genet. 2000;30:477–485. doi: 10.1023/a:1010202902159. [DOI] [PubMed] [Google Scholar]
- 49.Silventoinen K, Krueger RF, Bouchard TJ, Kaprio J, McGue M. Heritability of body height and educational attainment in an international context: Comparison of adult twins in Minnesota and Finland. Am. J. Hum. Biol. 2004;16:544–555. doi: 10.1002/ajhb.20060. [DOI] [PubMed] [Google Scholar]
- 50.Tyrrell, J. et al. Height, body mass index, and socioeconomic status: Mendelian randomisation study in UK Biobank. BMJ i582 (2016), 10.1136/bmj.i582. [DOI] [PMC free article] [PubMed]
- 51.Böckerman P, et al. The effect of weight on labor market outcomes: An application of genetic instrumental variables. Health Econ. 2019;28:65–77. doi: 10.1002/hec.3828. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 52.Davey Smith, G. & Davies, N. M. Can genetic evidence help us understand why height and weight relate to social position? BMJ.10.1136/bmj.i1224. (2016). [DOI] [PubMed]
- 53.DiPrete TA, Burik CAP, Koellinger PD. Genetic instrumental variable regression: Explaining socioeconomic and health outcomes in nonexperimental data. Proc. Natl Acad. Sci. USA. 2018;115:E4970–E4979. doi: 10.1073/pnas.1707388115. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 54.Davies NM, et al. Within family Mendelian randomization studies. Hum. Mol. Genet. 2019;28:R170–R179. doi: 10.1093/hmg/ddz204. [DOI] [PubMed] [Google Scholar]
- 55.Hwang, L.-D., Davies, N. M., Warrington, N. M. & Evans, D. M. Integrating family-based and mendelian randomization designs. Cold Spring Harb. Perspect. Med. 10.1101/cshperspect.a039503 (2020). [DOI] [PMC free article] [PubMed]
- 56.Carey G. Sibling imitation and contrast effects. Behav. Genet. 1986;16:319–341. doi: 10.1007/BF01071314. [DOI] [PubMed] [Google Scholar]
- 57.Davey Smith G. Epidemiology, epigenetics and the ‘Gloomy Prospect’: embracing randomness in population health research and practice. Int. J. Epidemiol. 2011;40:537–562. doi: 10.1093/ije/dyr117. [DOI] [PubMed] [Google Scholar]
- 58.Saudino KJ, Wertz AE, Gagne JR, Chawla S. Night and day: are siblings as different in temperament as parents say they are? J. Pers. Soc. Psychol. 2004;87:698–706. doi: 10.1037/0022-3514.87.5.698. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 59.Simonoff E, et al. Genetic influences on childhood hyperactivity: contrast effects imply parental rating bias, not sibling interaction. Psychol. Med. 1998;28:825–837. doi: 10.1017/s0033291798006886. [DOI] [PubMed] [Google Scholar]
- 60.Moen, G.-H., Hemani, G., Warrington, N. M. & Evans, D. M. Calculating Power to detect maternal and offspring genetic effects in genetic association studies. Behav. Genet.10.1007/s10519-018-9944-9. (2019). [DOI] [PubMed]
- 61.Evans, D. M., Moen, G.-H., Hwang, L.-D., Lawlor, D. A. & Warrington, N. M. Elucidating the role of maternal environmental exposures on offspring health and disease using two-sample Mendelian randomization. Int. J. Epidemiol.10.1093/ije/dyz019. (2019). [DOI] [PMC free article] [PubMed]
- 62.Hartwig, F. P. & Davies, N. M. Why internal weights should be avoided (not only) in MR-Egger regression. Int. J. Epidemiol.10.1093/ije/dyw240. (2016). [DOI] [PubMed]
- 63.Bowden J, et al. Improving the accuracy of two-sample summary-data Mendelian randomization: moving beyond the NOME assumption. Int. J. Epidemiol. 2019;48:728–742. doi: 10.1093/ije/dyy258. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 64.Mark E. Schaffer. XTIVREG2: Stata module to perform extended IV/2SLS, GMM and AC/HAC, LIML and k-class regression for panel data models. (2005).
- 65.Locke AE, et al. Genetic studies of body mass index yield new insights for obesity biology. Nature. 2015;518:197–206. doi: 10.1038/nature14177. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 66.Krokstad S, et al. Cohort Profile: The HUNT Study, Norway. Int. J. Epidemiol. 2013;42:968–977. doi: 10.1093/ije/dys095. [DOI] [PubMed] [Google Scholar]
- 67.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]
- 68.Fry A, et al. Comparison of sociodemographic and health-related characteristics of UK Biobank participants with those of the general population. Am. J. Epidemiol. 2017;186:1026–1034. doi: 10.1093/aje/kwx246. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 69.Midthjell K, Holmen J, Bjørndal A, Lund-Larsen G. Is questionnaire information valid in the study of a chronic disease such as diabetes? The Nord-Trøndelag diabetes study. J. Epidemiol. Community Health. 1992;46:537–542. doi: 10.1136/jech.46.5.537. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 70.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]
- 71.Mitchell, R., Hemani, G., Dudding, T. & Paternoster, L. UK Biobank Genetic Data: MRC-IEU Quality Control, Version 1. (2017) 10.5523/bris.3074krb6t2frj29yh2b03x3wxj.
- 72.Wood AR, et al. Defining the role of common variation in the genomic and biological architecture of adult human height. Nat. Genet. 2014;46:1173–1186. doi: 10.1038/ng.3097. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 73.Heilbron, K. et al. Unhealthy Behaviours and Parkinsons Disease: A Mendelian Randomisation Study. 10.1101/2020.03.25.20039230http://medrxiv.org/lookup/doi/10.1101/2020.03.25.20039230 (2020). [DOI] [PMC free article] [PubMed]
- 74.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]
- 75.Browning SR, Browning BL. Rapid and accurate haplotype phasing and missing-data inference for whole-genome association studies by use of localized haplotype clustering. Am. J. Hum. Genet. 2007;81:1084–1097. doi: 10.1086/521987. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 76.UK10K Consortium. et al. Improved imputation of low-frequency and rare variants using the UK10K haplotype reference panel. Nat. Commun. 2015;6:8111. doi: 10.1038/ncomms9111. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 77.The 1000 Genomes Project Consortium. A global reference for human genetic variation. Nature. 2015;526:68–74. doi: 10.1038/nature15393. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 78.The UK10K Consortium. The UK10K project identifies rare variants in health and disease. Nature. 2015;526:82–90. doi: 10.1038/nature14962. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 79.Das S, et al. Next-generation genotype imputation service and methods. Nat. Genet. 2016;48:1284–1287. doi: 10.1038/ng.3656. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 80.Hemani, G. et al. The MR-Base platform supports systematic causal inference across the human phenome. eLife.7, e34408 (2018). [DOI] [PMC free article] [PubMed]
- 81.Altman DG, Bland JM. Interaction revisited: the difference between two estimates. BMJ. 2003;326:219. doi: 10.1136/bmj.326.7382.219. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 82.Bowden J, et al. Assessing the suitability of summary data for two-sample Mendelian randomization analyses using MR-Egger regression: the role of the I2 statistic. Int. J. Epidemiol. 45, 1961–1974 (2016) Int. J. Epidemiol. 2016;45:1961–1974. doi: 10.1093/ije/dyw220. [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
Data from the HUNT study was accessed under ethics approvals 2015/1209 REK midt 2015/2292 REK midt, and 2017/2479 REK sør-øst, and project number 2019/2181. Data from the UK Biobank was accessed as part of application 8786. The empirical datasets used with the HUNT study and UK Biobank will be archived with the studies and will be made available to individuals who obtain the necessary permissions from the studies’ data access committees. Data from 23andMe was processed by 23andMe, and the individual level data cannot be made publicly available, however, 23andMe do provide access to summary data via a system of managed access. If you would like to apply for access, please see the following website for more details https://research.23andme.com/dataset-access/.
The code used to clean and analyse the data and the SNP level summary statistics are available here: https://github.com/nmdavies/within_family_mr. Code for the simulations are available here: https://github.com/mrcieu/mrtwin_power.