 Methodology article
 Open Access
 Published:
On the impact of relatedness on SNP association analysis
BMC Genetics volume 18, Article number: 104 (2017)
Abstract
Background
When testing for SNP (single nucleotide polymorphism) associations in related individuals, observations are not independent. Simple linear regression assuming independent normally distributed residuals results in an increased type I error and the power of the test is also affected in a more complicate manner. Inflation of type I error is often successfully corrected by genomic control. However, this reduces the power of the test when relatedness is of concern. In the present paper, we derive explicit formulae to investigate how heritability and strength of relatedness contribute to variance inflation of the effect estimate of the linear model. Further, we study the consequences of variance inflation on hypothesis testing and compare the results with those of genomic control correction. We apply the developed theory to the publicly available HapMap trio data (N=129), the Sorbs (a selfcontained population with N=977 characterised by a cryptic relatedness structure) and synthetic family studies with different sample sizes (ranging from N=129 to N=999) and different degrees of relatedness.
Results
We derive explicit and easily to apply approximation formulae to estimate the impact of relatedness on the variance of the effect estimate of the linear regression model. Variance inflation increases with increasing heritability. Relatedness structure also impacts the degree of variance inflation as shown for example family structures. Variance inflation is smallest for HapMap trios, followed by a synthetic family study corresponding to the trio data but with larger sample size than HapMap. Next strongest inflation is observed for the Sorbs, and finally, for a synthetic family study with a more extreme relatedness structure but with similar sample size as the Sorbs. Type I error increases rapidly with increasing inflation. However, for smaller significance levels, power increases with increasing inflation while the opposite holds for larger significance levels. When genomic control is applied, type I error is preserved while power decreases rapidly with increasing variance inflation.
Conclusions
Stronger relatedness as well as higher heritability result in increased variance of the effect estimate of simple linear regression analysis. While type I error rates are generally inflated, the behaviour of power is more complex since power can be increased or reduced in dependence on relatedness and the heritability of the phenotype. Genomic control cannot be recommended to deal with inflation due to relatedness. Although it preserves type I error, the loss in power can be considerable. We provide a simple formula for estimating variance inflation given the relatedness structure and the heritability of a trait of interest. As a rule of thumb, variance inflation below 1.05 does not require correction and simple linear regression analysis is still appropriate.
Background
When testing for SNP associations in related individuals, one has to account for the nonindependence of observations [1]. An appropriate method is to test for the SNP effect assuming a mixed model y=b _{1}+b _{2} s+g+e with phenotypes y, intercept b _{1}, effect b _{2}, SNP genotypes s, polygenic random effects g and residuals e [2–5]. Recently, several extensions of this concept were proposed [6]. However, fitting this mixed model is mathematically challenging as well as computationally expensive when performed within a genomewide context and for large sample sizes. For this reason, the correlation of phenotypes is often neglected and the standard linear model y=β _{1}+β _{2} s+ε is used assuming independent normally distributed residuals ε.
The impact of relatedness on the correctness of simple linear regression analysis also depends on the heritability of the trait of interest. This is obvious if considering traits of high heritability such as height (80%) [7]. However, we demonstrate in the present paper that even if heritability is relatively small (e.g. circulating serum chemerin with estimated 16% heritability [8]) proper correction is still required if highly related samples are analysed. Otherwise, the type I error of the uncorrected test statistic is inflated [9, 10] and increases further with higher heritability and stronger relatedness [1, 10, 11]. In this context, stronger relatedness means more and stronger related pairs of individuals in the analysis sample. Often, inflation of type I error is corrected by genomic control, a phenomenological approach proposed by Devlin & Roeder [12]. They showed that dependency structures of observations can lead to extra variance compared to the situation of independence. Although genomic control works fine to reduce type I error inflation, it reduces the power in case of higher relatedness and heritability [5]. Assessing the power of the uncorrected test in dependence on the degree of relatedness is difficult. We showed in a simulation study [13] that for the uncorrected test under relatedness, there is a gain in power for low pvalue thresholds but a loss in power for higher pvalue thresholds. Another simulation study [11] reported that the power did not notably differ if relatedness is ignored.
In the present paper, we aim to investigate how heritability and strength of relatedness contribute to variance inflation of the effect estimate and present simple approximation formulae. We evaluate subsequently the impact of variance inflation on type I error and power of the test and identify situations in which simple linear regression is still valid. Additionally, we prove that the expectation of effect estimates is not influenced as noticed by simulation studies [1, 11] and explain why allele frequencies appear to have only little impact on type I error and power (see [1, 14]).
The paper is organized as follows: In the “Methods” section, we present the underlying theory and derive the equations. We first introduce the notation of relatedness structure. Then, we present both, the general linear model of SNPphenotype association under relatedness and its counterpart of ignored relatedness. We show unbiasedness of the effect estimate of the SNP of the second model and derive its variance inflation under relatedness. We study the impact of variance inflation on hypothesis testing and compare our results with those of genomic control correction. In the “Results” section, we analyse the relatedness structure of the publicly available HapMap data, an isolated population and synthetic family structures and their impact using the derived formulae. Major formulae derived in the paper were implemented in an R script provided as Additional file 1.
Methods
Almost all of the equations presented in the sections below are derived in Additional file 2. Notations and a list of symbols are provided in Additional file 2: Sections 1 and 7, respectively.
Relatedness
When dealing with relatedness, it is important to understand what exactly it means that one individual “is related” to another individual. We introduce the corresponding notation following Wang [15]. We assume biallelic markers (SNPs) without missing genotypes throughout. SNP genotype s _{ i } of the ith individual corresponds to the number of reference alleles 0, 1 or 2.
We denote ϕ and δ as the probabilities that only one allele and both alleles, respectively, are inherited IBD (identical by descent) from a common ancestor. Then, relatedness is defined as G=ϕ/2+δ. It holds that 0≤G≤1. Of note, different kinds of relatedness, e.g. a parent child pair (ϕ=1, δ=0) or full siblings (ϕ=1/2, δ=1/4), can yield the same G. In these cases the expectation of G equals 1/2. The true underlying relatedness structure is often unknown. However, it can be estimated on a sufficiently rich data basis such as genomewide SNP arrays. For estimation, we applied the method described in [15]. Our analysis is based on these relatedness estimates rather than relationships obtained from pedigrees which are often not available or prone to errors. For estimation of relatedness, SNP weights are required which depend on the respective allele frequencies. For this purpose, allele frequencies for each SNP s were assessed by the simple estimate \(\hat p=\sum ^{n}_{i=1}{s_{i}/2/n}\) for n samples.
For most of the approximation formulae presented below, we require that the mean relatedness, i.e. the average of the entries G _{ ij }, i≠j, is small, i.e. less than 0.01. This applies for example for a sufficiently large number of trios or families or even large pedigrees over several generations (see Table 1 below).
Modelling a SNP  phenotype association
We assume that phenotypes y follows the “true” mixed model
with intercept b _{1}, SNP effect b _{2}, random (polygenic) effects g=(g _{1},g _{2},…,g _{ n }) and residuals e=(e _{1},e _{2},…,e _{ n }) for i=1,2,…,n observations. For the random effects, we assume that \(\mathbf {g}\sim \mathrm {N}_{n}\left (0,\sigma ^{2}_{\mathrm {g}}\mathbf {G}\right)\) is multivariate normal with a certain variance \(\sigma ^{2}_{\mathrm {g}}\) and relatedness matrix G. The possible dependence of phenotypes of two individuals i and j originates from the polygenic random effects g _{ i } and g _{ j }. The random effects depend on the relatedness of both individuals which can be expressed in terms of G _{ ij } varying between zero and one. This implies that the polygenic contribution to the phenotype ranges from “independent” to “identical” for a pair of individuals. We assume that residuals are uncorrelated between observations and distributed as multivariate normal \(\mathbf {e} \sim \mathrm {N}_{n}(0,\sigma ^{2}_{\mathrm {e}}\mathbf {I})\) with certain variance \(\sigma ^{2}_{\mathrm {e}}\) and identity matrix I. The heritability of y=(y _{1},y _{2},…,y _{ n }) can be expressed through \(R^{2}_{\mathrm {h}}=\sigma ^{2}_{\mathrm {g}}/\left (\sigma ^{2}_{\mathrm {g}}+\sigma ^{2}_{\mathrm {e}}\right)\).
Ignoring relatedness results in the following simpler model to be fitted to the data:
assuming uncorrelated residuals ε=(ε _{1},ε _{2},…,ε _{ n }) only. We aim at deriving analytical formulae for the expectation and variance of \(\hat \beta _{2}\) given the true model, i.e. we analyse the impact of relatedness on the estimates obtained with Eq. (2).
After some calculations (Additional file 2: Section 2.2), it follows that the expected value \(\mathrm {E}(\hat \beta _{2})=b_{2}\) is not biased by relatedness irrespective of its structure. However, the variance of \(\hat \beta _{2}\) is affected:
Without heritability, i.e. \(R^{2}_{\mathrm {h}}=0\), the phenotypes for all pairs of individuals are uncorrelated and the last two terms of Eq. (3) simplify to 1. In this case, we obtain
This variance is equivalent to the variance of the standard linear model as shown in [16]. For the last term of \(\mathrm {V}(\hat \beta _{2})\) in Eq. (3), we define the inflation factor
which depends on the heritability \(R^{2}_{\mathrm {h}}\) and the pairwise relatedness matrix G. Using λ, \(\mathrm {V}(\hat \beta _{2})\) can be rewritten as
As we will see in the “Hypothesis testing” section, the empirical variance of the effect estimate is also inflated by factor \(1/\left (1R^{2}_{\mathrm {h}}\right)\). Hence, this factor is cancelled out when estimating the corresponding T statistic.
Expected variance inflation
An approximation formula for λ can be obtained by separately deriving the expectations of the numerator and denominator of Eq. (4) as shown in Additional file 2: Section 3.2:
where
correspond to the sum of squared elements and the sum of the squared row sums of G, respectively. Approximating E(λ) by λ ^{′} is valid if the number n of observations is large and the mean relatedness
is small. Interestingly, Eq. (6) is independent of the allele frequency explaining the empirical observations of [1, 14]. For details, see Additional file 2: Section 3.2.
Relationship between heritability and inflation
There are some useful transformations of Eq. (6): If λ ^{′} is available for a specific heritability \(R^{2}_{\mathrm {h}}\), it is easy to derive the inflation λt′ for an alternative heritability \(R^{2}_{\mathrm {t}}\) given the same relatedness structure. As can be seen from Eq. (6), it holds that
See also Additional file 2: Section 3.3.
Example family structures
Using Eq. (6), inflation λ ^{′} can be estimated for arbitrary family structures. As an example, assume a family study with f families with one father per family. Each father is mated with m mothers and each mother has c children. Then, the number of samples is n=(c m+m+1)f. Given these relationships as relatedness matrix G, inflation λ ^{′} can be explicitly calculated by
The formula is implemented in an R script (see Additional file 1). The special case of m=1, c=1 corresponds to trios in which Eq. (9) simplifies to
Another example is a study with an increased number of pairwise relationships (m=2, c=3) where Eq. (9) simplifies to
Details of these formulae are provided in Additional file 2: Section 3.4 and Additional file 3.
Hypothesis testing
Assume we observe phenotypes y and SNP genotypes s obeying Eq. (1). We are interested whether the phenotype is associated with the SNP. For the simplified regression model in Eq. (2), this corresponds to testing the null hypothesis of β _{2}=0. Thus, the test statistic \(T=\hat \beta _{2}/S_{\upbeta }\) as presented in [17] is evaluated. \(S^{2}_{\upbeta }\) denotes the empirical variance estimate of \(\hat \beta _{2}\). Evaluating the distribution of the test statistic under the null hypothesis is required for assessing the type I error. The distribution of the test statistic under the alternative hypothesis is required for calculating the power of the test. In reference to Additional file 2: Section 5.1, the effect estimate \(\hat \beta _{2}\) is normally distributed, and, if the variance of \(S^{2}_{\upbeta }\) is small, one can replace \(S^{2}_{\upbeta }\) by its expected value \(\mathrm {E}\left (S^{2}_{\upbeta }\right)\). This implies that T is approximately normally distributed with expectation and variance as follows
Assuming the null hypothesis, one obtains \(\mathrm {E}(\hat \beta _{2})=0\). Further, using \(\mathrm {V}(\hat \beta _{2})=\lambda V_{\upbeta }/\left (1R^{2}_{\mathrm {h}}\right)\) as shown in Eq. (5) and \(\mathrm {E}\left (S^{2}_{\upbeta }\right) \approx V_{\upbeta }/\left (1R^{2}_{\mathrm {h}}\right)\) as given in Additional file 2: Section 4.2, the distribution of T can be calculated:
See also Additional file 2: Section 5.2.
Considering the alternative hypothesis, it holds that \(\mathrm {E}(\hat \beta _{2})=b_{2}\) and \(\mathrm {E}\left (S^{2}_{\upbeta }\right) \approx V_{\upbeta }/\left (1R^{2}_{\mathrm {h}}\right)\) in analogy to the null hypothesis. In the following, we assume a fixed explained variance of the SNP \(R^{2}_{\mathrm {s}}\). Thus, the SNP effect is described by only one parameter. Alternatively, if specifying a fixed SNP effect b _{2}, test statistics would also depend on the allele frequency, i.e. two parameters would be required. For a given \(R^{2}_{\mathrm {s}}\), it holds that
as shown in Additional file 2: Section 5.3. Finally, an approximation of the distribution of T under the alternative hypothesis can be derived:
Here, caused by relatedness, the empirical variance of the effect estimate \(\mathrm {E}\left (S^{2}_{\upbeta }\right)\) is deflated compared to \(V_{\upbeta }/\left (1R^{2}_{\mathrm {h}}\right)\) by a certain factor ν as shown in Additional file 2: Section 4.2.
Further, assume F_{N}(xμ,σ ^{2}) is the cumulative distribution function of the normal distribution with expectation μ and variance σ ^{2}. Given the quantile z _{ α/2} of the standard normal distribution corresponding to a twosided test with significance level α, the type I error of the test applying Eq. (12) can be derived
Similarly, the power of the test applying Eq. (14) is
Genomic control
Genomic control [12] is a simple and often used method to correct for variance inflation. Given a sample of n realisations \(\hat {T}_{1},\hat {T}_{2},\dots,\hat {T}_{n}\) of T under the null hypothesis, an estimate of λ according to Additional file 2: Section 6 is
Genomic control correction is performed by calculating \(T_{\text {gc}}=T/\sqrt {\hat \lambda }\) and using T _{gc} as new test statistic. Correcting the variance inflation of T under the null hypothesis (see Eq. (12)), the test statistic T _{gc} is approximately standard normally distributed:
Since
the type I error of the test is preserved.
In contrast, correction of the alternative statistic T distributed as shown in Eq. (14) yields
Thus, genomic control correction reduces the expectation of the test statistic, and with it, the power of the test in comparison to Eq. (16) unless λ is close to 1:
Samples
To apply our equations to real data, we consider HapMap CEU (CEPH (Centre d’Etude du Polymorphisme Humain) from Utah) trio data for two reasons. First, these genotype data is freely accessible and well understood so that our results can easily be reproduced. Secondly, the relatedness structure is simple in order to promote understanding of our equations. A simple relatedness structure also supports simulation of genotype data to obtain results under different settings, e.g. increased sample size. Filtering of HapMap SNPs and samples prior to analysis is described in Additional file 4. A matrix of pairwise relatedness estimates for all HapMap CEU samples is provided as Additional file 5. In summary, 1,020,215 SNPs measured in 129 HapMap samples belonging to 43 trios were available for analysis. Additional file 6 contains a detailed list of samples and the reason for exclusion where applicable, whereas Additional file 7 provides the list of SNP identifiers used for analysis. The Perl script provided as Additional file 8 together with the sample list in Additional file 6 and the SNP list in Additional file 7 can be used for converting the HapMap CEU data [18] to a CSV (comma separated values) file which is further analysed.
Furthermore, we analysed a sample of the Sorbs who are an ethnic minority in Germany with putative genetic isolation [13, 19]. The Sorbs sample is characterised by a complex relatedness structure and therefore suitable for analysis of variance inflation. As done in [13], 471,012 autosomal SNPs were filtered for call rate < 95%, deviation from HardyWeinberg equilibrium with p<10^{−6} and platform association with p<10^{−7}. After filtering, 424,476 SNPs measured in 977 samples were available for analysis.
Finally, synthetic genotypes were simulated for three studies each consisting of f families with one father per family, m mothers per father and c children per mother as described in Additional file 2: Section 3.4. In order to evaluate the results obtained for the HapMap data, a study (SFS1, synthetic family study 1) was simulated for n=129 samples with parameter set f=43, m=1, c=1. For the second study (SFS2), the relatedness structure was kept similar but the sample size was increased to n=999, i.e. the parameter set was f=333, m=1, c=1. For stronger relationships but the same n=999 samples, we simulated a third study (SFS3) with parameter set f=111, m=2, c=3. For all synthetic studies, we sampled 110,000 SNPs where the reference allele of each SNP was drawn from a beta distribution (shape a=0.5, shape b=0.5).
Simulation
For simulation and analysis of the results, we used the statistical software package R [20]. The script is provided as Additional file 1. Instead of sampling SNPs for a synthetic family study, genotypes provided as CSV file can also be loaded and analysed utilising this R script. The HapMap and Sorbs genotype data were analysed in this way. In any case, a random subset of 100,000 nonmonomorphic SNPs was selected for all studies. The R script was also used to estimate pairwise relatedness according to Wang [15], to calculate the variance inflation λ given the SNP genotypes as presented in Eq. (4) averaged over all SNPs and to calculate the expected inflation λ ^{′} based on estimated relationships as shown in Eq. (6). Further, the R script supports simulation of phenotypes under the null and alternative hypothesis assuming Eq. (1) for empirical verification of the test statistics as presented in Eqs. (12) and (14), respectively. Empirical values of the statistics were derived by simulations as follows: For each SNP, phenotypes are drawn repeatedly from a multivariate normal distribution where the expectation depends on the SNP if simulating alternative hypotheses or is independent of it for simulating null hypotheses. These simulated test statistics were averaged over phenotype realisations and the empirical variance was estimated to assess inflation due to relatedness. The resulting mean test statistics and their empirical variances were averaged over SNPs and a standard deviation was calculated to control sampling errors. Due to the computational burden, simulations were restricted to 1000 phenotype realisations per SNP and a random subset of 1000 SNPs.
Results
Variance inflation for examples of relatedness
We apply the formulae derived in the “Methods” section to assess and compare variance inflation between different scenarios of relatedness structure and heritability. Given the genotypes of a SNP s, the estimated relatedness matrix G and the heritability \(R^{2}_{\mathrm {h}}\) one can calculate the variance inflation based on Eq. (4).
Different relatedness structures result in different degrees of variance inflation. We demonstrate this on an example of a synthetic family study consisting of f families with one father per family, m mothers and c children. Further, assume that each study comprises the same number n of individuals but differs in c and m. Therefore, we set f=floor(n/(c m+m+1)) (“floor” returns the largest integer not greater as the argument) and estimate the expected variance inflation of the effect estimate by evaluating Eq. (9). Figure 1 shows the expected inflation λ f;m;c′ for heritability \(R^{2}_{\mathrm {h}}=0.9\) and different settings of m and c resulting in the same sample size n=1000. For example, a trio study with f=333, m=1 and c=1 (n=999) results in λ333;1;1′=1.3. This value can also be obtained via Eq. (10). A more extreme example is a family study with f=111, m=2 and c=3 (n=999) which results in λ111;2;3′=2 (see also Eq. (11)). Inflation λ ^{′} also depends on sample size, but notable differences can only be observed for small sample sizes (i.e. n<100).
For a random subset of 100,000 nonmonomorphic SNPs, we estimated the variance inflation for the real HapMap trio data, the Sorbs data and the above mentioned synthetic family studies SFS1 (corresponding to HapMap study), SFS2 (corresponding to trios with a larger sample size of n=999) and SFS3 (corresponding to the same sample size as SFS2 but a higher average relatedness). Results for \(R^{2}_{\mathrm {h}}=0.9\) are presented in Table 1. The empirical variance inflation λ is smallest for HapMap and SFS1, the latter two are in well agreement as expected. The higher sample size for SFS2 results in slightly higher inflation. The Sorbs inflation is even higher than for SFS2. As expected, SFS3 shows the strongest inflation. Using λ ^{′} instead of λ results in slightly higher values due to the Taylor expansion used to derive Eq. (6) (see Additional file 2: Section 3.2). But the difference is without practical relevance. Restricting to minor allele frequencies > 10% improves the agreement (see Table 1 column \(\bar \lambda _{10\%}\)). The expected variance inflation λ ^{′} calculated from the estimated relatedness matrix agrees well with λ f;m;c′ calculated from true relationships. Of note, if heritability \(R^{2}_{\mathrm {t}}\) drops below 10% for HapMap, Sorbs, SFS1 and SFS2 according to Eq. (7), inflation becomes irrelevant (λt′<1.05, see Table 1 for details). However, inflation for the extreme situation of study population SFS3 is still λt′=1.11 as calculated with Eq. (8).
Numerical validation of test statistics
The distributions of the test statistic T in Eqs. (12) and (14) are approximations due to the approximation of the variance estimate. To empirically verify these approximations, we simulated multivariate normally distributed phenotypes and fitted a linear model afterwards. We analysed the same five study populations as in the previous section and again assumed \(R^{2}_{\mathrm {h}}=0.9\). Results are presented in Table 2 for the null hypothesis and Table 3 for the alternative hypothesis. The expectation and empirical variance of T was averaged over SNPs. As expected, the expectation of T under the null hypothesis is close to zero for all studies (Table 2). The expectation under the alternative is close to its theoretical value μ calculated via Eq. (13) (Table 3), i.e. no relevant biases were observed for T under both hypotheses. However, the variance of T is slightly overestimated in comparison to the derived λ values presented in Table 1 (compare \(\bar {S}^{2}\) of Tables 2 and 3 with \(\bar \lambda \) of Table 1). The difference is more pronounced for the studies with small samples sizes, i.e. HapMap and SFS1. For larger studies, the difference is without practical importance. Although the empirical variance of the effect estimate is deflated by factor ν (see Additional file 2: Section 4.2 and Table 2), this deflation is close to 1 in our data, and again, is without practical relevance.
Examples of inflation factors
Since heritability and relatedness structure directly translate into inflation factors, we study the latter in the following in more detail. To study type I error and power of the tests, we consider four different inflation scenarios λ=1, i.e. no inflation, and λ=1.05,1.3 and 2. For example, any study comprising unrelated individuals results in about λ=1, whereas our study populations SFS1 with \(R^{2}_{\mathrm {h}}=0.15\), SFS2 and SFS3 with \(R^{2}_{\mathrm {h}}=0.9\) result in about λ=1.05, 1.3 and 2, respectively. See also Table 1 for the latter three scenarios.
Impact of inflation on type I error
In the situation of statistical testing, the variance of T under the null hypothesis is relevant for the type I error. Its inflation originates from heritability \(R^{2}_{\mathrm {h}}\) and the family structure as shown in Eq. (4). Variance inflation λ impacts the distribution of the test statistic under the null hypothesis as shown in Eq. (12) and affects the type I error of the test as depicted in Eq. (15). In Fig. 2, we present the type I error dependent on the significance level without inflation λ=1 and inflation with λ=1.05,1.3 and 2 as in the above mentioned scenarios. Type I error for λ=1.05 is similar to λ=1 justifying the 1.05 threshold typically applied to ignore inflation. However, the type I error increases rapidly with increasing inflation.
Impact of inflation on power
For calculating the power, expectation and variance of T under the alternative is required. As shown in Eq. (4), variance inflation depends on heritability \(R^{2}_{\mathrm {h}}\) and the family structure. Similar to the null hypothesis, variance inflation λ impacts the distribution of the test statistic under the alternative as shown in Eq. (14) and affects the power of the test (Eq. (16)). The expectation of T, see Eq. (13), depends on the sample size n and the explained variance by the SNP \(R^{2}_{\mathrm {s}}\). We assume n=1000 and \(R^{2}_{\mathrm {s}}=0.02\) resulting in an expectation of the test statistic of \(\mu =\sqrt {(n1)R^{2}_{\mathrm {s}}} \approx 4.47\). For this expectation, we present Fig. 3 a showing the dependence of power, see Eq. (16), on the significance level for λ=1 (no inflation) and λ=1.05,1.3 and 2. The power for λ=1.05 is similar to λ=1, indicating again that this inflation is negligible for practical purposes. The difference is more pronounced for the other power curves with λ>1.05. Irrespective of the variance of the test statistic, the power curves are intersecting at 50%. For the selected expectation, this corresponds to −lg(α)≈5.11 (“ lg” refers to the common logarithm with base 10). Thus, for smaller significance levels, the power increases with increasing inflation while the opposite occurs for larger significance levels.
Correction with genomic control
In case of inflation, an often applied method of correction is genomic control. If this correction is applied in the situation of relatedness, the distribution of the test statistic (Eq. (17)) under the null hypothesis is approximately standard normal. This implies that the type I error α (Eq. (18)) is preserved. In contrast, correcting the test statistic by the inflation factor reduces the expectation (Eq. (19)) under the alternative hypothesis which in turn reduces the power (Eq. (20)) of the test. In Fig. 3 b, we provide the power dependent on the significance level after genomic control without inflation λ=1 and with inflation λ=1.05, 1.3 and 2. Comparing Fig. 3 a and b, power loss of genomic control increases rapidly with increasing λ. Thus, genomic control cannot be recommended for inflations λ>1.05 induced by relatedness.
Discussion
Relatedness induces a dependency structure to phenotypic data, and therefore, needs to be addressed appropriately in genetic association studies. However, the impact of relatedness on key statistical properties is insufficiently studied and major insights rely on simulation studies only. Here, we provide a full theory of the impact of relatedness on linear regression analysis of a quantitative phenotype. We derive analytical formulae of test statistics and provide a simple approximate formula of the dependence of variance inflation on the relatedness structure. We studied the impact of relatedness on type I error and power and confirmed a number of phenomena observed in simulation studies. Moreover, we showed that genomic control cannot be recommended to deal with relatednessinduced inflation. All formulae were implemented in an R script provided as supplement (Additional file 1).
First, we derived formulae of the impact of relatedness on effect estimates and variances of a linear regression model. We proved that the expectation is unbiased in agreement with [1, 11] who observed this fact on the basis of simulation studies. We derived an approximation formula of the variance inflation given the relatedness and the heritability of the phenotype. We also proved that the standard error of the effect estimate is underestimated if applying the standard linear model. This is reflected by the deflation factor ν derived in Additional file 2: Section 4.2. Again, this issue was observed by [1] on the basis of a simulation study.
We estimated this variance inflation for “real” genotype data obtained from HapMap trios and the Sorbs and for synthetic genotypes of three different family studies of varying degree of relatedness. For a heritability of 90%, we showed that there is a relevant inflation for all of these studies. In contrast, if heritability drops below 10%, the inflation is only relevant in the extreme situation of study population SFS3. See also Additional file 9 for additional results of scenarios with varying degree of heritability.
The polygenic effect was modelled via a multivariate normal distribution with the relatedness matrix as covariance matrix. Alternatively, the polygenic effect could be modelled by single markers as proposed by Zhang et al. [3]. Results are similar even for small numbers of SNPs contributing to the polygenic effect (see Additional file 10).
For analysis, we utilised relatedness estimates obtained from genomic data rather than estimates obtained from pedigree data. First, correct pedigree data are difficult to assess especially for nonfamily studies or studies with cryptic relatedness as observed in isolated populations, e.g. the Sorbs [13]. Second, [5, 14] argued that estimates from marker data reflect true genetic relationships better then estimates from even a correct pedigree. In contrast to [5] who applied kinship estimates as presented in [21], we estimated pairwise relatedness with the method proposed by Wang [15]. The latter has several advantages as correction for allele frequency estimates. Otherwise, relatedness estimates could be biased [15, 21], see also Fig. 1 in Additional file 11. However, in our hands using the kinship matrix [5, 21] or the IBS(identical by state)based matrix [4, 22] as alternative estimators, this has little impact on the inflation results (see Additional file 11). Further, the method in [15] results in a diagonal of the estimated relatedness matrix identical to 1 which is required for our derivations in Additional file 2: Section 2.2.
In general, inflation depends on the allele frequency of a SNP. However, considering our approximation formula Eq. (6), this dependency can be neglected if the sample size is sufficiently large and the average relatedness is small. This explains corresponding empirical observations of [1, 14].
As different combinations of relatedness structure and heritability yield the same variance inflation, we further focused on different degrees of variance inflation to study type I error and power. For this purpose, we derived an analytical approximation of the test statistic given the variance inflation. The approximation was successfully verified in a simulation study.
We showed analytically that the type I error increases with inflation. With our formula, we could confirm the empirical observation of [1, 11] that type I error of the test increases with higher heritability and stronger relationships. Similarly, [9] observed an inflated type I error when the family structure is ignored.
A major result of our study is that the power increases with increasing inflation if the significance level is small while the opposite occurs for larger significance levels. We already observed this phenomenon in a previously published simulation study [13]. This explains a number of contrary empirical observations presented in the literature, e.g. [1, 9] noted that the power of the test is reduced when ignoring the family structure. However, [11] observed similar power irrespective whether accounting for the family structure or not. By our formula, we could show that the power could be either increased or decreased under inflation in dependence on the underlying significance threshold.
Our formulae can also be applied to compare the impact of family structures between studies. Power and type I error were analysed previously in [1, 5] for a nuclear pedigree (NP) of 1011 individuals belonging to 337 sib trios. Applying our formulae (Additional file 3), this family structure results in an inflation factor of 1.45 for \(R^{2}_{\mathrm {h}}=0.9\). Interestingly, the same value was observed for the Sorbs sample.
Since genomic control is an often applied method to correct for inflated test statistics, we studied its results in the situation of relatednessinduced inflation. We could show that genomic control maintains the correct type I error which is in line with [5, 12]. However, we also showed that genomic control seriously impairs power. This was acknowledged by [12] for increased inflation and by [5] for higher heritability and stronger relationships. According to our results, genomic control cannot be recommended to deal with inflation due to relatedness. One has to remark that genomic control was originally developed to correct for population stratification [23, 24]. In contrast to other studies [12, 14, 21], we did not consider additional population structure here. Results for selected settings of heritability and explained variance of the SNP are presented in the paper. More scenarios can be easily analysed using our R script provided as Additional file 1.
The properties of various correction methods as well as simple linear regression are compared in [10]. Here, we investigated the linear model in detail, provided an easy to apply approximation formula of the impact of relatedness on variance inflation and identified scenarios where simple linear regression analysis is still valid. We agree with Aulchenko [14] that a variance inflation below 1.05 is negligible regarding power and type I error. If variance inflation is larger, we advice to apply methods which explicitly account for relatedness, e.g. by mixed model analysis [1, 5, 9, 25–27]. Nonetheless, these models need to be carefully applied due to several pitfalls [28]. For a summary of correction methods and software tools, see also [29].
Conclusions
We developed approximation formulae to study the impact of relatedness on type I error and power. We could prove a number of empirical observations made in simulation studies. Stronger relatedness as well as higher heritability result in increased variances of the effect estimates of simple linear regression analyses. As a consequence, type I error rates are generally inflated. The behaviour of power is more complicate since relatedness could either increase or reduce it in dependence on the effect size of a SNP, the heritability of the phenotype and the significance threshold. Genomic control cannot be recommended to deal with relatednessinduced inflation. Variance inflation below 1.05 can be safely ignored, i.e. simple linear regression analysis is still appropriate in this case.
Abbreviations
 CEU:

