## Figures

## Abstract

Genetic risk prediction is an important problem in human genetics, and accurate prediction can facilitate disease prevention and treatment. Calculating polygenic risk score (PRS) has become widely used due to its simplicity and effectiveness, where only summary statistics from genome-wide association studies are needed in the standard method. Recently, several methods have been proposed to improve standard PRS by utilizing external information, such as linkage disequilibrium and functional annotations. In this paper, we introduce EB-PRS, a novel method that leverages information for effect sizes across all the markers to improve prediction accuracy. Compared to most existing genetic risk prediction methods, our method does not need to tune parameters nor external information. Real data applications on six diseases, including asthma, breast cancer, celiac disease, Crohn’s disease, Parkinson’s disease and type 2 diabetes show that EB-PRS achieved 307.1%, 42.8%, 25.5%, 3.1%, 74.3% and 49.6% relative improvements in terms of predictive *r*^{2} over standard PRS method with optimally tuned parameters. Besides, compared to LDpred that makes use of LD information, EB-PRS also achieved 37.9%, 33.6%, 8.6%, 36.2%, 40.6% and 10.8% relative improvements. We note that our method is not the first method leveraging effect size distributions. Here we first justify our method by presenting theoretical optimal property over existing methods in this class of methods, and substantiate our theoretical result with extensive simulation results. The R-package EBPRS that implements our method is available on CRAN.

## Author summary

Genetic risk prediction is of considerable importance in human genetics. Calculating polygenic risk score (PRS) is the most commonly used approach due to its simplicity as well as the computational efficiency. Many PRS calculation methods have been proposed for accurate prediction by borrowing information from external panels or datasets. Here, instead of external information, we propose a novel PRS method leveraging internal information, namely the effect size distributions, to improve prediction accuracy. Neither parameter tuning nor external information is needed for our method. Extensive simulations and real data applications demonstrate that our method has substantial improvement over existing methods in terms of prediction accuracy.

**Citation: **Song S, Jiang W, Hou L, Zhao H (2020) Leveraging effect size distributions to improve polygenic risk scores derived from summary statistics of genome-wide association studies. PLoS Comput Biol 16(2):
e1007565.
https://doi.org/10.1371/journal.pcbi.1007565

**Editor: **Ani Manichaikul,
University of Virginia, UNITED STATES

**Received: **May 17, 2019; **Accepted: **November 25, 2019; **Published: ** February 11, 2020

**Copyright: ** © 2020 Song et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.

**Data Availability: **All the GWAS summary statistics are available online and can be accessed through: https://www.ibdgenetics.org/, http://gameon.dfci.harvard.edu, https://www.cnrgh.fr/gabriel/index.html, http://diagram-consortium.org/downloads.html and https://www.immunobase.org/downloads/protected_data/GWAS_Data/. Individual level genotype data are available from dbGaP (accession numbers:phs000021, phs000089, phs000147, phs000237, phs000274 and phs000490), WTCCC on EGA https://www.ebi.ac.uk/ega/ (accession numbers: EGAD00001000401) and WTCCC2 study on Parkinson’s Disease.

