Abstract
Dense single nucleotide polymorphism (SNP) panels are widely used for genome-wide association studies (GWAS). In these panels, SNPs within a genomic segment tend to be highly correlated. Thus, association studies based on testing the significance of single SNPs are not very effective, and genomic-window based tests have been proposed to address this problem. However, when the SNP density on the genotype panel is not homogeneous, genomic-window based tests can lead to the detection of spurious associations by declaring effects of genomic windows that explain a large proportion of genetic variance as significant. We propose two methods to solve this problem.
Background
Genome-wide association studies (GWAS) have been widely used to locate quantitative trait loci (QTL) for traits of interests [1,2,3]. Typically, GWAS methods are based on testing the significance of single nucleotide polymorphism (SNP) effects. However, SNPs within a genomic segment can be highly correlated with each other and jointly influence the phenotype, which makes the effect of a single SNP difficult to be identified [4]. Therefore, GWAS based on testing genomic windows have been proposed to overcome this problem [5].
Many approaches have been developed to make inferences of associations based on genomic windows. Chen et al. [6] generalized a frequentist method to test genomic window effects through extending the popular single SNP testing method, Efficient Mixed-model Association eXpedited (EMMAX) [7]. It has been suggested that EMMAX is not statistically coherent since it treats one marker (or window) effect as both fixed and random, and repeats the process for every single marker (or window) to make inferences [6, 8]. Other frequentist methods make inferences on genomic windows using bootstrap or sample permutation [4, 9], which are computationally expensive. Therefore, the use of Bayesian approaches, which include all marker effects simultaneously, have gained popularity in recent research. Legarra et al. [10] developed a method of Bayes factors to evaluate genomic windows, but did not sufficiently justify the threshold that was used. Fernando et al. [11] described a method to calculate the window posterior probability of association (WPPA) using Markov chain Monte Carlo (MCMC). They showed that the posterior type I error rate is less than \(\alpha\) when declaring an association for a genomic window with WPPA \(>1 - \alpha\). However, we will show that this approach may result in spurious associations, i.e., the proportion of false positives exceeding the expectation, for genomic windows at the higher end of the distribution for SNP density. Note that some frequentist methods, e.g., [12], may also detect spurious associations if effects of genomic windows explaining a large proportion of genetic variance are declared as significant.
The objectives of this study are to show that genomic-window based tests can lead to the detection of spurious associations when the SNP density on the genotype panel is not homogeneous and to propose two methods to solve this problem. The article is composed of three parts. First, we will demonstrate the problem of spurious associations in analyzing a real data set. Second, two methods to overcome this problem are described and compared with the original method. Finally, the validity of our methods is examined through simulated data sets.
Methods
Demonstration of spurious associations
Bayesian regression models
For simplicity of the description, all analyses in this study were based on a single-trait regression model with a general mean as the only fixed effect. The model for individual i from n genotyped individuals can be written as:
where \(y_i\) is the phenotypic value for individual i, \(\mu\) is the overall mean, \(m_{ij}\) is the genotype covariate at locus j for individual i (coded as 0, 1 or 2), \(\alpha _j\) is the marker effect for locus j, and \(e_i\) is the random residual for individual i. We assume that \(\mu\) has a flat prior, and all the residuals, \(e_i\), are independent and identically distributed normal variables with null mean and variance \(\sigma _e^2\), which in turn is assumed to have a prior of a scaled inverse chi-square distribution. The prior used in BayesC\(\pi\) [13], a Bayesian variable selection method, is used for the marker effects. In BayesC\(\pi\), the prior for marker effects, \(\alpha _j\), is identical and independent with mixture distributions, each of which has a point mass at zero with probability \(\pi\), and a normal distribution with probability \(1 - \pi\) having a null mean and variance \(\sigma _\alpha ^2\), which in turn has a prior of a scaled inverse chi-square distribution. In addition, \(\pi\) is treated as unknown with a uniform prior.
Inference of associations based on genomic windows
Inferences of associations based on genomic windows were made using the method described by Fernando et al. [11]. The posterior distribution for the proportion of the genetic variance explained by each genomic window is estimated from MCMC samples as follows. First, the genotypic value of the genomic window w is calculated as:
where \(\mathbf {M}_w\) is the genotype covariates matrix and \(\varvec{\alpha }_w\) is the vector of the samples of marker effects for SNPs in the window w. Then, the genetic variance explained by window w is calculated as:
where \(g_{w_i}\) is the local genotypic value of window w for individual i and n is the total number of individuals. Similarly, the total genetic variance, \(\sigma _g^2\), is calculated as:
where \(\mathbf {g}\) is the vector of genotypic values, \(\mathbf {M}\) is the genotype covariate matrix, \(\varvec{\alpha }\) is the vector of the samples of marker effects and \(g_i\) is the genotypic value for individual i. Finally, the proportion of the genetic variance explained by genomic window w is:
Given the MCMC samples of \(q_w\), WPPA is calculated as the proportion of \(q_w\) samples that exceed the value of T. A constant value of \(T=0.1\%\) was used for all windows in [11], and others have used \(T=\frac{1}{N}\), where N is the total number of genomic windows [14].
Real data
An Oryza sativa data set [15] with 413 Oryza sativa individual records of genotypes and the trait of flowering time in Arkansas was used to demonstrate the problem of spurious associations. After removing the records with missing data for the trait and genotypes with a minor allele frequency less than 0.05, 374 individuals and 33,701 SNPs were included in the analysis. The data are publicly available at the Rice Diversity Panel (http://www.ricediversity.org). Inferences of association based on genomic windows using Bayesian regression models were conducted using non-overlapping windows of size 1 Mb. The genome of the real data was divided into 378 non-overlapping genomic windows of size of 1 Mb, and the value of T was set to \(\frac{1}{N}\), where N = 378. The lower, median and upper quartiles for the number of SNPs per window (\(p_w\)) were 60, 82 and 106, respectively. Seven windows containing more than 175 (i.e., upper quartile + \(1.5 \times\) (upper quartile − lower quartile)) SNPs were identified as dense.
Two solutions
The results of the analysis with real data showed false positives on dense genomic windows, which will be demonstrated in the "Results and discussion" section. Here, we propose two methods to solve the problem of false positives. We denote the above method of making inferences of associations based on genomic windows as 1 MbT. The first method is to use a window size of 100 SNPs (100 T) and set the value T to \(\frac{1}{N'}\), where \(N'\) is the total number of windows for a window size of 100 SNPs. This method (100 T) provides equal numbers of SNPs for each window, and thus the problem caused by window density can be avoided. However, a window size of 100 SNPs may not be as informative as a window size of 1 Mb. Therefore, using window-specific T for a window size of 1 Mb (1 MbTw) is proposed as the second method. Here, instead of a constant T, a set of window-specific \(T_w = \frac{p_w}{p}\) is used, where \(p_w\) is the number of SNPs in window w and p is the total number of SNPs.
Data analysis using two solutions
The Rice Diversity Panel data were reanalyzed using the two methods proposed above. In order to examine the properties of the solutions, the three methods, 1 MbT, 100 T, and 1 MbTw, were also compared through a simulation study. Phenotypes were simulated based on the genotypic data from the Rice Diversity Panel. Since the number of QTL (\(n_{QTL}\)) may influence the GWAS result, 90 phenotypic data sets were simulated for \(n_{QTL} =\) 30, 90, and 300 (30 replicates for each). All the QTL effects were generated from a standard normal distribution. In order to show the false positive caused by dense windows, all the QTL positions were randomly selected from the SNPs located on nondense windows (i.e., all windows except the seven dense ones identified previously). Phenotypes were generated based on a heritability of 0.5.
The GWAS performance of the three methods was compared using the area under receiver operating characteristic (AUC), which was calculated through the R package ROCR [16]. In order to exclude the irrelevant AUC with low levels of specificity, only the partial area under the curve up to the false positive rate of 5% (pAUC5) was calculated [6]. For ease of comparison, all pAUC5 values were rescaled such that the pAUC5 of a random classifier equals 1 (i.e., all pAUC5 values were divided by 0.00125). The pAUC5 values of 1 MbT, 1 MbTw and 100 T were compared for each level of \(n_{QTL}\) by ANOVA F-test at a significance level of 0.05.
We also conducted the GWAS based on EMMAX using a window size of 1 Mb [6] denoted as 1 MbFre, in order to compare our methods with a frequentist method. The significance of each window was inferred through a \(\chi ^2\) test and the result is shown as the negative logarithm of p-values.
All analyses based on Bayesian regression methods were performed using the JWAS package [17], which is an open-source, publicly available package for single-trait and multi-trait whole-genome analyses. The GWAS based on EMMAX was performed in R [18].
Results and discussion
Real data analysis
In the GWAS result based on 1 MbT, the correlations of \(p_w\) with \(q_w\) and WPPA were 0.62 and 0.65, respectively, which means that dense windows tend to explain more genetic variance and have large WPPA. One possible explanation (hypothesis) for this observation is that a window with a high density of SNPs is also likely to contain more trait loci than a window with a lower density of SNPs. To test this hypothesis, we reanalyzed the data and computed the correlations of \(p_w\) with \(q_w\) and WPPA after phenotype permutation, in which we shuffled the phenotype labels but kept the genotypes the same. If this hypothesis was true, the correlations following permutation of the phenotypes should be low since the phenotype–genotype relationship is removed. However, in 30 replicates of random shuffling, the average correlation between \(p_w\) and \(q_w\) was 0.36, and that between \(p_w\) and WPPA was 0.62. In addition, the largest WPPA was always obtained for one of the three densest windows, containing 733, 594 and 545 SNPs, respectively. The high correlation between \(p_w\) and WPPA indicates that dense windows tend to have large WPPA regardless of the phenotypes and this is very likely to cause an excess of false positives. Use of priors in other approaches, such as BayesB [19, 20] or Bayesian LASSO [21], would result in the same problem as above.
After changing the value of T from a constant to a window-specific value (1 MbTw), the correlation between \(p_w\) and \(q_w\) stayed the same, but that between \(p_w\) and WPPA decreased from 0.65 to 0.29. The Manhattan plot shows that the dense windows showing significant signals disappeared when using 1 MbTw instead of 1 MbT (Fig. 1). One should note that, the use of a window-specific T does not change the proportion of genetic variance explained by each window, but it changes the WPPA through different values for T.
Manhattan plot of GWAS analysis for the real data. 1 MbT = GWAS analysis with a window size of 1 Mb and a constant T for all windows; 1 MbTw = GWAS analysis with a window size of 1 Mb and window specific T; 100 T = GWAS analysis with window size of 100 SNPs and a constant T; 1 MbFre = GWAS analysis with a window size of 1 MB using EMMAX. Red points represent dense windows
Simulated data analysis
The correlations obtained with the simulation data are similar to those with real data. For a window size of 1 Mb, the correlation between \(p_w\) and \(q_w\) was strong (Fig. 2), especially for \(n_{QTL} =\) 90 and 300. Window density was also highly correlated with WPPA when using a constant T value to calculate WPPA, while the correlation significantly decreased when using a window-specific T value (Fig. 3). When T is set to \(\frac{1}{N}\), the null hypothesis is that each genomic window explains an equal amount of genetic variance (i.e., no QTL exists). However, when using \(T_w = \frac{p_w}{p}\), the null hypothesis is that each SNP explains an equal amount of genetic variance, thus dense windows have to explain more genetic variance than non-dense windows to obtain the same WPPA value.
Correlations between number of SNPs and WPPA for each genomic window. Correlations were obtained based on 30 replicates for each number of simulated QTL. 1 MbT = GWAS analysis with a window size of 1 Mb and a constant T for all windows; 1 MbTw = GWAS analysis with a window size of 1 Mb and a window specific T
The pAUC5 values of 1 MbT, 1 MbTw and 100 T are shown in Table 1. Although no significant difference was found for pAUC5 when \(n_{QTL} = 30\), pAUC5 of 1 MbT was significantly lower than that of 1 MbTw and 100 T when \(n_{QTL}\) = 90 and 300. No significant difference was found between 1 MbTw and 100 T. The result of pAUC5 indicates that using a window size of 100 SNPs or a window-specific T improves the GWAS performance. Note that the performance of 100 T may not be comparable to that of 1 MbT and 1 MbTw because different genomic windows are tested in 100 T. Similar results were observed for simulation studies with different heritabilities (results not shown). The correlation between the negative logarithm of p-values and the number of SNPs in each window was low (− 0.11) for 1 MbFre in the real data analysis, and none of the dense windows was significant (Fig. 1). This is because, under the null hypothesis, for each window, the test statistic follows a Chi-square distribution with the degrees of freedom equal to the number of SNPs in the window, which lowers the negative logarithm of p-values for dense windows. Regarding the GWAS performance in the simulation study, 1 MbFre performed significantly worse than 1 MbT and 1 MbTw when \(n_{QTL}\) = 30 and 90 based on pAUC5, although no significant difference was observed when \(n_{QTL}\) = 300. We also conducted another simulation study using a swine dataset composed of 928 individuals and 44,055 SNPs [22]. In the swine dataset, the 1 MbTw consistently improved the GWAS performance compared to 1 MbT when using genotype panels with heterogeneous SNP densities (results not shown).
Conclusion
When SNP densities on the genotype panel are heterogeneous, genomic-window based tests can lead to the detection of spurious associations by declaring effects of genomic windows that explain a large proportion of genetic variance as significant. Two straightforward solutions are offered in this paper. One is to make each window contain an equal numbers of SNPs, and the other one is to use a window-specific T value, so that false positives caused by window density may be avoided.
References
Visscher PM, Wray NR, Zhang Q, Sklar P, McCarthy MI, Brown MA, et al. 10 Years of GWAS discovery: biology, function, and translation. Am J Hum Genet. 2017;101:5–22.
McCarthy MI, Abecasis GR, Cardon LR, Goldstein DB, Little J, Ioannidis JPA, et al. Genome-wide association studies for complex traits: consensus, uncertainty and challenges. Nat Rev Genet. 2008;9:356–69.
Cantor RM, Lange K, Sinsheimer JS. Prioritizing GWAS results: a review of statistical methods and recommendations for their application. Am J Hum Genet. 2010;86:6–22.
Hayes BJ, Pryce J, Chamberlain AJ, Bowman PJ, Goddard ME. Genetic architecture of complex traits and accuracy of genomic prediction: coat colour, milk-fat percentage, and type in Holstein cattle as contrasting model traits. PLoS Genet. 2010;6:e1001139.
Sahana G, Guldbrandtsen B, Janss L, Lund MS. Comparison of association mapping methods in a complex pedigreed population. Genet Epidemiol. 2010;34:455–62.
Chen C, Steibel JP, Tempelman RJ. Genome-wide association analyses based on broadly different specifications for prior distributions, genomic windows, and estimation methods. Genetics. 2017;206:1791–806.
Kang HM, Sul JH, Service SK, Zaitlen NA, Kong SY, Freimer NB, et al. Variance component model to account for sample structure in genome-wide association studies. Nat Genet. 2010;42:348.
Goddard ME, Kemper KE, MacLeod IM, Chamberlain AJ, Hayes BJ. Genetics of complex traits: prediction of phenotype, identification of causal polymorphisms and genetic architecture. Proc R Soc B. 2016;283:20160569.
Fan B, Onteru SK, Du ZQ, Garrick DJ, Stalder KJ, Rothschild MF. Genome-wide association study identifies loci for body composition and structural soundness traits in pigs. PLoS One. 2011;6:e14726.
Legarra A, Ricard A, Varona L. GWAS by GBLUP: single and multimarker EMMAX and Bayes factors, with an example in detection of a major gene for horse gait. G3 (Bethesda). 2018;8:2301–8.
Fernando R, Toosi A, Wolc A, Garrick D, Dekkers J. Application of whole-genome prediction methods for genome-wide association studies: a Bayesian approach. J Agric Biol Environ Stat. 2017;22:172–93.
Wang H, Misztal I, Aguilar I, Legarra A, Fernando RL, Vitezica Z, et al. Genome-wide association mapping including phenotypes from relatives without genotypes in a single-step (ssGWAS) for 6-week body weight in broiler chickens. Front Genet. 2014;5:134.
Habier D, Fernando RL, Kizilkaya K, Garrick DJ. Extension of the Bayesian alphabet for genomic selection. BMC Bioinformatics. 2011;12:186.
Wang Z, Chapman D, Morota G, Cheng H. A multiple-trait Bayesian variable selection regression method for integrating phenotypic causal networks in genome-wide association studies. G3 (Bethesda). 2020;10:4439–48.
Zhao K, Tung CW, Eizenga GC, Wright MH, Ali ML, Price AH, et al. Genome-wide association mapping reveals a rich genetic architecture of complex traits in Oryza sativa. Nat Commun. 2011;2:1–10.
Sing T, Sander O, Beerenwinkel N, Lengauer T. ROCR: visualizing classifier performance in R. Bioinformatics. 2005;21:3940–1.
Cheng H, Garrick DJ, Fernando RL. JWAS: Julia implementation of whole-genome analysis software. In: Proceedings of the 11th World Congress on Genetics Applied to Livestock: Auckland; 11–16 February, 2018;11:859.
R Core Team. R: a language and environment for statistical computing. Vienna: R Foundation for Statistical Computing; 2020.
Meuwissen THE, Hayes BJ, Goddard ME. Prediction of total genetic value using genome-wide dense marker maps. Genetics. 2001;157:1819–29.
Cheng H, Qu I, Garrick DJ, Fernando RL. A fast and efficient Gibbs sampler for BayesB in whole-genome analyses. Genet Sel Evol. 2015;47:80.
Park T, Casella G. The Bayesian lasso. J Am Stat Assoc. 2008;103:681–6.
Duarte JLG, Cantet RJ, Bates RO, Ernst CW, Raney NE, Steibel JP. Rapid screening for phenotype–genotype associations by linear transformations of genomic evaluations. BMC Bioinformatics. 2014;15:246.
Acknowledgements
This work was supported by the United States Department of Agriculture, Agriculture and Food Research Initiative National Institute of Food and Agriculture Competitive Grant No. 2018-67015-27957 and No. 2021-67015-33412.
Author information
Authors and Affiliations
Contributions
JL undertook the analyses and wrote the first draft of the manuscript. ZW conducted the data simulation and oversaw all the analyses. HC, RF conceived the idea. HC designed the experiment and supervised all the work. All contributed to the final version of manuscript. All authors read and approved the final manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare that they have no competing interests.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated in a credit line to the data.
About this article
Cite this article
Li, J., Wang, Z., Fernando, R. et al. Tests of association based on genomic windows can lead to spurious associations when using genotype panels with heterogeneous SNP densities. Genet Sel Evol 53, 45 (2021). https://doi.org/10.1186/s12711-021-00638-x
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/s12711-021-00638-x