CEPH (Centre d’Etude du Polymorphisme Humain) from Utah
 CSV:

Comma separated values
 IBD:

Identical by descent
 IBS:

Identical by state
 SFS:

Synthetic family study
 SNP:

Single nucleotide polymorphism
References
 1
Aulchenko YS, de Koning DJ, Haley C. Genomewide rapid association using mixed model and regression: a fast and simple method for genomewide pedigreebased quantitative trait loci association analysis. Genetics. 2007; 177(1):577–85. doi:10.1534/genetics.107.075614.
 2
Boerwinkle E, Chakraborty R, Sing CF. The use of measured genotype information in the analysis of quantitative phenotypes in man. I, Models and analytical methods. Ann Hum Genet. 1986; 50(Pt 2):181–94. doi:10.1111/j.14691809.1986.tb01037.x.
 3
Zhang YM, Mao Y, Xie C, Smith H, Luo L, Xu S. Mapping quantitative trait loci using naturally occurring genetic variance among commercial inbred lines of maize (Zea mays L.)Genetics. 2005; 169(4):2267–75. doi:10.1534/genetics.104.033217.
 4
Yu J, Pressoir G, Briggs WH, Vroh Bi I, Yamasaki M, Doebley JF, McMullen MD, Gaut BS, Nielsen DM, Holland JB, Kresovich S, Buckler ES. A unified mixedmodel method for association mapping that accounts for multiple levels of relatedness. Nat Genet. 2006; 38(2):203–8. doi:10.1038/ng1702.
 5