**Funding: **Our work was supported in part by the National Institutes of Health (https://www.nih.gov/) grants R01 DA037974, 3P30AG021342-16S2, R01 GM122078, and National Science Foundation (https://www.nsf.gov/funding/) grant DMS 1713120. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

**Competing interests: ** The authors have declared that no competing interests exist.

## Introduction

The onset of common diseases results from the combined effects of genetic and environmental factors. The initial objective of genome-wide association studies (GWAS) is to identify genetic variants, such as single nucleotide polymorphisms (SNPs), that are associated with human diseases. In the past decade, GWAS have identified tens of thousands of genetic associations [1]. These identified associations have led to new insights on the etiologies of many diseases [2–4]. In addition to understanding the genetic basis of complex diseases, the association results provide us with an opportunity to develop genetic risk prediction models that are clinically useful. With accurate risk prediction methods, we can better advise individuals on appropriate prevention, screening, and diagnosis, and the estimated disease risk may also be helpful for treatment. For example, individuals with high predicted risk of cardiovascular disease or diabetes would be recommended for healthy diets, fitness regimens, as well as more regular check ups.

Calculating polygenic risk score (PRS) is a common genetic risk prediction approach because of its simplicity and computational efficiency. PRS sums the number of risk alleles among a set of SNPs, weighted by their effect sizes estimated from a certain cohort. We can regard PRS as the estimated genetic liability to a disorder or a trait [5]. The standard PRS method, namely the Pruning + Thresholding (P+T) method, selects SNPs after LD-clumping and *p*-value thresholding. The observed effect sizes of selected SNPs, which can be directly extracted from summary statistics, are used as weights. Hence, only GWAS summary statistics are needed to calculate PRS, which is attractive since summary statistics are more accessible than individual-level genotype data due to potential privacy and data sharing concerns. In the following, we only focus on the PRS methods utilizing GWAS summary statistics.

To further improve prediction accuracy, several methods have been proposed to utilize other information, such as LDpred (and LDpred-inf) that models the LD information extracted from a reference panel [6]; AnnoPred that leverages diverse types of genomic and epigenomic functional annotations [7]; and PleioPred and SMTpred that utilize pleiotropy relationship with other traits/diseases [8, 9]. All of these methods need to borrow information from external panels or datasets.

In this article, we explore whether we can improve the standard PRS method without using information from external panels or datasets. We give a positive answer to this question in this article by proposing EB-PRS, a novel PRS approach based on Empirical Bayes theory, borrowing information across markers to improve prediction accuracy. Instead of using a prespecified prior distribution in standard Bayesian modeling, the Empirical Bayes approach estimates the prior distribution from the data. Here we first utilize the GWAS summary statistics to infer the overall distribution of effect sizes and then leverage this distribution to improve the standard PRS method by minimizing the prediction error.

Compared to the existing genetic risk prediction methods, our method has the following advantages:

- Our method does not need to tune parameters, avoiding the use of training data to select the best performing parameters.
- Compared to other improved PRS methods such as LDpred and AnnoPred, we do not need external panels or datasets.
- We note that we are not the first one proposing to utilize effect size distributions for PRS calculations. Some methods in this category also have no tuning parameters or external input, such as the methods proposed in So and Sham (2017) [10] and Mak et al. (2016) [11]. We theoretically construct the optimal PRS in terms of minimizing the prediction error, thus our method has theoretical superiority compared with the existing methods in this category. Better experimental performance also supports our theoretical results.

We demonstrate the better performance of our method through both simulations and real data applications to six complex diseases including asthma (AS), breast cancer (BC), celiac disease (CEL), Crohn’s disease (CD), Parkinson’s disease (PD), and type 2 diabetes (T2D).

## Results

### Simulation experiments

#### Simulation based on independent SNP assumption.

We first performed simulations to investigate the performance of our method when the markers are independent. In these simulations, we fixed the number of independent SNPs to *m* = 10, 000 and the causal SNP proportion was set to 0.1. For each SNP, its allele frequency was simulated from a uniform distribution *U*(0.05, 0.95) and its effect size was drawn from a point-normal mixture distribution, i.e., *μ* ∼ 0.9*δ*_{0} + 0.1*N*(0, 0.001*N*_{e}). We further set the prevalence of the disease *κ* to be 1%. To explore the relationship between the prediction performance of our method and the sample sizes of training datasets, we varied the sample size from 2,000 to 8,000. We first set the control-to-case ratios (CCRs) to 1 in the training datasets. In order to simulate under a setting consistent with real data, we also performed simulations with lager CCRs (ranging from 2 to 4).

Because SNPs were simulated independently, there is no need to consider LD among SNPs in this scenario. Therefore, we will only compare our method with a simplified P+T method in which the pruning step is not carried out. The *p*-value threshold of the P+T method was varied among {1, 5*e* − 01, 5*e* − 02, 5*e* − 03, 5*e* − 04, 5*e* − 05, 5*e* − 06}. We simulated 100 controls and 100 cases as our testing dataset. For each individual in the simulated testing dataset, the PRSs generated from the EB-PRS, P+T, So et al.’s and Mak et al.’s methods were calculated. We evaluate the prediction performance by using both the squared correlation between the PRSs and the observed phenotypes (predictive *r*^{2}), and the area under the receiver operating characteristic (ROC) curve (AUC). For the P+T method, we report the results with the best performing parameters. We ran experiments in each setting 10 times and compared the average performances of four methods. Fig 1 shows the average predictive *r*^{2} of EB-PRS, P+T and the method from So et al. Results for using biobank-level sample sizes are in S1 Fig. We omit the results of Mak et al.’s method because it is far less competitive here. Fig 2 is the ROC curves under different CCRs when the sample size is 2,000. The average predictive *r*^{2} and AUCs for the four methods in different settings are summarized in S1 Table.

Here the control-to-case ratio is set to one. EB-PRS always outperformed the other methods. The error bar indicates the standard deviation of predictive *r*^{2} across 10 times simulations.

We use the bootstrap-based method presented in Robin et al. [36] to compare the difference of AUC. We show the *p*-values of comparing the AUC of EB-PRS and P+T method.

Population genetics data suggest that there are more SNPs with low minor allele frequencies (MAF) than those with high MAF [12]. To mimic this more realistic situation, we also simulate genotype data with allele frequencies from a scaled Beta distribution within (0.05, 0.95), where the density function is
(1)
Here we set shape parameters *a* = *b* = 0.8. The results of the simulation experiment are shown in S2 Fig. In addition, in real data, if the training and testing samples come from different populations, the allele frequencies of SNPs may be different, together with the causal variants and their effect sizes. Thus, we present the results when the distribution allele frequencies in the training set (uniform distribution) and the testing set (Beta distribution) are different, in S3 Fig. In addition, we specify the effect size of each causal SNP in the testing population different with their original value in the training population, and the difference between them follows a normal distribution *N*(0, 0.0005*N*_{e}). The results showing the performance of different methods in divergent effect sizes can be seen in S4 Fig. We summarize the AUC and predictive *r*^{2} under different CCRs in Supplementary S2–S4 Tables. In addition, we present the performances of the four methods under different causal SNP proportions in Supplementary S5 Table. Under all circumstances of simulations, EB-PRS outperformed the other three methods.

#### Simulations based on real genotypes.

In order to evaluate the performance of our method for depenent SNPs (i.e., SNPs are in LD), we conducted simulations based on individual-level genotype data accessed from the database of Genotypes and Phenotypes (dbGaP) [13, 14] (study accession number phs000021). This schizophrenia study dataset included 2,729 samples, and consisted of 729,454 SNPs. The CCR for the schizophrenia dataset is 1.2. We randomly selected 0.1% SNPs to have effects on disease and set the prior of the case proportion to 0.5. For these SNPs, their log-ORs (*β*) for associated SNPs were assumed to follow a normal distribution *N*(0, 0.04). The phenotype of each individual was generated according to the following formula:
(2)
where is the set of causal SNPs. With this setting, the corresponding heritability in the observed scale is 49.2%.

Here we compare EB-PRS with six other methods including unadjusted PRS, P+T, LDpred-inf, LDpred, So et al.’s method, and Mak et al.’s method. We used genotype data of individuals with European ancestry from the 1000 Genomes Project as the reference panel for both LDpred-inf and LDpred. For LDpred, we set the proportion of causal SNPs from {1, 3*e* − 01, 1*e* − 01, 3*e* − 02, 1*e* − 02, 3*e* − 03, 1*e* − 03, 3*e* − 04, 1*e* − 04, 3*e* − 05, 1*e* − 05}. The five-fold cross validation was used to evaluate the prediction performance of different methods. For each training dataset, we calculated the summary statistics from the genotype data and utilized them to derive PRSs. The performance is measured using both the predictive *r*^{2} and AUC. For the P+T and LDpred, we report the results with the best performing parameters.

Fig 3 shows the predictive *r*^{2} of the seven methods using five-fold cross validation. We can see that EB-PRS is the best among the seven approaches. The exact values of predictive *r*^{2} and AUC are shown in Table 1. EB-PRS achieved 107%, 32%, 107%, 21%, 61%, and 383% relative improvements over the other six methods using the *r*^{2} metric. The AUC in the table also shows the predictive superiority of EB-PRS.

The simulations were based on individual-level genotype data accessed from the schizophrenia study (study accession number phs000021) in dbGaP. The dataset included 2,729 samples, and consisted of 729,454 SNPs. The highest mean *r*^{2} and AUCs are highlighted in boldface.

To help the user budget computation, we provide a summary table of computational time for our methods, LDpred and So et al.’s method for this simulation based on five-fold and ten-fold cross validation in Supplementary S6 Table. The simulations were based on an Intel Xeon processor with 2.50GHz.

### Applications to six real datasets

We applied EB-PRS and other PRS methods to six complex disease data sets including asthma (AS) [13], breast cancer (BC) [15, 16], celiac disease (CEL) [17], Crohn’s disease (CD) [18, 19], Parkinson’s disease (PD) [20] and type 2 diabetes (T2D) [21, 22] to illustrate the improved risk prediction performance in real data. We summarize the information of the training and testing sets in Table 2 and list details as below.

For AS, we trained the model using summary statistics from the GABRIEL Consortium, which was a meta-analysis of 23 studies, including 10,365 persons with physician-diagnosed asthma and 16,110 unaffected persons. There were 535,060 SNPs in the released summary statistics. We tested the performance utilizing samples from the study phs000490 in the dbGaP, with 515 cases and 875 controls [13]. For BC, we used summary statistics from the Genetic Associations and Mechanisms in Oncology (GAME-ON) study (*n*_{0} = 41, 335 and *n*_{1} = 16, 003) [15] covering 2,435,470 SNPs as the training data, and samples from the Cancer Genetic Markers of Susceptibility (CGEMS) study (*n*_{0} = 70, *n*_{1} = 966) [16] as the testing data. Shared individuals between two studies were removed in the testing data. For CEL, we trained the model with 4,533 individuals with celiac disease and 10,750 control from Dubois’ study [17], in which 508,742 SNPs were genotyped. The testing data is from samples in the National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK) celiac disease study (1,716 cases and 530 controls) [23]. For CD, we trained the model using summary statistics from the International Inflammatory Bowel Disease Genetics Consortium (IIBDGC; *n*_{0} = 15, 056, *n*_{1} = 6, 333 and *m* = 871, 743) [18]. Individuals from the WTCCC were removed from the meta-analysis and used as the testing dataset (*n*_{0} = 2, 891, *n*_{1} = 1, 689) [19]. For PD, we used the summary statistics released from the Simon-Sanchez J et al.’s study as the training data, which summarized the association information of 450,439 SNPs genotyped among 1,713 individuals of European ancestry with PD and 3,978 controls with the same ancestry [20]. We used the Wellcome Trust Case Control Consortium 2 (WTCCC2) data (*n*_{0} = 2, 574 and *n*_{1} = 1, 843) as the testing data. For T2D, we trained the model on summary statistics from the Diabetes Genetics Replication and Meta-analysis consortium (DIAGRAM, *n*_{0} = 56, 862, *n*_{1} = 12, 171) [21] and tested the model on samples from the Northwestern NUgene Project (*n*_{0} = 517, *n*_{1} = 662) [22]. There were 2,400,624 SNPs in the training data.

