# QTLRel: an R Package for Genome-wide Association Studies in which Relatedness is a Concern

- Riyan Cheng
^{1}, - Mark Abney
^{1}, - Abraham A Palmer
^{1, 2}Email author and - Andrew D Skol
^{3}

**12**:66

**DOI: **10.1186/1471-2156-12-66

© Cheng et al; licensee BioMed Central Ltd. 2011

**Received: **19 May 2011

**Accepted: **27 July 2011

**Published: **27 July 2011

## Abstract

### Background

Existing software for quantitative trait mapping is either not able to model polygenic variation or does not allow incorporation of more than one genetic variance component. Improperly modeling the genetic relatedness among subjects can result in excessive false positives. We have developed an R package, QTLRel, to enable more flexible modeling of genetic relatedness as well as covariates and non-genetic variance components.

### Results

We have successfully used the package to analyze many datasets, including F_{34} body weight data that contains 688 individuals genotyped at 3105 SNP markers and identified 11 QTL. It took 295 seconds to estimate variance components and 70 seconds to perform the genome scan on an Linux machine equipped with a 2.40GHz Intel(R) Core(TM)2 Quad CPU.

### Conclusions

QTLRel provides a toolkit for genome-wide association studies that is capable of calculating genetic incidence matrices from pedigrees, estimating variance components, performing genome scans, incorporating interactive covariates and genetic and non-genetic variance components, as well as other functionalities such as multiple-QTL mapping and genome-wide epistasis.

## Background

Methods to search for quantitative trait loci (QTL) in common experimental designs are well established, and software to analyze these populations is widely available. One popular package, R/qtl [1], provides a comprehensive toolset for QTL mapping. Since it does not allow random effects, R/qtl is most suitable for mapping populations such as F_{2} and backcross where individuals are equally genetically related. Software that can model polygenic effects due to genetic relatedness includes TASSEL [2] and EMMA [3]. Both allow covariates as fixed effects but are only capable of incorporating a random term to account for one genetic variance component. However, both additive and dominance modes of inheritance are common for many quantitative traits. Ignoring these variance components may result in excessive false positives. Moreover, researchers may also be interested in interactive covariates, epistasis and non-genetic random effects. We have developed an R package QTLRel that meets all these needs.

## Implementation

### Statistical model

where y is a vector of phenotypes, β is a vector of covariate effects, γ is a vector of putative QTL effects, u is a vector of polygenic effects and ε is a vector of residual effects. X, Q and Z are incidence matrices. β can be fixed, random or a mix of both fixed and random. Assume that u~ *N*(**0**, G), ε~ *N*(**0**, I *σ*^{2}), and u is independent of ε. G consists of five genetic variance components including additive and dominance components as well as three other components that model excess similarity due to inbreeding [4]. The incidence matrices corresponding to these five genetic variance components can be obtained from condensed identity coefficients as defined in [[5], pp.133].

### Condensed identity coefficients

While other programs are available for calculating condensed identity coefficients from pedigrees [6], we provide a function that is especially feasible for pedigrees with a large number of generations. Condensed identity coefficients can be derived from generalized kinship coefficients [7]. Bottom-up and top-down are two computational strategies for calculating generalized kinship coefficients from a pedigree. The bottom-up approach starts from the target individuals and moves up the pedigree until reaching the founders. It requires minimal storage but the computational load increases approximately exponentially with the number of generations. The bottom-up approach is computationally infeasible if both the number of generations and the number of individuals are large. The top-down approach starts from founders and moves down to the target individuals. The computational load is approximately linear in the number of generations. However, the intermediate generalized kinship coefficients need to be stored, which may require extensive storage if the number of individuals in a generation is large. We have implemented a function that allows users to adjust the arguments to achieve a hybrid bottom-up/top-down approach, which can accommodate very deep pedigrees.

### Variance components

QTLRel can estimate variance components given the appropriate incidence matrices. QTLRel estimates these variance components using maximum likelihood. These estimates are nearly equivalent to those obtained by restricted maximum likelihood for typical sample sizes. The maximum likelihood estimates are found numerically using one of several methods. We default to Nelder-Mead since we have found it to be more numerically stable. QTLRel allows users to select variance components using a model selection procedure or perform statistical significance tests for them.

### Genome scans

Re-estimating variance components at each marker in a genome scan may not be computationally feasible. The approach used by QTLRel is to first estimate the correlation matrix due to polygenic, residual and other random effects, which is based on the estimated variance components, and then use this matrix as known to scan the genome. Testing fixed effects conditional on estimated random effects is a general approach in mixed-effect models [2, 3, 8, 9]. Our method is most similar to the measured-genotype fixed-heritability method in Aulchenko et al. [9].

### Empirical significance thresholds

QTLRel implements two methods for estimating genome-wide significance thresholds. The first is a permutation test in which the genotypes are permuted while the phenotypes and incidence matrices are held constant. We have previously demonstrated that when polygenic effects are ignored in the model type I error rates are inflated when a permutation is used; however, when the model is appropriate, permutation performs well [10]. The second method is gene dropping which can appropriately control type I error rates even when polygenic variation is ignored in the model.

## Results