Amin N, van Duijn CM, Aulchenko YS. A genomic background based method for association analysis in related individuals. PLoS ONE. 2007; 2(12):1274. doi:10.1371/journal.pone.0001274.
 6
Wang SB, Feng JY, Ren WL, Huang B, Zhou L, Wen YJ, Zhang J, Dunwell JM, Xu S, Zhang YM. Improving power and accuracy of genomewide association studies via a multilocus mixed linear model methodology. Sci Rep. 2016; 6:19444. doi:10.1038/srep19444.
 7
Yang J, Benyamin B, McEvoy BP, Gordon S, Henders AK, Nyholt DR, Madden PA, Heath AC, Martin NG, Montgomery GW, Goddard ME, Visscher PM. Common SNPs explain a large proportion of the heritability for human height. Nat Genet. 2010; 42(7):565–9. doi:10.1038/ng.608.
 8
Tonjes A, Scholz M, Breitfeld J, Marzi C, Grallert H, Gross A, Ladenvall C, Schleinitz D, Krause K, Kirsten H, Laurila E, Kriebel J, Thorand B, Rathmann W, Groop L, Prokopenko I, Isomaa B, Beutner F, Kratzsch J, Thiery J, Fasshauer M, Kloting N, Gieger C, Bluher M, Stumvoll M, Kovacs P. Genome wide metaanalysis highlights the role of genetic variation in RARRES2 in the regulation of circulating serum chemerin. PLoS Genet. 2014; 10(12):1004854. doi:10.1371/journal.pgen.1004854.
 9