For these six diseases, EB-PRS outperformed all other methods, including the unadjusted PRS, P+T, LDpred-inf, LDpred, So et al.’s and Mak et al.’s methods. Even without external information or datasets, the performance of our method was better than best performing LDpred for all diseases. Here, we build two logistic models, one fits PRSs derived from one method only, while the other one fits PRSs derived from two methods. Then we use the likelihood ratio test to compare the difference of the prediction accuracy and report the corresponding *p*-value. EB-PRS attained significant improvement in prediction accuracy over P+T for AS (*p*-value = 4.5*e* − 03), BC (*p*-value = 1.1*e* − 02), CEL (*p*-value < 2.0*e* − 16), CD (*p*-value = 1.5*e* − 07), PD (*p*-value = 1.8*e* − 02), and T2D (*p*-value = 4.4*e* − 06).

Fig 4 shows the predictive *r*^{2} of all seven methods to six diseases. Each plot corresponds to a specific disease and the left column indicates the predictive accuracy of EB-PRS. We can see that EB-PRS always outperformed the other six methods. Specifically, evaluated by predictive *r*^{2}, EB-PRS respectively achieved 307.1% (for AS), 42.8% (for BC), 25.5% (for CEL), 3.1% (for CD), 74.3% (for PD), and 49.6% (for T2D) relative improvements over P+T. Meanwhile, EB-PRS had 37.9% (for AS), 33.6% (for BC), 8.6% (for CEL), 36.2% (for CD), 40.6% (for PD), and 10.8% (for T2D) relatively improvement than LDpred. We also show the AUC values in Table 3. From the table we can see the superiority of EB-PRS over the other six methods.