QTLRel has been successfully used in an AIL to identify QTL for methamphetamine sensitivity [10], muscle weight [11], prepulse inhibition [12] and body weight [13]. In the analysis of body weight we calculated all five genetic incidence matrices, but only estimated additive and dominance variance components because the other variance components are negligible in general [14]. We then performed a genome scan using 688 individual genotyped at 3,105 SNP markers. We identified 11 QTL that exceeded the .05 genome-wide significance threshold estimated from 1800 gene dropping samples. These 11 QTL were confirmed as distinct signals using a forward step-wise multiple-QTL mapping function implemented in QTLRel. We also investigated genome-wide epistatic effects but found none. The analysis was accomplished on an Linux machine equipped with a 2.40GHz Intel(R) Core(TM)2 Quad CPU. It took 295 seconds to estimate variance components and 70 seconds to perform the genome scan.

## Conclusions

QTLRel provides a toolkit for genome-wide association studies that is capable of calculating genetic incidence matrices from pedigrees, estimating variance components, performing genome scans, and estimating significance thresholds. It can model interactive covariates and multiple genetic and non-genetic variance components. Other functions include multiple-QTL mapping and genome-wide epistasis. QTLRel can perform interval mapping based on the Haley-Knott method [15] for markers with 2 alleles. Because QTLRel is implemented in R users can take advantage of numerous other statistical packages; however, there is room to improve on QTLRel's speed since it makes use of many intermediate R functions. It is our intention to extend some functionalities, e.g., the Haley-Knott method to markers with more than two alleles. In summary, QTLRel provides a stand-alone, comprehensive tool to perform QTL analyses in populations in which relatedness is a concern.

## Availability

QTLRel is an R package. It is publicly available on R CRAN http://cran.r-project.org/web/packages/QTLRel for Windows, Linux and Mac machines under the GNU GPL license. A tutorial is available in the package as well as on the Palmer lab web page http://www.palmerlab.org/software.

## Declarations

### Acknowledgements

We appreciate helpful comments from the anonymous reviewers. This project was supported by NIH grants R01DA021336, R01MH079103 and R21DA024845.

## Authors’ Affiliations

## References

- Broman KW, Wu H, Sen S, Churchill GA: R/qtl: QTL mapping in experimental crosses. Bioinformatics. 2003, 19: 889-890. 10.1093/bioinformatics/btg112.View ArticlePubMedGoogle Scholar
- Bradbury PJ, Zhang Z, Kroon DE, Ramdoss TMCY, Buckler ES: TASSEL: software for association mapping of complex traits in diverse samples. Bioinformatics. 2003, 23: 2633-2635.View ArticleGoogle Scholar
- Kang HM, Zaitlen NA, Wade CM, Kirby A, Daly MJ, Eskin E: Efficient control of population structure in model organism association mapping. Genetics. 2008, 178: 1709-1723. 10.1534/genetics.107.080101.PubMed CentralView ArticlePubMedGoogle Scholar
- Jackquard A: The genetics structure of populations. 1974, Springer-Verlag, NYView ArticleGoogle Scholar
- Lynch M, Walsh B: Genetics and analysis of quantitative traits. 1998, Sinauer Associates, Inc, 5:Google Scholar
- Abney M: A graphical algorithm for fast computation of identity coefficients and generalized kinship coefficients. Bioinformatics. 2009, 25: 1561-1563. 10.1093/bioinformatics/btp185.PubMed CentralView ArticlePubMedGoogle Scholar
- Karigl G: A recursive algorithm for the calculation of identity coefficients. Ann Hum Genet. 1981, 45: 299-305. 10.1111/j.1469-1809.1981.tb00341.x.View ArticlePubMedGoogle Scholar
- Pinheiro JC, Bates DM: Mixed-effects models in S and S-PLUS. 2000, Springer-Verlag, New YorkView ArticleGoogle Scholar
- Aulchenko YS, de Koning DJ, Haley C: Genomewide rapid association using mixed model and regression: a fast and simple method for genome-wide pedigree-based quantitative trait loci association analysis. Genetics. 2009, 177: 577-585.View ArticleGoogle Scholar
- Cheng R, Lim JE, Samocha KE, Sokoloff G, Abney M, Skol AD, Palmer AA: Genome-wide association studies and the problem of relatedness among advanced intercross lines and other highly recombinant populations. Genetics. 2010, 185: 1033-1044. 10.1534/genetics.110.116863.PubMed CentralView ArticlePubMedGoogle Scholar
- Lionikas A, Cheng R, Lim JE, Palmer AA, Blizard DA: Fine-mapping of muscle weight QTL in LG/J and SM/J intercrosses. Physiol Genomics. 2010, 42A: 33-38. 10.1152/physiolgenomics.00100.2010.PubMed CentralView ArticlePubMedGoogle Scholar
- Samocha KE, Lim JE, Cheng R, Sokoloff G, Palmer AA: Fine mapping of QTL for prepulse inhibition in LG/J and SM/J mice using F2 and advanced intercross lines. Genes Brain Behav. 2010, 9: 759-767. 10.1111/j.1601-183X.2010.00613.x.PubMed CentralView ArticlePubMedGoogle Scholar
- Parker CC, Cheng R, Lim JE, Skol AD, Abney M, Palmer AA: Fine-mapping quantitative trait loci for body weight in LG/J × SM/J F2 and F34 advanced intercross lines. Mamm Genome. 2011Google Scholar
- Abney M, McPeek MS, Ober C: Estimation of variance components of quantitative traits in inbred populations. Am J Hum Genet. 2000, 141: 629-650.View ArticleGoogle Scholar
- Haley CS, Knott SA: A simple regression model for interval mapping in line crosses. Heredity. 1992, 69: :315-324. 10.1038/hdy.1992.131.View ArticleGoogle Scholar

## Copyright

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.