Belonogova NM, Svishcheva GR, van Duijn CM, Aulchenko YS, Axenovich TI. Regionbased association analysis of human quantitative traits in related individuals. PLoS ONE. 2013; 8(6):65395. doi:10.1371/journal.pone.0065395.
 10
Teyssedre S, Elsen JM, Ricard A. Statistical distributions of test statistics used for quantitative trait association mapping in structured populations. Genet Sel Evol. 2012; 44:32. doi:10.1186/129796864432.
 11
McArdle PF, O’Connell JR, Pollin TI, Baumgarten M, Shuldiner AR, Peyser PA, Mitchell BD. Accounting for relatedness in family based genetic association studies. Hum Hered. 2007; 64(4):234–42. doi:10.1159/000103861.
 12
Devlin B, Roeder K. Genomic control for association studies. Biometrics. 1999; 55(4):997–1004. doi:10.1111/j.0006341X.1999.00997.x.
 13
Gross A, Tonjes A, Kovacs P, Veeramah KR, Ahnert P, Roshyara NR, Gieger C, Rueckert IM, Loeffler M, Stoneking M, Wichmann HE, Novembre J, Stumvoll M, Scholz M. Populationgenetic comparison of the Sorbian isolate population in Germany with the German KORA population using genomewide SNP arrays. BMC Genet. 2011; 12:67. doi:10.1186/147121561267.
 14