The highest AUCs are highlighted in boldface.

In general, unadjusted PRS and LDpred-inf (without parameter tuning) performed poorly in all six datasets. Compared to methods which need to tune parameters (i.e., P+T and LDpred), our method also achieved better performance in all six datasets. These indicate the distinct advantage of our method: it can achieve noteworthy performance without tuning any parameters or incorporating external information.

## Discussion

In this article, we have considered predicting an individual’s genetic risk for complex diseases using summary statistics, which may prove helpful for both disease prevention and clinical decision. The PRS approach is widely used in genetic risk prediction because of its simplicity and efficiency, and a number of PRS methods have been proposed to improve prediction accuracy. Almost all these improved methods are based on borrowing information from external panels or datasets, such as the LD information, annotations or other GWAS datasets studying genetically correlated traits. In this paper we have proposed an improved PRS method by utilizing effect size distributions based on Empirical Bayes theory. No parameter tuning is needed, and no external panels or datasets are needed to be input. We have shown that our method outperformed the standard P+T method, as well as recently proposed methods in So et al. (2016) and Mak et al. (2017) in both simulations and real data analysis. Furthermore, compared to methods utilizing LD information from a reference panel, our method also achieved superior performance on all diseases including AS, BC, CEL, CD, PD, and T2D. One reason for the good performance is that we leverage the global information of effect sizes and the other reason is that we theoretically construct the optimal PRS in terms of minimizing the prediction error.

Note that both So et al.’s and Mak et al.’s methods also use effect size distribution to improve PRS. We show the theoretical superiority of our method over these two methods. So et al. used the square root of the explained liability as the effect size, which is not the optimal one in terms of minimizing prediction error. Besides, the effect size estimated from Tweedie’s formula has already been weighted by local true discovery rates, a further multiplication can make the effect sized over-shrinked. Meanwhile, their method needs to specify the prevalence for each trait, which may be difficult sometimes.

Some may argue that why we use parametric mixture model instead of non-parametric Tweedie’s formula in effect size estimation. First, in our model, we use symmetrical prior for the effect size, which makes the estimated magnitude invariant with the sign of ** z**, i.e., the selection of reference alleles. Second, the

*K*-component mixture assumption for effect size of associated SNPs is consistent with the empirical observations from GWAS of many common diseases [24–26]. Third, although the Gaussian mixture model is parametric, it provides great flexibility and precision in modelling the underlying data. We can use this distribution to approximate arbitrary distribution to any fidelity with an appropriate number of mixtures [27].

Although our method can achieve better performance without tuning any parameters and utilizing external information, its performance may be improved with external information, for example, the LD information. Also, in order to increase the prediction accuracy to a larger extent, we may improve our method by combining other available datasets in the future, such as annotations or other GWAS summary statistics studying genetically correlated traits.

A basic assumption underlying all PRS methods is that the training and testing datasets are homogeneous and sampled from the same population. If they come from different populations, the allele frequencies of SNPs will be different, together with the causal variants and their effect sizes. In the case, we expect a worse prediction performance [28, 29]. In this article, we use simulation experiments to mimic the divergent situation between training and testing datasets. Different distributions of allele frequencies, as well as a divergency in effect sizes are simulated. Results summarized in S3 and S4 Tables showed that, although the prediction performance will be influenced due to the divergence of two sets, our EB-PRS method still outperforms the others. However, our current analysis still lacks the testing across diverse populations.

## Materials and methods

### EB-PRS

Generally speaking, EB-PRS aims at minimizing the prediction error by leveraging estimated distribution of effect sizes. Assuming that the SNPs are independent, we can show that the optimal PRS (in terms of achieving the best classification accuracy) is
(3)
where *m* is the total number of genotyped SNPs, *x*_{i} is the genotypic value, and *β*_{i} is the log-odds ratio (OR) of the *i*-th SNP. The log-OR is a measure of the effect size defined in the following formula:
(4)
where *f*_{i0} and *f*_{i1} are the reference allele frequencies among controls and cases, respectively. If the SNP is not associated with disease, then *β*_{i} = 0.

In practice, the true values of effect sizes are usually unknown, and need to be estimated from the data. In our method, we use the Empirical Bayes approach to estimate ** β**, which is the minimizer of the Bayes risk under the distribution estimated from the data. The estimators can be directly derived from GWAS summary statistics.

#### Notations and assumptions.

