Abstract
Mendelian randomization (MR) uses genetic variants as instrumental variables (IVs) to estimate the causal effect of a modifiable exposure on the outcome of interest to remove unmeasured confounding bias. However, some genetic variants might be invalid IVs due to violations of IV assumptions, for example, in the presence of population stratification and/or widespread horizontal pleiotropy. Inclusion of invalid genetic IVs for MR analysis might lead to biased causal effect estimate and misleading scientific conclusions. To address this challenge, we propose a novel MR method that first Selects valid genetic IVs and then performs Post-selection Inference (MR-SPI) based on two-sample genome-wide summary statistics. Extensive simulations demonstrate that MR-SPI outperforms other competing methods. We apply MR-SPI to analyze 146 exposure-outcome pairs to establish putative causal relationships. We further analyze 912 proteins using the UK Biobank proteomics data, and identify 7 proteins significantly associated with the risk of Alzheimer’s disease.
1 Introduction
In epidemiological studies, it is essential to infer the causal effect of a modifiable risk factor on a health outcome of interest1,2. Despite the fact that randomized controlled trials (RCTs) serve as the gold standard for causal inference, it is neither feasible nor ethical to perform RCTs for many harmful exposures. Mendelian randomization (MR), which leverages the random assortment of genes from parents to offspring to mimic RCTs to establish causality in observational studies3,4,5. MR uses genetic variants, typically single-nucleotide polymorphisms (SNPs), as instrumental variables (IVs) to assess the causal association between an exposure and an outcome6. Recently, many MR methods have been developed to investigate causal relationships using genome-wide association study (GWAS) summary data that consist of effect estimates of SNP-exposure and SNP-outcome associations from two non-overlapping sets of samples, which are commonly referred to as the two-sample MR methods7,8,9,10. Since summary statistics are often publicly available and provide abundant information of associations between genetic variants and complex traits, two-sample MR methods become increasingly popular9,11,12,13.
Conventional MR methods require the genetic variants included in the analysis to be valid for reliable causal inference. A genetic variant is called a valid IV if the following three core assumptions hold4,14:
(A1) Relevance
The genetic variant is associated with the exposure;
(A2) Effective Random Assignment
The genetic variant is not associated with any confounder of the exposure-outcome relationship;
(A3) Exclusion Restriction
The genetic variant affects the outcome only through the exposure.
Among the three IV assumptions, the first assumption (A1) can be tested empirically by selecting genetic variants associated with the exposure in GWAS. However, assumptions (A2) and (A3) cannot be empirically verified in general and may be violated in practice, which leads to a biased estimate of the causal effect. The violation of (A2) may occur due to the presence of population stratification4,15. The violation of (A3) may occur in the presence of the horizontal pleiotropy4,16, which is a widespread biological phenomenon that the genetic variant affects the outcome through some other biological pathway that does not involve the exposure in view17,18.
Recently, several two-sample MR methods have been proposed to handle invalid IVs under certain assumptions. The Instrument Strength Independent of Direct Effect (InSIDE) assumption has been proposed and used by multiple methods, for example, the random-effects inverse-variance weighted (IVW) method19, MR-Egger20 and MR-RAPS (Robust Adjusted Profile Score) 11. The InSIDE assumption requires that the SNP-exposure effect is asymptotically independent of the horizontal pleiotropic effect when the number of IVs goes to infinity. However, the InSIDE assumption is often not plausible in practice21, and thus the estimate of causal effect might be biased using random-effects IVW, MR-Egger or MR-RAPS10. Another strand of methods imposes assumptions on the proportion of invalid IVs included in the analysis. For example, the weighted median method22 and the Mendelian randomization pleiotropy residual sum and outlier (MR-PRESSO) test23 are based on the majority rule condition that allows up to 50% of the candidate IVs to be invalid. However, the weighted median method and MR-PRESSO might produce unreliable results when more than half of the candidate IVs are invalid10. The plurality rule condition, which only requires a plurality of the candidate IVs to be valid, is weaker than the majority rule condition 24,25, and is also termed as the ZEro Modal Pleiotropy Assumption (ZEMPA) 10,26. The plurality rule condition (or ZEMPA assumption) has been applied to some existing two-sample MR methods, for example, the mode-based estimation26, MRMix27 and the contamination mixture method25. Among the aforementioned methods, MRMix and the contamination mixture methods require additional distributional assumptions on the genetic associations or the ratio estimates to provide reliable causal inference. Despite many efforts, most of the current MR methods require an ad-hoc set of pre-determined genetic instruments, which is often obtained by selecting genetic variants with strong SNP-exposure associations in GWAS28. Since the traditional way of selecting IVs only requires the exposure data, hence the same selected set of IVs is used for assessing the causal relationships between the exposure in view and different outcomes. Obviously, this one-size-fits-all exposure-specific strategy for selecting IVs might not work well for different outcomes due to complicated genetic architecture; for example, the pattern of horizontal pleiotropy might vary with different outcomes. It is thus desirable to develop an automatic algorithm to select a set of valid IVs for a specific exposure-outcome pair.
In this paper, we propose a novel two-sample MR method and algorithm that can automatically Select valid IVs for a specific exposure-outcome pair and then performs Post-selection Inference (MR-SPI) for the causal effect. More specifically, MR-SPI contains the following four steps: (i) select relevant SNP IVs that are associated with the exposure; (ii) each selected relevant IV first provides a ratio estimate for the causal effect, and then receives votes on itself to be valid from other relevant IVs whose degrees of violation of (A2) and (A3) are small (thus more likely to be valid) under this ratio estimate of the causal effect; (iii) select valid IVs that receive a majority/plurality of votes, or by finding the maximum clique of the voting matrix that encodes whether two relevant IVs mutually vote for each other; and (iv) perform post-selection inference to construct a confidence interval for the causal effect that is robust to finite-sample IV selection error.
To the best of our knowledge, MR-SPI is the first two-sample MR method that utilizes both exposure and outcome data to automatically select a set of exposure-outcome pair specific SNP IVs. Moreover, our proposed selection procedure does not require additional distributional assumptions to model the genetic effects or ratio estimates25,27. Extensive simulations show that our MR-SPI method outperforms other competing MR methods. We apply MR-SPI to infer the causal relationships among 146 exposure-outcome pairs involving COVID-19 related traits, ischemic stroke, cholesterol levels and heart disease, and detect significant associations. Furthermore, We employ MR-SPI to perform omics MR (xMR) with 912 proteins using UK Biobank proteomics data, and discover 7 proteins significantly associated with the risk of Alzheimer’s disease.
2 Results
2.1 Method overview
MR-SPI is an automatic procedure to select valid genetic instruments and perform robust causal inference using two-sample GWAS summary data. In brief, MR-SPI contains the following four steps, as illustrated in Figure 1:
select relevant SNPs with large IV strength in the GWAS summary data for the exposure;
each relevant SNP provides a ratio estimate of the causal effect, and all the other relevant SNPs votes for it to be a valid IV if their degrees of violation of (A2) and (A3) are small under this ratio estimate of the causal effect;
select valid IVs by majority/plurality voting or by finding the maximum clique of the voting matrix;
estimate the causal effect of interest using the selected valid IVs, and construct a confidence interval for the causal effect that is robust to IV selection error in finite samples.
Current two-sample MR methods only involve step (i) to select (relevant) genetic instruments for downstream MR analysis, while the selected genetic instruments might violate assumptions (A2) and (A3), leading to possibly unreliable scientific findings. To address this issue, MR-SPI automatically select valid genetic instruments for a specific exposure-outcome pair by further incorporating the outcome data. Our key idea of selecting valid genetic instruments is that, under the plurality rule condition, valid IVs will form the largest group of relevant IVs and give “similar” ratio estimates (see Online Methods). Specifically, we propose the following two criteria to measure the similarity between the ratio estimates of two SNPs j and k in step (ii):
C1: We say the kth SNP “votes for” the jth SNP to be a valid IV if, by assuming the jth SNP is valid, the kth SNP’s degree of violation of (A2) and (A3) is small;
C2: We say the ratio estimates of two SNPs j and k are “similar” if they mutually vote for each other to be valid.
In step (iii), we construct a symmetric and binary voting matrix to encode the votes that each relevant SNP receives from other relevant SNPs: the (k, j) entry of the voting matrix is 1 if SNPs j and k mutually vote for each other to be valid, and 0 otherwise. There are two ways to select valid genetic instruments based on the voting matrix (see Online Methods): (1) we can select relevant SNPs who receive majority voting or plurality voting as valid IVs; (2) we can use SNPs in the maximum clique of the voting matrix as valid IVs29. Simulation studies show that the maximum clique method can empirically offer lower false discovery rate (FDR)30 and higher true positive proportion (TPP).
In step (iv), we estimate the causal effect and construct a confidence interval for this causal effect using the selected valid genetic instruments. In finite samples, some invalid IVs with small (but still nonzero) degrees of violation of (A2) and (A3) might be incorrectly selected as valid IVs, and we refer to them as “locally invalid IVs”31. We then propose to construct a robust confidence interval with guaranteed nominal coverage even in the presence of IV selection error in finite-sample settings, with main steps described in Figure 6 and Online Methods.
2.2 Comparing MR-SPI to other competing methods with simulation studies
We conduct extensive simulations to evaluate the performance of MR-SPI in the presence of invalid IVs. We simulate data in a two-sample setting under four scenarios: (S1) majority rule condition holds and no locally invalid IVs exist; (S2) plurality rule condition holds and no locally invalid IVs exist; (S3) majority rule condition holds and locally invalid IVs exist; (S4) plurality rule condition holds and locally invalid IVs exist. The detailed simulation settings are provided in Online Methods.
We compare the bias, empirical coverage and average lengths of 95% confidence intervals of MR-SPI to the following competing methods: (i) the random-effects IVW method that performs random-effects meta-analysis to account for pleiotropy19, (ii) MR-RAPS that assumes pleiotropic effects are normally distributed and applies the maximum profile likelihood estimation to obtain the causal effect estimate11, (iii) MR-PRESSO that detects the SNPs which substantially reduce the residual sum of squares of the regression when omitted from the analysis as outliers23, (iv) the weighted median method that takes the weighted median of the ratio estimates as the causal effect22, (v) the mode-based estimation that takes the mode of the smoothed empirical density function of the ratio estimates as the causal effect 26, (vi) MRMix that models the SNP-exposure and SNP-outcome effects with a bivariate normal mixture distribution27 and (vii) the contamination mixture method that models the ratio estimates of SNPs with a normal mixture distribution25. We exclude MR-Egger in this simulation since it is heavily biased under our simulation settings. Among those methods, the random-effects IVW method and MR-RAPS require the InSIDE assumption, MR-PRESSO and the weighted median method require the majority rule condition, while MR-SPI, the mode-based estimation, MRMix and the contamination mixture method require the plurality rule condition (or ZEMPA assumption). For simplicity, we shall use IVW to represent the random-effects IVW method here and after.
In Figure 2(a), we present the bias of those MR methods in simulated data with sample sizes of 5000 for both the exposure and the outcome. Moreover, Supplementary Figure S1(a) and Supplementary Table S1 provide a comparison of bias of those MR methods across different sample sizes. Generally, the proposed MR-SPI has small bias in all four scenarios. IVW and MR-RAPS are biased since the InSIDE assumption does not hold in our parameter settings. Interestingly, the biases of these two methods are smaller in scenarios (S3) and (S4) compared to (S1) and (S2), as the degree of violation of (A2) and (A3) is generally smaller when some of the candidate IVs are only locally invalid. MR-PRESSO generally yields biased estimates as it fails to remove outliers in most of our settings. The weighted median estimator is biased when only the plurality rule condition holds, since it requires more than half of the candidate IVs to be valid. The mode-based estimation, MRMix and the contamination mixture method are all nearly unbiased, as these three methods only require the plurality rule condition to hold, which is satisfied in all of the four simulation scenarios.
Figure 2(b) reports the empirical coverage of the confidence intervals of those methods in simulated data with sample sizes of 5000. Additional results for empirical coverage of those methods under different sample sizes can be found in Supplementary Figure S1(b) and Supplementary Table S2. Under scenarios (S1) and (S2) where no locally invalid IV exists, the confidence interval of MR-SPI can attain 95% coverage level even when the sample sizes are small (e.g., 5000). In the presence of locally invalid IVs, i.e., under scenarios (S3) and (S4), the empirical coverage of the confidence interval of MR-SPI can still attain the nominal level when sample sizes are 80000, as MR-SPI can correctly distinguish the locally invalid IVs from the valid IVs when sample sizes are large enough. However, MR-SPI fails to identify those locally invalid IVs under (S3) and (S4) if the sample sizes are small (e.g., 5000), and therefore the empirical coverage of MR-SPI is lower than 95%. In such cases, we suggest using the robust confidence interval constructed by Algorithm 2, which attains the 95% coverage level and thus is less vulnerable to the IV selection error in finite samples. The empirical coverage of the weighted median method is lower than MR-SPI even in scenario (S1) where the majority rule condition holds. For example, when the sample sizes are 20000, the empirical coverage of the weighted median method is 0.638. Compared to the confidence interval of MR-SPI, the confidence interval of the mode-based estimation is generally more conservative with coverage above the nominal level in our simulation settings, which is the price to pay for being less affected by the invalid instruments, as discussed in26. Both MRMix and the contamination mixture method cannot attain the 95% coverage level in all of the four simulation scenarios. These two methods make distributional assumptions for either the genetic associations or the ratio estimates, which might be violated in our simulation settings, and thus the coverage levels are below the nominal level.
We report the average lengths of 95% confidence intervals of MR-SPI and the competing methods under sample sizes = 5000in Figure 2(c), while additional results for various sample sizes are provided in Supplementary Figure S1(c) and Supplementary Table S3. Although MR-RAPS generally has the shortest confidence interval, it is biased and the coverage level is close to zero, as the InSIDE assumption does not hold in our simulation settings. Among the methods except MR-RAPS, MR-SPI generally has the shortest confidence interval under four simulation scenarios. The average length of confidence interval of IVW is not significantly decreasing as the sample sizes increase, since we apply the random-effects IVW method here, which scales up the standard error of the causal effect estimate when heterogeneity in the ratio estimates exists19. In scenario (S4), MR-PRESSO has longer confidence interval as the sample sizes increase, since it tends to treat none of the candidate SNPs as outlier under this simulation setting, i.e., when the majority rule does not hold and locally invalid IV exists. When no outlier is identified, MR-PRESSO uses all candidate SNPs, and thus the standard error of MR-PRESSO under (S4) will be close to that of IVW when the sample sizes are large.
In Table 1, we report (1) the FDR that is defined by the proportion of invalid IVs in the set of SNPs selected by MR-SPI, and (2) the TPP that is defined by the proportion of valid IVs selected by MR-SPI in the true set of valid IVs. In our simulation, we select valid IVs by finding the maximum clique in the voting matrix. Generally, the TPP of MR-SPI is close to 1 under all scenarios, and the FDR of MR-SPI is close to 0 if no locally invalid IV exists and the plurality rule condition holds. Under scenarios (S3) and (S4), MR-SPI might incorrectly select those locally invalid IVs when the sample sizes are small (e.g. 5000). As the sample sizes increase, the FDR of MR-SPI would be close to 0 even in the presence of locally invalid IVs. For example, the FDR is 0.005 under scenario (S4) when sample sizes are 80000. Therefore, even when locally invalid IV exists, MR-SPI can still correctly identify valid IVs if the sample sizes are large.
The simulation studies demonstrate that MR-SPI performs better compared to the other competing MR methods under the plurality rule condition. When no locally invalid IV exists, MR-SPI can select the valid IVs correctly and provide nearly unbiased estimates of the causal effect, and the confidence interval of MR-SPI can attain the nominal coverage level. In practice, we can perform a sensitivity analysis of the causal effect estimate to the threshold in the voting step (see Online Methods and Supplementary Figure S12). If the causal effect estimate is sensitive to the choice of the threshold, then MR-SPI might suffer from the finite-sample IV selection error, and thus the robust confidence interval of MR-SPI is recommended for use in this case.
2.3 Evaluation of the performance of MR-SPI in two benchmark datasets
In this section, we apply the proposed MR-SPI method to two benchmark datasets to evaluate its performance. These two datasets serve as the benchmark because the exposure and the out-come are the same trait in each dataset, and thus the horizontal pleiotropic effects are expected to be zero. We first apply MR-SPI to the dataset in which both the exposure and the outcome are coronary artery disease (CAD), and we refer to it as the CAD-CAD dataset. Since both the exposure and the outcome are CAD, the causal effect is expected to be one. The exposure data come from the Coronary Artery Disease (C4D) Genetics Consortium 32, and the outcome data come from the Coronary ARtery DIsease Genome-wide Replication and Meta-analysis (CARDIo-GRAM) consortium33. We first clump the SNPs in the exposure data using the software Plink34 with r2 < 1 × 10−2 to obtain the independent genetic instruments, and then use 1 × 10−6 as the p-value threshold to select relevant instruments. In total, five relevant instruments are included for downstream analysis. We compare MR-SPI to the other eight competing MR methods including IVW, MR-Egger, MR-RAPS, MR-PRESSO, the weighted median method, the mode-based estimation, MRMix and the contamination mixture method. The causal effect estimates and the corresponding 95% confidence intervals using those methods are presented in Figure 3(a). Generally, the confidence intervals of MR-SPI, IVW and MR-Egger all cover 1, and MR-SPI provides the shortest confidence interval. In addition, none of the relevant IVs is excluded in the voting step, which is in line with the expectation that horizontal pleiotropy should not exist in this dataset.
Next, we apply MR-SPI to the dataset where the exposure data and the outcome data are the BMI GWAS data for physically active men and women respectively, and we refer to this dataset as the BMI-BMI dataset. In the BMI-BMI dataset, both the exposure data and the outcome data come from the GIANT consortium35. After LD clumping and filtering SNPs with the same parameters as in the CAD-CAD dataset, 64 candidate SNPs are selected as relevant IVs and none of them is detected to be invalid by MR-SPI. The point estimates of the causal effect and corresponding 95% confidence intervals using the above methods are shown in Figure 3(b). Overall, all the above methods except MR-Egger provide causal effect estimates that are significantly below one. As discussed in previous studies35, some significant loci of BMI might exhibit heterogeneity in genetic effects between men and women. Therefore, the “true” effect might not be equal to one in this dataset due to the gender difference in the genetic architecture of BMI.
2.4 Learning causal relationships of 146 exposure-outcome pairs
In this section, we examine the causal relationships between complex traits and diseases from four categories including ischemic stroke, cholesterol levels, heart disease, and Coronavirus disease 2019 (COVID-19) related traits. Since MR-SPI requires that the GWAS summary statistics of the exposure and the outcome come from two non-overlapping samples, we exclude the trait pairs whose exposure and outcome are in the same consortium. In addition, we also exclude trait pairs whose exposure and outcome are two similar phenotypes (for example, heart failure and coronary artery disease), and we finally get 146 pairwise exposure-outcome combinations. All the GWAS summary statistics used for MR analysis are publicly available with more detailed description of each dataset given in Supplementary Table S4.
We first perform LD clumping using the software Plink34 to obtain independent SNPs with r2 < 0.01, and then use 1 × 10−6 as the p-value threshold to select relevant IVs that are associated with each exposure trait. Among the 146 exposure-outcome pairs, MR-SPI detects invalid IVs in 16 exposure-outcome pairs. For example, MR-SPI detects one invalid SNP (rs616154, marked by red triangle) in the causal relationship from cardioembolic stroke (CES) to SARS-CoV-2 infection, as illustrated in the left panel of Figure 4(a). SNP rs616154 is identified to be invalid since its ratio estimate of the causal effect is 0.525, which is far away from other SNPs’ ratio estimates and thus no other relevant SNP votes for it to be a valid IV. We search for the human phenotypes that are strongly associated with SNP rs616154 using the PhenoScanner tool 36,37, and find that this SNP is also associated with the Interleukin-6 (IL-6) levels which is a potential biomarker of COVID-19 progression38, indicating that SNP rs616154 might exhibit horizontal pleiotropy in the relationship of CES on SARS-CoV-2 infection and thus is a potentially invalid IV. After excluding SNP rs616154, the point estimate of the causal effect by MR-SPI (represented by the slope of the green solid line in the left panel of Figure 4(a)) is nearly zero, suggesting that cardioembolic stroke might not be a risk factor for SARS-CoV-2 infection. The causal effect estimate of MR-PRESSO (represented by the slope of the blue dashed line in the left panel of Figure 4(a)) is also close to zero, as MR-PRESSO detects SNP rs616154 as an outlier and excludes it from analysis. However, IVW and MR-RAPS include SNP rs616154 in the MR analysis, and thus their causal effect estimates (represented by the slopes of the black and orange dashed line in the left panel of Figure 4(a), respectively) might be biased. In contrast, the right panel of Figure 4(a) illustrates the causal effect estimates for the relationship of heart failure (HF) on any ischemic stroke (AIS) by MR-SPI, IVW, MR-PRESSO and MR-RAPS. In this relationship, MR-SPI does not identify any invalid IV, and thus MR-SPI gives a causal effect estimate that is similar to IVW and MR-RAPS.
Figure 4(a) illustrates that the inclusion of invalid IVs might lead to misleading scientific findings, and thus MR-SPI selects only valid IVs for downstream analysis to provide reliable causal inference. After excluding those invalid IVs, MR-SPI identifies 27 significant associations after Bonferroni correction for multiple comparison 39, which are given in Figure 4(b). We also apply the other eight competing MR methods including IVW, MR-Egger, MR-RAPS, MR-PRESSO, the weighted median method, the mode-based estimation, MRMix and the contamination mixture method to infer the causal relationships among these exposure-outcome pairs, and the results are presented in Supplementary Figures S2-S9. Among the 146 exposure-outcome pairs, MR-SPI detects invalid IVs in 16 exposure-outcome pairs. Some of our findings are in line with previous studies, for example, an increase in LDL level might be associated with increased risks of CAD and HF40,41. In addition, MR-SPI also detects significant associations that cannot be discovered by other competing MR methods. For example, MR-SPI suggests that SARS-CoV-2 infection might be a risk factor for HF (, p-value = 1.43 × 10−4), which cannot be identified by the other competing MR methods considered in this paper. Our finding is consistent with a former study that reported a significant increase in the risk of developing acute heart failure in patients with confirmed COVID-19 infection42.
To demonstrate the similarities and differences in the results of MR-SPI and other MR methods, we plot the Venn diagrams that show the number of significant associations that are either shared or uniquely detected by these methods. We present the Venn diagram of the significant pairs using MR-SPI, the mode-based estimation, MRMix and the contamination mixture method in Figure 4(c), as these four methods are all based on the plurality rule condition. Venn diagrams that compare MR-SPI and the other competing MR methods can be found in Supplementary Figures S10 and S11. From Figure 4(c), MR-SPI generally detects more significant associations than the mode-based estimation, MRMix and the contamination mixture method among these 146 exposure-outcome pairs. Indeed, these three competing MR methods fail to discover some causal relationships that have been supported from previous literature. For example, the mode-based estimation, MRMix and the contamination mixture method fail to detect that an increased HDL level might be associated with a decreased risk of CAD, which is identified by MR-SPI (, p-value = 3.73 × 10−17) and has been supported with evidence by previous epidemiological studies43,44. Supplementary Figure S10 compares the significant relationships detected by MR-SPI and three MR methods that require InSIDE assumption (IVW, MR-Egger and MR-RAPS). MR-RAPS detects 17 significant associations that are not identified by MR-SPI, of which some associations might be spurious. For example, MR-RAPS suggests significant associations of AIS on low-density lipoprotein (LDL), high-density lipoprotein (HDL) and total cholesterol (TC) level. However, the reverse association, i.e., cholestrol level on the risk of stroke, has been reported in previous epidemiological studies45,46. In Supplementary Figure S11, we compare MR-SPI with MR-PRESSO and the weighted median method that both require the majority rule condition. MR-PRESSO and the weighted median detect 14 and 10 significant associations, respectively, all of which are also identified by MR-SPI. Besides, MR-SPI identifies 11 more significant associations, most of which are in line with previous epidemiological studies, for example, HF might be a risk factor for ischemic stroke47,48.
To deal with the issue of potential IV selection error, we also construct robust confidence intervals of these exposure-outcome pairs by MR-SPI according to Algorithm 2. Generally, MR-SPI discovers four significant associations whose robust confidence intervals do not include zero (CES on HF, LDL on CAD, TC on CAD, and atrial fibrillation (AF) on CES), and we compare the robust confidence intervals (represented by blue bars) with the default confidence intervals calculated by equation (12) (represented by red bars) in Figure 4(d). As shown in Figure 4(d), the robust confidence intervals are longer than the default confidence intervals of MR-SPI, indicating that locally invalid IVs might exist and might be incorrectly selected in these datasets. Therefore, we suggest using the robust confidence intervals for inference in these four relationships to provide more reliable causal findings.
2.5 Identification of Alzheimer’s disease-associated proteins using MR-SPI
Omics MR (xMR) aims to identify omics biomarkers (e.g., proteins) causally associated with complex traits and diseases. In particular, xMR with proteomics data enables the identification of disease-associated proteins, facilitating crucial advancements in drug target discovery, disease prevention, and treatment strategies. In this section, we apply MR-SPI to identify protein biomarkers putatively causally associated with the risk of Alzheimer’s disease (AD). The proteomics data used in our analysis comprises 54,306 participants from the UK Biobank Pharma Proteomics Project (UKB-PPP)49. Following the guidelines proposed by Sun et al. 49, significant (p-value < 3.40 × 10−11, accounting for Bonferroni correction) and independent (r2 < 0.01) SNPs are extracted from the proteomics data as candidate genetic instruments, and thus all of these candidates SNPs are strongly associated with the exposures (proteins). Summary statistics for AD are obtained from a meta-analysis of GWAS studies for clinically diagnosed AD and AD-by-proxy, comprising 455,258 samples in total50. For MR method comparison, we analyze 912 proteins that share four or more candidate SNPs within the summary statistics for AD.
As presented in Figure 5(a), MR-SPI identifies 7 proteins that are significantly associated with AD after Bonferroni correction, including CD33, CD55, EPHA1, PILRA, PILRB, PRSS8, RET, and TREM2. Among them, 4 proteins contribute to an increased risk of AD (CD33, PILRA, PILRB, and RET), while the other 3 proteins contribute to a decreased risk of AD (CD55, EPHA1, and TREM2). Previous studies have revealed that these proteins and the corresponding proteincoding genes might contribute to the pathogenesis of AD51,52,53,54,55. For example, it has been found that CD33 plays a key role in modulating microglial pathology in AD, with TREM2 acting downstream in this regulatory pathway53. Additionally, RET at mitochondrial complex I is activate during ageing, which might contribute to an increased risk of ageing-related diseases including AD55. These findings highlight the potential therapeutic opportunities that target these proteins for the treatment of AD.
In Figure 5(b), we present the point estimates and 95% confidence intervals of the effects (on the log odds ratio scale) of these 7 proteins on AD using the other competing MR methods. From Figure 5(b), these proteins are identified by most of the competing MR methods, confirming the robustness of our findings. Notably, in the relationship of TREM2 on AD, MR-SPI detects one possibly invalid IV, SNP rs10919543, which is associated with red blood cell count according to PhenoScanner. Red blood cell count is a known risk factor for AD 56,57, and thus SNP rs10919543 might exhibit pleiotropy in the relationship of TREM2 on AD. After excluding this potentially invalid IV, MR-SPI suggests that TREM2 is negatively associated with the risk of AD (, p-value = 1.20 × 10−18). Additionally, we perform the gene ontology (GO) enrichment analysis using the g:Profiler web server58(https://biit.cs.ut.ee/gprofiler/gost) to gain biological insights for the set of proteins identified by MR-SPI, and the results are presented in Figure 5(c) and 5(d). After Bonferroni correction, the GO analysis indicates that these proteins are significantly enriched in 21 GO terms, such as the metabolic process, MHC protein binding, and transmembrane receptor protein kinase activity.
3 Discussion
In this paper, we develop a novel two-sample MR method and algorithm, named MR-SPI, to automatically select valid SNPs from GWAS studies and perform post-selection inference. MR-SPI first selects relevant IVs with strong SNP-exposure associations, and then applies the voting procedure to select a plurality of the relevant IVs whose ratio estimates are similar to each other as valid IVs. In case that the causal effect estimate of MR-SPI is biased due to the selection of locally invalid IVs in finite samples, MR-SPI can provide a robust confidence interval constructed by the searching and sampling method, which is less vulnerable to IV selection error. We show with extensive simulation studies that MR-SPI can be helpful to select valid genetic instruments among candidate SNPs for a specific exposure-outcome pair and provide robust confidence interval for the causal effect when invalid IVs exist. Through data analyses, we demonstrate that MR-SPI can provide reliable causal findings by automatically selecting valid genetic instruments. We apply MR-SPI to infer the causal relationships among 146 trait pairs, and detect significant associations. Furthermore, we employ MR-SPI to conduct xMR analysis with 912 proteins using the proteomics data from UK Biobank, and identify 7 proteins significantly associated with the risk of Alzheimer’s disease. These findings highlight the potential of MR-SPI as a powerful tool in the identification of therapeutic targets for disease prevention and treatment.
We emphasize two main advantages of MR-SPI in this paper. First, MR-SPI can incorporate both exposure and outcome data to automatically select a set of valid genetic instruments in genome-wide studies, and the selection procedure does not rely on additional distributional assumptions on the genetic effects. Therefore, MR-SPI is the first to offer such a practical approach to select valid instruments for a specific exposure-outcome pair from GWAS studies for MR analyses, which is especially helpful in the existence of wide-spread horizontal pleiotropy. Second, we propose a robust confidence interval for the causal effect using the searching and sampling method, which is less vulnerable to the IV selection error. Therefore, when locally invalid IVs are incorrectly selected and the causal effect estimate is biased in finite samples, we can still provide reliable inference for the causal effect with the robust confidence interval.
MR-SPI also has some limitations. Currently, MR-SPI can only perform causal inference using independent SNPs from two non-overlapping samples. As a future work, we plan to extend MR-SPI to include SNPs with LD structure from summary statistics of two possibly overlapping samples. Besides, the robust confidence interval is slightly more conservative than the confidence interval calculated from the limit distribution of the causal effect estimate, which is the price to pay for the robustness to the finite-sample IV selection error. Further studies are needed to construct less conservative confidence intervals that are robust to the IV selection error.
In conclusion, MR-SPI provides an automatic approach to selecting valid instruments among candidate SNPs and perform causal inference using two-sample GWAS summary statistics. Simulation studies and data analyses have shown that MR-SPI can provide reliable inference for the causal relationships even in the presence of invalid IVs. Our developed software is also user-friendly and highly efficient. We hope that MR-SPI can help researchers to detect more trustworthy causal mechanisms with increasingly rich and publicly available GWAS and multi-omics datasets.
Data Availability
All data produced in the present study are available upon reasonable request to the authors.
Software availability
The R package MR.SPI is publicly available at https://github.com/MinhaoYaooo/MR-SPI.
Data availability
All of the GWAS data analyzed are publicly available with the following URLs:
CARDIoGRAMplusC4D consortium: http://www.cardiogramplusc4d.org/data-downloads/;
GIANT consortium: https://portals.broadinstitute.org/collaboration/giant/index.php/GIANT_consortium_data_files;
MEGASTROKE consortium: http://megastroke.org/download.html;
Global Lipids Genetics Consortium (GLGC): http://csg.sph.umich.edu/willer/public/lipids2013/;
GWAS for heart failure: https://www.ebi.ac.uk/gwas/publications/31919418;
GWAS for atrial fibrillation: https://www.ebi.ac.uk/gwas/publications/30061737;
The COVID-19 Host Genetics Initiative: https://www.covid19hg.org/.
GWAS for Alzheimer’s disease: https://ctg.cncr.nl/software/summary_statistics.
UK Biobank proteomics data: https://europepmc.org/article/ppr/ppr508031.
Online Methods
Two-sample GWAS summary statistics
Suppose that we obtain p independent SNPs Z = (Z1, …, Zp)⊺ by using LD clumping that keeps one representative SNP per LD region34. We also assume that the SNPs are standardized such that 𝔼Zj = 0 and Var(Zj) = 1 for 1 ≤ j ≤ p. Let D denote the exposure and Y denote the outcome. Consider the following linear structural models 24,59: where β represents the causal effect of interest, γ = (γ1, …, γp)⊺ represents the IV strength, and π = (π1, …, πp)⊺ encodes the violation of assumption (A2) and (A3). If assumptions (A2) and (A3) hold for SNP j, then πj = 0 and otherwise πj ≠ 0 (see Supplementary Section S1 for details). The error terms δ and e with variances and respectively are possibly correlated due to unmeasured confounding factors. By plugging the exposure model (1) into the outcome model (2), we obtain the reduced-form outcome model: where ϵ = βδ + e. Let Γ = (Γ1, …, Γp)⊺ denote the SNP-outcome associations, then we have Γ = βγ + π. If γj ≠ 0, then SNP j is called a relevant IV. If both γj ≠ 0 and πj = 0, then SNP j is called a valid IV. Let 𝒮 = {j : γj ≠ 0, 1 ≤ j ≤ p} denote the set of all relevant IVs, and 𝒱 = {j : γj ≠ 0 and πj = 0, 1 ≤ j ≤ p} denote the set of all valid IVs. The majority rule condition can be expressed as , and the plurality rule condition can be expressed as |𝒱| > maxc≠0 |{j ∈ 𝒮 : πj/γj = c}|24. If the plurality rule condition holds, then valid IVs with the same ratio of SNP-outcome effect to SNP-exposure effect will form a plurality. Based on this key fact, our proposed MR-SPI selects the largest group of SNPs with similar ratio estimates of the causal effect as valid IVs using a voting procedure to be described in detail in Section 3.
Let and be the estimated marginal effects of SNP j on the exposure and the outcome, and and be the corresponding standard errors respectively. Let and . In the two-sample setting, the summary statistics and are calculated from two non-overlapping samples with sample sizes n1 and n2 respectively. When all the SNPs are independent of each other, the joint asymptotic distribution of and is: where the diagonal entries of Vγ and VΓ are and , respectively, and the off-diagonal entries of Vγ and VΓ are and , respectively. The derivation of the limit distribution (3) can be found in Supplementary Section S2. Therefore, with the summary statistics of the exposure and the out-come, we can estimate and as:
After obtaining , we can perform the proposed IV selection procedure as illustrated in Figure 1.
Selecting valid instruments by voting
The first step of MR-SPI is to select relevant SNPs with large IV strength using GWAS summary statistics for the exposure. Specifically, we estimate the set of relevant IVs 𝒮 by: where is the standard error of in the summary statistics, Φ−1 (·) is the quantile function of the standard normal distribution, and α* is the user-specified threshold with the default value of 1 × 10−6. This step is equivalent to filtering the SNPs in the exposure data with p-value < α*, and is adopted by most of the current two-sample MR methods to select (relevant) genetic instruments for downstream MR analysis. Note that the selected genetic instruments may not satisfy the IV independence and exclusion restriction assumptions and thus maybe invalid. In contrast, our proposed MR-SPI further incorporates the outcome data to automatically select a set of valid genetic instruments from for a specific exposure-outcome pair.
Under the plurality rule condition, valid genetic instruments with the same ratio of SNP-outcome effect to SNP-exposure effect (i.e., Γj/γj) will form a plurality and yield “similar” ratio estimates of the causal effect. Based on this key fact, MR-SPI selects a plurality of relevant IVs whose ratio estimates are “similar” to each other as valid IVs. Specifically, we propose the following two criteria to measure the similarity between the ratio estimates of two SNPs j and k:
C1: We say the kth SNP “votes for” the jth SNP to be a valid IV if, by assuming the jth SNP is valid, the kth SNP’s degree of violation of (A2) and (A3) is small;
C2: We say the ratio estimates of two SNPs j and k are “similar” if they mutually vote for each other to be valid.
The ratio estimate of the jth SNP is defined as . By assuming the jth SNP is valid, the plug-in estimate of the kth SNP’s degree of violation of (A2) and (A3) can be obtained by as we have Γk = βγk + πk for the true causal effect β, and for the ratio estimate of the kth SNP. From equation (6), has two noteworthy implications. First, measures the difference between the ratio estimates of SNPs j and k (multiplied by the kth SNP-exposure effect estimate ), and a small implies that the difference scaled by is small. Second, represents the kth IV’s degree of violation of (A2) and (A3) by regarding the jth SNP’s ratio estimate as the true causal effect, thus a small implies a strong evidence that the kth IV supports the jth IV to be valid. Therefore, we say the kth IV votes for the jth IV to be valid if: where is the standard error of , which is given by: and the term in equation (7) ensures that the violation of (A2) and (A3) can be correctly detected with probability 1 as the sample sizes goes to infinity, as shown in Supplementary Section S3.
For each relevant IV in , we collect all relevant IVs’ votes on whether it is a valid IV according to equation (7). Then we construct a voting matrix to summarize the voting results and evaluate the similarity of two SNPs’ ratio estimates according to criterion C2. Specifically, we define the (k, j) entry of as:
From equation (9), we can see that the voting matrix is symmetric, and the entries of are binary: represents SNPs j and k vote for each other to be a valid IV, i.e., the ratio estimates of these two SNPs are close to each other; represents that they do not. For example, in Figure 1, since the ratio estimates of SNP 1 and 2 are similar, while because the ratio estimates of SNP 1 and 4 differ substantially.
After constructing the voting matrix , we select the valid IVs by applying majority/plurality voting or finding the maximum clique of the voting matrix29. Let be the total number of SNPs whose ratio estimates are similar to SNP k. For example, VM1 = 3 in Figure 1, since 3 SNPs (including SNP 1 itself) yield similar ratio estimates to SNP 1 according to criterion C2. A large VMk implies a strong evidence that SNP k is a valid IV, since we assume that valid IVs form a plurality of the relevant IVs. Let denote the set of IVs with majority voting, and denote the set of IVs with plurality voting, then the union can be a robust estimate for 𝒱 in practice. Alternatively, we can also find the maximum clique in the voting matrix as an estimate for 𝒱. A clique in the voting matrix is a group of IVs who mutually vote for each other to be valid, and the maximum clique is the clique with the largest possible number of IVs.
Estimation and inference of the causal effect
After selecting the set of valid genetic instruments , the causal effect β is estimated by: and the variance of is estimated by: where and are the estimates of SNP-exposure associations and SNP-outcome associations of the instruments in , respectively. The two expectation terms and in equation (11) can be approximated by and , respectively. The variance-covariance matrix of can be obtained by the delta method, as shown in Supplementary Section S4. Let α ∈ (0, 1) be the significance level and z1−α/2 be the (1 − α/2)-quantile of the standard normal distribution, then the (1 − α) confidence interval for β is given by:
As min{n1, n2} → ∞, we have under the plurality rule condition, as shown in Supplementary Section S5. Hence, MR-SPI provides a theoretical guarantee for the asymptotic coverage probability of the confidence interval under the plurality rule condition.
We summarize the procedure of selecting valid IVs and constructing the corresponding confidence interval by MR-SPI in Algorithm 1.
A robust confidence interval via searching and sampling
In finite-sample settings, the selected set of relevant IVs might include some invalid IVs whose degrees of violation of (A2) and (A3) are small but nonzero, and we refer to them as “locally invalid IVs”31. When locally invalid IVs exist and are incorrectly selected into , the confidence interval in equation (12) becomes unreliable, since its validity (i.e., the coverage probability attains the nominal level) requires that the invalid IVs are correctly identified. In practice, we can multiply the threshold in the right-hand side of equation (7) by a scaling factor η to examine whether the confidence interval calculated by equation (12) is sensitive to the choice of the threshold. If the confidence interval varies substantially to the choice of the scaling fator η, then there might exist finite-sample IV selection error especially with locally invalid IVs. We demonstrate this issue with two numerical examples presented in Supplementary Figure S12. Supplementary Figure S12(a) shows an example in which MR-SPI provides robust inference across difference values of the scaling factor, while Supplementary Figure S12(b) shows an example that MR-SPI might suffer from IV selection error, as the causal effect estimate and the corresponding confidence interval are sensitive to the choice of the scaling factor η. This issue motivates us to develop a more robust confidence interval.
To construct a confidence interval that is robust to finite-sample IV selection error, we borrow the idea of searching and sampling proposed by31, with main steps described in Figure 6. The key idea is to sample the estimators of γ and Γ repeatedly from the following distribution: where M is the number of sampling times. Since and follow distributions centered at γ and Γ, there exists m* such that and are close enough to the true genetic effects γ and Γ when the number of sampling times M is sufficiently large, and thus the confidence interval obtained by using and instead of and might have a larger probability of covering β.
For each sampling, we construct the confidence interval by searching over a grid of β values such that more than half of the instruments in are detected as valid. As for the choice of grid, we start with the smallest interval [L, U] that contains all the following intervals: where is the ratio estimate of the jth SNP, is the variance of , and serves the same purpose as in equation (7). Then we discretize [L, U] into ℬ = {b1, b2, …, bK} as the grid set such that b1 = L, bK = U and |bk+1 − bk| = n−0.6 for 1 ≤ k ≤ K − 2. We set the grid size n−0.6 so that the error caused by discretization is smaller than the parametric rate n−1/2.
For each grid value b ∈ ℬ and sampling index 1 ≤ m ≤ M, we propose an estimate of the degree of violation of (A2) and (A3) of the jth SNP by: where is a data-dependent threshold, Φ−1(·) is the inverse of the cumulative distribution function of the standard normal distribution, α ∈ (0, 1) is the significance level, and (λ < 1 when M is sufficiently large) is a scaling factor to make the thresholding more stringent so that the confidence interval in each sampling is shorter, which we will see later in equation (16). Here, indicates that the jth SNP is detected as a valid IV in the mth sampling if we take as the estimates of genetic effects and b as the true causal effect. Let , then we construct the mth sampling’s confidence interval CI(m) by searching for the smallest and largest b ∈ ℬ such that more than half of SNPs in are detected to be valid according to equation (15), i.e.,
From equations (15) and (16), we can see that, when λ is smaller, there will be fewer SNPs in being detected as valid for a given b ∈ ℬ, which leads to less b ∈ ℬ satisfying , thus the confidence interval in each sampling will be shorter. If there does not exist b ∈ ℬ such that the majority of IVs in are detected as valid, we set CI(m) = ∅. Let ℳ = {1 ≤ m ≤ M : CI(m) ≠ ∅} denote the set of all sampling indexes corresponding to non-empty searching confidence intervals, then the proposed robust confidence interval is given by:
We summarize the procedure of constructing the proposed robust confidence interval in Algorithm 2.
Constructing A Robust Confidence Interval via Searching and Sampling
Simulation settings
We set the number of candidate IVs p = 10 and the sample sizes n1 = n2 ∈ {5000, 10000, 20000, 40000, 80000}. We generate the jth genetic instruments Zj and Xj independently from a binomial distribution Bin(2, fj), where fj ∼ U (0.05, 0.50) is the minor allele frequency of SNP j. Then we generate the exposure and the outcome according to models (1) and (2) respectively. Finally, we calculate the genetic associations and their corresponding standard errors for the exposure and the outcome, respectively. As for the parameters in models (1) and (2), we fix the causal effect β = 1, and we consider 4 scenarios for γ ∈ ℝp and π ∈ ℝp:
Scenarios (S1) and (S3) satisfy the majority rule condition, while (S2) and (S4) only satisfy the plurality rule condition. In addition, (S3) and (S4) simulate the cases where locally invalid IVs exist, as we shrink some of the SNPs’ violation degrees of (A2) and (A3) down to 0.25 times in these two scenarios. In total, we run 1000 replications in each scenario.
Implementation of existing MR methods
We compare the performance of MR-SPI with eight other MR methods in simulation studies and data analyses. These methods are implemented as follows:
Random-effects IVW, MR-Egger, the weighted median method, the mode-based estimation and the contamination mixture method are implemented in the R package “MendelianRan-domization” (https://github.com/cran/MendelianRandomization). The mode-based estimation is run with iteration=1000. All other methods are run with the default parameters.
MR-PRESSO is implemented in the R package “MR-PRESSO” (https://github.com/rondolab/MR-PRESSO) with outlier test and distortion test.
MR-RAPS is performed using the R package “mr.raps” (https://github.com/qingyuanzhao/mr.raps) with the default options.
MRMix is run with the R package “MRMix” (https://github.com/gqi/MRMix) using the default options.
Footnotes
More data analyses added.
References
- [1].↵
- [2].↵
- [3].↵
- [4].↵
- [5].↵
- [6].↵
- [7].↵
- [8].↵
- [9].↵
- [10].↵
- [11].↵
- [12].↵
- [13].↵
- [14].↵
- [15].↵
- [16].↵
- [17].↵
- [18].↵
- [19].↵
- [20].↵
- [21].↵
- [22].↵
- [23].↵
- [24].↵
- [25].↵
- [26].↵
- [27].↵
- [28].↵
- [29].↵
- [30].↵
- [31].↵
- [32].↵
- [33].↵
- [34].↵
- [35].↵
- [36].↵
- [37].↵
- [38].↵
- [39].↵
- [40].↵
- [41].↵
- [42].↵
- [43].↵
- [44].↵
- [45].↵
- [46].↵
- [47].↵
- [48].↵
- [49].↵
- [50].↵
- [51].↵
- [52].↵
- [53].↵
- [54].↵
- [55].↵
- [56].↵
- [57].↵
- [58].↵
- [59].↵