Aulchenko YS. Chapter 9  Effects of Population Structure in Genomewide Association Studies. In: Analysis of Complex Disease Association Studies. San Diego: Academic Press;2011. p. 123–56. doi:10.1016/B9780123751423.100094.
 15
Wang J. An estimator for pairwise relatedness using molecular markers. Genetics. 2002; 160(3):1203–15.
 16
Stuart A, Ord K, Arnold S. Kendall’s Advanced Theory of Statistics vol. 2A, 6th ed. 338 Euston Road, London NW1 3BH: Arnold, a member of the Hodder Headline Group; 1999.
 17
Czado C, Schmidt T. Mathematische Statistik. Statistik und ihre Anwendungen. Heidelberg: Springer; 2011. doi:10.1007/9783642172618.
 18
HapMap. Merged phase I+II and III genotype files. ftp://ftp.ncbi.nlm.nih.gov/hapmap/genotypes/201008_phaseII+III/. Accessed 14 Mar 2017.
 19
Veeramah KR, Tonjes A, Kovacs P, Gross A, Wegmann D, Geary P, Gasperikova D, Klimes I, Scholz M, Novembre J, Stumvoll M. Genetic variation in the Sorbs of eastern Germany in the context of broader European genetic diversity. Eur J Hum Genet. 2011; 19(9):995–1001. doi:10.1038/ejhg.2011.65.
 20