Suppose that there are *m* SNPs genotyped in a GWAS. For each SNP, there are usually two different alleles. We denote one of them as the reference allele, and use the number of reference alleles to code the genotype of the SNP for each individual. For SNP *i* (*i* = 1, …, *m*), the genotypic value is denoted by *x*_{i} (*x*_{i} ∈ {0, 1, 2}). We use ** x** to represent the vector of genotypic values across

*m*SNPs of an individual and

*y*the disease status of the individual, where

*y*= 1 if the individual has the disease and

*y*= 0 otherwise.

With a multiplicative model and low prevalence, the genotypic value of each SNP follows binomial distribution as: (5)

#### Optimal polygenic risk score.

If all SNPs are assumed to be independent, based on Eq (5), we have:
(6)
where *κ* is the disease prevalence, and *β*_{i} is the true value of the log-OR for the *i*-th SNP.

Our objective is to find the decision rule minimizing the overall Bayes risk:
(7)
By Bayes decision rule, we minimize the overall risk by select the action that minimizes the conditional risk *R*(*α*(** x**)|

**) for all**

*x***: (8) where**

*x**l*∈ {0, 1} and

*α*

_{0}when and

*α*

_{1}when . λ(⋅) is the Zero-One Loss Function: (9) Thus, Eq (7) can be minimized by setting if

*P*(

*y*= 1|

**) >**

*x**P*(

*y*= 0|

**), i.e., (10) where**

*x***is exactly the log-OR. That is, if we define a polygenic risk score , the optimal decision rule minimizing the prediction error is (11)**

*β*#### Inference.

The constructed optimal polygenic risk score *S* is a function of the parameters *β*_{i} (*i* = 1, …, *m*). To derive the PRS in practice, we can use GWAS summary statistics to estimate these parameters.

If we simply estimate *β*_{i} by plugging the observed log-OR, the estimated effect sizes will tend to be inflated for SNPs with large values of estimated results. This phenomenon is commonly known as the “winner’s curse”. Here, we adopt the Empirical Bayes approach to address the issue of the selection bias as it is more robust to the winner’s curse [30, 31]. Also, it is the minimizer of the Bayes risk under the effect size distribution estimated from the data.

In GWAS, we usually use the following log-OR test to assess associations between SNPs and disease:
(12)
where and is the effective sample size in the case-control study, where *n*_{0} and *n*_{1} are the number of control and disease subjects, respectively, and *n* = *n*_{0} + *n*_{1}. Given the standardized effect size , the distribution of *z*-scores is *Z*_{i}|*μ*_{i} ∼ *N*(*μ*_{i}, 1). Recent GWAS results suggest that, among all disease-associated SNPs, there are many more SNPs with small effect sizes than those with large effect sizes [32, 33]. Therefore, we use the following spike-and-slab prior to model the effect sizes of all SNPs:
(13)
where *π*_{0} is the proportion of non-associated SNPs (0 ≤ *π*_{0} ≤ 1) and *δ*_{0} is the distribution with point mass at zero. Here we use a *K*-component Gaussian mixture distribution as the slab, in which the proportion of SNPs in the *j*-th associated component is *π*_{j} () and the corresponding variance of the standardized effect sizes is . We add *N*_{e} as a scaling coefficient in the variance of each component in order to make invariant with changing sample size.

With this prior specification, the posterior expected effect size of an SNP under each alternative hypothesis is
(14)
where is the alternative hypothesis that the SNP is an associated one within the *j*-th component (*j* = 1, …, *K*). The corresponding local true discovery rate is the probability that the hypothesis is true, given its *z*-value, and it can be calculated as follows:
(15)
where *ϕ*(⋅) and *f*_{j}(⋅) are the probablity density functions of *N*(0, 1) and , respectively.

The posterior expectation of *β*_{i} is the optimal estimator for minimizing the Bayes risk. Therefore, we estimate *β*_{i} as follows:
(16)

Here we adopt an EM-algorithm to estimate unknown parameters (*π*_{0}, *π*_{1}, ⋯, *π*_{K}) and (*σ*_{1}, ⋯, *σ*_{K}) in the above mixture model. In practice, the null proportion *π*_{0} is always much larger than the proportions in the alternative components. To take advantage of this prior information, we first add a Dirichlet prior (*α*, 0, ⋯, 0) to proportions (*π*_{0}, *π*_{1}, …, *π*_{K}). We use the following strategy to infer the value of *α*. First, we set *α* to a reasonable value ( in our default setting) to obtain a preliminary model. Then we generate parametric bootstrap samples based on the preliminary model and select *α* with the minimal relative errors in terms of parameter estimation using the bootstrap samples [34].

Theoretically, a better fitting for the underlying distribution can be obtained by increasing the component number *K*. That can further improve the prediction performance. However, the model and computational complexity will also be increased accordingly. If we keep increasing *K* to a certain level, an original component will be divided into multiple similar components in the estimation, which does not add benefit to the prediction. In practice, we found that we achieved both the discriminability for components and the prediction performance when *K* = 3. Therefore, we set *K* to three as the default setting in our method.

Next, we compare our method named EB-PRS with six other methods: unadjusted PRS, P+T, LDpred-inf, LDpred, and two methods proposed in So et al. (2017) [10] and Mak et al. (2016) [11], respectively. In the following, we briefly describe these methods. We note that the last two methods were also proposed to utilize effect size distributions for PRS calculations, where no tuning parameters or external input is needed. We will discuss their differences with our method later.

### Unadjusted PRS

The unadjusted PRS is the summation of genotypic values weighted by the corresponding estimated effect sizes from the marginal logistic regression, i.e.,
(17)
where is the estimated coefficient from the marginal logistic regression for SNP *i*. If no confounders are considered in the regression, then is equal to the log-OR.

### P+T

The P+T method generates PRS based on a subset of independent SNPs obtained via informed LD-clumping [35] and *p*-value thresholding. The method first prunes SNPs according to a given threshold for squared correlation coefficients (*r*^{2}) between different SNPs. Then it further filters the SNPs with a *p*-value cutoff in marginal association tests. In this article, we set LD clumping *r*^{2} to 0.1 and vary the *p*-value cutoff values from {1, 5*e* − 01, 5*e* − 02, 5*e* − 03, 5*e* − 04, 5*e* − 05, 5*e* − 06}. In the following comparison experiments, we will report the prediction results of the P+T method with the optimally tuned parameters.

### LDpred-inf

The LDpred-inf method estimates the causal effect sizes under an infinitesimal model, where LD among SNPs is considered. The assumption for the causal effect size is , where denotes the heritability explained by these SNPs. The posterior means of the causal effect sizes are
(18)
Here ** D** denotes the LD matrix,

*n*is the sample size of the GWAS,

**denotes the identity matrix, and is the vector of estimated effect sizes from marginal regression. The PRS is (19) Here,**

*I***represents the corresponding standardized genotype.**

*w*### LDpred

LDpred is an extension of LDpred-inf, which makes use of a point-normal prior instead of normal prior to estimate causal effect sizes. To calculate the posterior expectation of causal effects, Markov Chain Monte Carlo (MCMC) is used, and the proportion of causal effects *π*_{0} is a parameter that needs to be specified by users. Here, we set *π*_{0} from {1, 3*e* − 01, 1*e* − 01, 3*e* − 02, 1*e* − 02, 3*e* − 03, 1*e* − 03, 3*e* − 04, 1*e* − 04, 3*e* − 05, 1*e* − 05}, which are the default values recommended in LDpred. In the following comparison experiments, we will report the best prediction results with the optimally tuned parameters.

### So et al.’s method

So et al. proposed to construct PRS by using the following three steps to calculate the effect size of each SNP. Firstly, the standardized effect size *μ* is non-parametrically estimated by using the Tweedie’s formula:
(20)
where *f*(*z*) is the estimated probability density function of *z*-values. Then the explained liability of each SNP is assessed based on estimated *μ*. The final effect size is estimated using the square root of explained liability weighted by the corresponding local true discovery rate, i.e.,
(21)

Since we have theoretically shown that the true log-OR is the optimal effect size for constructing PRS in terms of prediction accuracy, using the square root of explained liability will decrease the performance. In addition, Tweedie’s formula evaluates the posterior expecation of *μ* without conditioning alternative hypothesis , and we have
(22)
The further weighting strategy based on ltdr will make the effect size estimate over-shrinked.

### Mak et al.’s method

Mak et al. proposed to construct PRS by directly using the observed effect size weighted by ltdr, i.e., (23)

As we pointed out before, the observed effect size suffers from the winner’ curse. The shrinkage estimator derived from Empirical Bayes theory is a better choice in terms of overcoming the winner’s curse and minimizing the Bayes risk.

## Supporting information

### S1 Table. Predictive *r*^{2} and AUC of EB-PRS, P+T, So et al.’s method and Mak et al.’s method under different training sample sizes and control-to-case ratios (CCRs) in simulation experiments with independent SNPs. The allele frequencies follow uniform distribution.

The highest mean *r*^{2} and AUCs are highlighted in boldface.

https://doi.org/10.1371/journal.pcbi.1007565.s001

(XLSX)

### S2 Table. Predictive *r*^{2} and AUC of EB-PRS, P+T, So et al.’s method and Mak et al.’s method under different training sample sizes and control-to-case ratios (CCRs) in simulation experiments with independent SNPs. The allele frequencies follow Beta distribution.

The highest mean *r*^{2} and AUCs are highlighted in boldface.

https://doi.org/10.1371/journal.pcbi.1007565.s002

(XLSX)

### S3 Table. Predictive *r*^{2} and AUC of EB-PRS, P+T, So et al.’s method and Mak et al.’s method under different training sample sizes and control-to-case ratios (CCRs) in simulation experiments with independent SNPs. The allele frequencies of training data (uniform distribution) and testing data (Beta distribution) are different.

The highest mean *r*^{2} and AUCs are highlighted in boldface.

https://doi.org/10.1371/journal.pcbi.1007565.s003

(XLSX)

### S4 Table. Predictive *r*^{2} and AUC of EB-PRS, P+T, So et al.’s method and Mak et al.’s method under different training sample sizes and control-to-case ratios (CCRs) in simulation experiments with independent SNPs. Effect size differences among the populations were added among training and testing data.

The allele frequencies follow uniform distribution in the training and testing data. The highest mean *r*^{2} and AUCs are highlighted in boldface.

https://doi.org/10.1371/journal.pcbi.1007565.s004

(XLSX)

### S5 Table. Predictive *r*^{2} and AUC of EB-PRS, P+T, So et al.’s method and Mak et al.’s method under different different causal SNP proportions when CCR = 1 in simulation experiments with independent SNPs. The allele frequencies follow uniform distribution and the sample size here is 5,000.