R Core Team. R: A Language and Environment for Statistical Computing. Vienna, Austria. https://www.Rproject.org/. Accessed 14 Mar 2017.
 21
Astle W, Balding DJ. Population Structure and Cryptic Relatedness in Genetic Association Studies. Statist Sci. 2009; 24(4):451–71. doi:10.1214/09STS307.
 22
Zhao K, Aranzana MJ, Kim S, Lister C, Shindo C, Tang C, Toomajian C, Zheng H, Dean C, Marjoram P, Nordborg M. An Arabidopsis example of association mapping in structured samples. PLoS Genet. 2007; 3(1):4. doi:10.1371/journal.pgen.0030004.
 23
Bacanu SA, Devlin B, Roeder K. Association studies for quantitative traits in structured populations. Genet Epidemiol. 2002; 22(1):78–93. doi:10.1002/gepi.1045.
 24
Price AL, Zaitlen NA, Reich D, Patterson N. New approaches to population stratification in genomewide association studies. Nat Rev Genet. 2010; 11(7):459–63. doi:10.1038/nrg2813.
 25
Zhou H, Blangero J, Dyer TD, Chan KK, Lange K, Sobel EM. Fast GenomeWide QTL Association Mapping on Pedigree and Population Data. Genet Epidemiol. 2017; 41(3):174–86. doi:10.1002/gepi.21988.
 26
Zhou X, Stephens M. Genomewide efficient mixedmodel analysis for association studies. Nat Genet. 2012; 44(7):821–4. doi:10.1038/ng.2310.
 27
Yang J, Lee SH, Goddard ME, Visscher PM. GCTA: a tool for genomewide complex trait analysis. Am J Hum Genet. 2011; 88(1):76–82. doi:10.1016/j.ajhg.2010.11.011.
 28
Yang J, Zaitlen NA, Goddard ME, Visscher PM, Price AL. Advantages and pitfalls in the application of mixedmodel association methods. Nat Genet. 2014; 46(2):100–6. doi:10.1038/ng.2876.
 29
EuAhsunthornwattana J, Miller EN, Fakiola M, Jeronimo SM, Blackwell JM, Cordell HJ. Comparison of methods to account for relatedness in genomewide association studies with familybased data. PLoS Genet. 2014; 10(7):1004445. doi:10.1371/journal.pgen.1004445.
 30
Maxima. A Computer Algebra System. Version 5.38.1. http://maxima.sourceforge.net/. Accessed 14 Mar 2017.
Acknowledgements
We thank very much Fabian Schwarzenberger for helpful comments and discussion. We thank all those who participated in the Sorbs study. Sincere thanks are given to Knut Krohn (Microarray Core Facility of the Interdisciplinary Centre for Clinical Research, University of Leipzig) for the genotyping support.
Funding
This publication is supported by the German Federal Research Ministry (BMBF), grant PROGRESS (01KI1010I) and by LIFE – Leipzig Research Center for Civilization Diseases, University of Leipzig. LIFE is funded by means of the European Union, by the European Regional Development Fund (ERDF) and by means of the Free State of Saxony within the framework of the excellence initiative. The Sorbs study was supported by grants from the Collaborative Research Center funded by the German Research Foundation (CRC 1052; C01, B01, B03, SPP 1629 TO 718/2), from the German Diabetes Association, from the DHFD (Diabetes Hilfs und Forschungsfonds Deutschland) and from Boehringer Ingelheim Foundation. We acknowledge support from the German Research Foundation (DFG) and Leipzig University within the program of Open Access Publishing. Funding bodies were not involved in the design of the study or collection, analysis, and interpretation of data or in writing the manuscript.
Availability of data and materials
The HapMap data analysed during the current study are available at ftp://ftp.ncbi.nlm.nih.gov/hapmap/genotypes/201008_phaseII+III/. Sorbs study data are available from the authors upon reasonable request and with permission of the principal investigator (Prof. Dr. Michael Stumvoll).
Author information
Affiliations
Contributions
AG developed the method, analysed the data and wrote the paper. AT designed the Sorbs study and collected the data. MS contributed to method development and wrote the paper. All authors read and approved the final manuscript.
Corresponding author
Ethics declarations
Ethics approval and consent to participate
Genotyping and metabolic phenotyping of the Sorbs study was approved by the ethics committee of the University of Leipzig and is in accordance with the declaration of Helsinki. All subjects gave written informed consent before taking part in the study. No database permissions were required for this study.
Consent for publication
Not applicable.
Competing interests
The authors declare that they have no competing interests.
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Additional files
Additional file 1
R script for simulation. This R script supports simulation of synthetic genotypes for a family study. Instead of genotype simulation, genotypes can also be loaded from a CSV file. Allele frequencies are calculated, monomorphic SNPs are filtered and pairwise relatedness is estimated. Given SNP genotypes and a value for the heritability, variance inflation λis calculated. Additionally, the expected λ ^{′} is estimated. Finally, the script simulates phenotypes under the null and alternative hypothesis and provides results regarding the T statistic. The R library “mvtnorm” is required for sampling multivariate normally distributed phenotypes. Parameters can be modified to simulate different scenarios. However, the number of samples, the number of SNPs and the number of phenotype realisations per SNP should be limited to reduce the computational burden. For example, running the script on an Intel Xeon X5560 CPU (2.80 GHz) for synthetic family study 3 (SFS3) with parameter set f=111, m=2, c=3 (n=999), 100000 SNPs, 1000 phenotype realisations per SNP and 1000 SNPs required 8.3 GB RAM and took < 1 min for genotype sampling, 8 min for estimation of pairwise relatedness, 21 min for λ estimation and about 2.5 h for each of the phenotype simulations under the null and alternative hypothesis, respectively. (R 6 kb)
Additional file 2
Theoretical background. This file provides the theoretical background and derivations of equations presented in the manuscript. (PDF 231 kb)
Additional file 3
Maxima script for deriving expected variance inflation. This script can be used with Maxima [30] for deriving formulae for the expected variance inflation λ f;m;c′ for synthetic family studies. (WXM 1 kb)
Additional file 4
Preparation of HapMap data. This document provides details regarding the filtering of samples and SNPs of the HapMap data. (PDF 97 kb)
Additional file 5
Pairwise relatedness estimates of HapMap samples. This file contains a matrix of pairwise relatedness estimates resulting from the preliminary analysis of 174 HapMap CEU samples. Sample identifiers for the pair of individuals under consideration are given in the first row and in the first column, respectively. A value of 1 occurs if pairwise relatedness could not be estimated because of disjoint SNP sets. (CSV 571 kb)
Additional file 6
Sample selection of HapMap genotype data. This file provides annotations for 174 HapMap CEU samples. The columns FID (family identifier), IID (individual identifier), dad, mom, sex (1=male, 2=female), pheno (always 0), population (always CEU) correspond to the columns of relationships_w_pops_121708.txt filtered for CEU samples as provided by HapMap. The column ctr contains a unique trio identifier and equals NA when the sample does not belong to a complete trio family. The reason for exclusion is provided where applicable, otherwise NA is stated and the sample is included in our study. (CSV 8 kb)
Additional file 7
SNP selection of HapMap genotype data. This file contains a list of HapMap SNP identifiers used for our analyses. rsid (reference SNP identifier) refers to the first column of the genotype data files as provided by HapMap. (CSV 10000 kb)
Additional file 8
Perl script for converting HapMap genotype data. This Perl script requires the sample list of Additional file 6, the SNP list of Additional file 7 and HapMap raw data. The HapMap project website is not available anymore, however, genotype data can still be retrieved from ftp://ftp.ncbi.nlm.nih.gov/hapmap/genotypes/201008_phaseII+III/. The converted genotypes are saved in a CSV file. Folder and file locations must be adapted before running the script. Running the script on an Intel Xeon X5560 CPU (2.80 GHz) required 800 MB RAM and took about 5 minutes. (PL 2 kb)
Additional file 9
Comparison of different degrees of heritability. This file contains additional tables with inflation results for different degrees of heritability. (PDF 75 kb)
Additional file 10
Comparison of methods for modelling the polygenic effect. This file provides additional tables with inflation results for different polygenic models. (PDF 67 kb)
Additional file 11
Comparison of different relatedness estimators. This document summarizes different methods for estimating relatedness, presents corresponding inflation results and shows the impact of small allele frequencies on relatedness estimates. (PDF 140 kb)
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. 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.
About this article
Cite this article
Gross, A., Tönjes, A. & Scholz, M. On the impact of relatedness on SNP association analysis. BMC Genet 18, 104 (2017). https://doi.org/10.1186/s128630170571x
Received:
Accepted:
Published:
Keywords
 Heritability
 Linear regression
 Relatedness
 SNP association analysis