The results are the average of 10 times simulations. The highest mean *r*^{2} and AUCs are highlighted in boldface.

https://doi.org/10.1371/journal.pcbi.1007565.s005

(XLSX)

### S6 Table. Computational time for EB-PRS, LDpred and So et al.’s method for this simulation based on five-fold and ten-fold cross validation in supplementary table.

The simulations were based on an Intel Xeon processor with 2.50GHz. The shortest time is highlighted in boldface.

https://doi.org/10.1371/journal.pcbi.1007565.s006

(XLSX)

### S1 Fig. The average predictive r^{2} of the EB-PRS, P+T and So et al.’s method using biobank-level sample sizes in simulation experiments with independent SNPs.

Here the control-to-case ratio is set to one. EB-PRS always outperformed the other methods. So et al.’s package will produce errors when the sample size is above 3*e* + 05. The error bar indicates the standard deviation of predictive *r*^{2} across 10 times simulations.

https://doi.org/10.1371/journal.pcbi.1007565.s007

(TIF)

### S2 Fig. The average predictive r^{2} of the EB-PRS, P+T and So et al.’s method under different training sample sizes in simulation experiments with independent SNPs. The allele frequencies in training and testing data follow Beta distribution.

Here the control-to-case ratio is set to one. EB-PRS always outperformed the other methods. The error bar indicates the standard deviation of predictive *r*^{2} across 10 times simulations.

https://doi.org/10.1371/journal.pcbi.1007565.s008

(TIF)

### S3 Fig. The average predictive r^{2} of the EB-PRS, P+T and So et al.’s method under different training sample sizes in simulation experiments with independent SNPs. The allele frequencies in training (uniform distribution) and testing (Beta distribution) data are different.

Here the control-to-case ratio is set to one. EB-PRS always outperformed the other methods. The error bar indicates the standard deviation of predictive *r*^{2} across 10 times simulations.

https://doi.org/10.1371/journal.pcbi.1007565.s009

(TIF)

### S4 Fig. The average predictive r^{2} of the EB-PRS, P+T and So et al.’s method under different training sample sizes in simulation experiments with independent SNPs. The effect size of each causal SNP in the training and testing populations is different.

*r*^{2} across 10 times simulations.

https://doi.org/10.1371/journal.pcbi.1007565.s010

(TIF)

## Acknowledgments

We sincerely thank GABRIEL Consortium, DIAGRAM, GAME-ON, and IIBDGC for the publicly accessible GWAS summary data. This study makes use of data generated by the Wellcome Trust Case-Control Consortium. A full list of the investigators who contributed to the generation of the data is available from www.wtccc.org.uk.

## References

- 1. Jostins L, Barrett JC. Genetic risk prediction in complex disease. Human Molecular Genetics. 2011;20(R2):R182–R188. pmid:21873261
- 2. Consortium IS, et al. Common polygenic variation contributes to risk of schizophrenia and bipolar disorder. Nature. 2009;460(7256):748.
- 3. Allen HL, Estrada K, Lettre G, Berndt SI, Weedon MN, Rivadeneira F, et al. Hundreds of variants clustered in genomic loci and biological pathways affect human height. Nature. 2010;467(7317):832.
- 4. Ripke S, Sanders AR, Kendler KS, Levinson DF, Sklar P, Holmans PA, et al. Genome-wide association study identifies five new schizophrenia loci. Nature Genetics. 2011;43(10):969.
- 5. Lewis CM, Vassos E. Prospects for using risk scores in polygenic medicine. Genome Medicine. 2017;9(1):96. pmid:29132412
- 6. Vilhjálmsson BJ, Yang J, Finucane HK, Gusev A, Lindström S, Ripke S, et al. Modeling linkage disequilibrium increases accuracy of polygenic risk scores. The American Journal of Human Genetics. 2015;97(4):576–592. pmid:26430803
- 7. Hu Y, Lu Q, Powles R, Yao X, Yang C, Fang F, et al. Leveraging functional annotations in genetic risk prediction for human complex diseases. PLoS Computational Biology. 2017;13(6):e1005589. pmid:28594818
- 8. Hu Y, Lu Q, Liu W, Zhang Y, Li M, Zhao H. Joint modeling of genetically correlated diseases and functional annotations increases accuracy of polygenic risk prediction. PLoS Genetics. 2017;13(6):e1006836. pmid:28598966
- 9. Maier RM, Zhu Z, Lee SH, Trzaskowski M, Ruderfer DM, Stahl EA, et al. Improving genetic prediction by leveraging genetic correlations among human diseases and traits. Nature Communications. 2018;9(1):989. pmid:29515099
- 10. So HC, Sham PC. Improving polygenic risk prediction from summary statistics by an empirical Bayes approach. Scientific Reports. 2017;7:41262. pmid:28145530
- 11. Mak TSH, Kwan JSH, Campbell DD, Sham PC. Local true discovery rate weighted polygenic scores using GWAS summary data. Behavior Genetics. 2016;46(4):573–582. pmid:26747043
- 12. Su YK. Estimation of allele frequency and association mapping using next-generation sequencing data. BMC Bioinformatics. 2011;12(1):231.
- 13. Mailman MD, Feolo M, Jin Y, Kimura M, Tryka K, Bagoutdinov R, et al. The NCBI dbGaP database of genotypes and phenotypes. Nature Genetics. 2007;39(10):1181. pmid:17898773
- 14. Tryka KA, Hao L, Sturcke A, Jin Y, Wang ZY, Ziyabari L, et al. NCBI’s Database of Genotypes and Phenotypes: dbGaP. Nucleic Acids Research. 2013;42(D1):D975–D979. pmid:24297256
- 15. Michailidou K, Hall P, Gonzalezneira A, Ghoussaini M, Dennis J, Milne RL, et al. Large-scale genotyping identifies 41 new loci associated with breast cancer risk. Nature Genetics. 2013;45(4):353. pmid:23535729
- 16. Hunter DJ, Kraft P, Jacobs KB, Cox DG, Yeager M, Hankinson SE, et al. A genome-wide association study identifies alleles in FGFR2 associated with risk of sporadic postmenopausal breast cancer. Nature Genetics. 2007;39(7):870. pmid:17529973
- 17. Dubois PC, Trynka G, Franke L, Hunt KA, Romanos J, Curtotti A, et al. Multiple common variants for celiac disease influencing immune gene expression. Nature Genetics. 2010;42(4):295. pmid:20190752
- 18. Franke A, Mcgovern DP, Barrett JC, Wang K, Radford-Smith GL, Ahmad T, et al. Genome-wide meta-analysis increases to 71 the number of confirmed Crohn’s disease susceptibility loci. Nature Genetics. 2010;42(12):1118. pmid:21102463
- 19. Burton PR, Clayton DG, Cardon LR, Craddock N, Deloukas P, Duncanson A, et al. Genome-wide association study of 14,000 cases of seven common diseases and 3,000 shared controls. Nature. 2007;447(7145):661–78.
- 20. Simon-Sanchez J, Schulte C, Bras JM, Sharma M, Gibbs JR, Berg D, et al. Genome-wide association study reveals genetic risk underlying Parkinson’s disease. Nature Genetics. 2009;41(12):1308. pmid:19915575
- 21. Morris AP, Voight BF, Teslovich TM, Ferreira T, Segre AV, Steinthorsdottir V, et al. Large-scale association analysis provides insights into the genetic architecture and pathophysiology of type 2 diabetes. Nature Genetics. 2012;44(9):981. pmid:22885922
- 22. McCarty CA, Chisholm RL, Chute CG, Kullo IJ, Jarvik GP, Larson EB, et al. The eMERGE Network: a consortium of biorepositories linked to electronic medical records data for conducting genomic studies. BMC Medical Genomics. 2011;4(1):13. pmid:21269473
- 23. Garner C, Ahn R, Ding YC, Steele L, Stoven S, Green PH, et al. Genome-wide association study of celiac disease in North America confirms FRMD4B as new celiac locus. PloS One. 2014;9(7):e101428. pmid:24999842
- 24. Yan Z, Qi G, Park JH, Chatterjee N. Estimation of complex effect-size distributions using summary-level statistics from genome-wide association studies across 32 complex traits. Nature Genetics. 2018.
- 25. Baiyu Z. An empirical Bayes mixture model for SNP detection in pooled sequencing data. Bioinformatics. 2012;28(20):2569–75.
- 26. Nilanjan C, Bill W, Joshua S, Patricia H, Chanock SJ, Ju-Hyun P. Projecting the performance of risk prediction based on polygenic analyses of genome-wide association studies. Nature Genetics. 2013;45(4):400–405e3.
- 27. Park J, Sandberg IW. Universal approximation using radial-basis-function networks. Neural Computation. 1991;3(2):246–257. pmid:31167308
- 28. Martin AR, Gignoux CR, Walters RK, Wojcik GL, Neale BM, Gravel S, et al. Human demographic history impacts genetic risk prediction across diverse populations. The American Journal of Human Genetics. 2017;100(4):635–649. pmid:28366442
- 29. Martin AR, Kanai M, Kamatani Y, Okada Y, Neale BM, Daly MJ. Clinical use of current polygenic risk scores may exacerbate health disparities. Nature Genetics. 2019;51(4):584. pmid:30926966
- 30. Ferguson JP, Cho JH, Yang C, Zhao H. Empirical Bayes correction for the Winner’s Curse in genetic association studies. Genetic Epidemiology. 2013;37(1):60–68. pmid:23012258
- 31. Jiang W, Yu W. Power estimation and sample size determination for replication studies of genome-wide association studies. BMC Genomics. 2016;17(1):19.
- 32. Yang J, Benyamin B, Mcevoy BP, Gordon S, Henders AK, Nyholt DR, et al. Common SNPs explain a large proportion of the heritability for human height. Nature Genetics. 2010;42(7):565–569. pmid:20562875
- 33. Park JH, Wacholder S, Gail MH, Peters U, Jacobs KB, Chanock SJ, et al. Estimation of effect size distribution from genome-wide association studies and implications for future discoveries. Nature Genetics. 2010;42(7):570–575. pmid:20562874
- 34. Jiang W, Yu W. Controlling the joint local false discovery rate is more powerful than meta-analysis methods in joint analysis of summary statistics from multiple genome-wide association studies. Bioinformatics. 2016;33(4):500.
- 35. Stahl EA, Wegmann D, Trynka G, Gutierrez-Achury J, Do R, Voight BF, et al. Bayesian inference analyses of the polygenic architecture of rheumatoid arthritis. Nature Genetics. 2012;44(5):483. pmid:22446960
- 36. Robin X. pROC: an open-source package for R and S+ to analyze and compare ROC curves. BMC Bioinformatics. 2011;12(1):1–8.