 Methodology Article
 Open Access
 Published:
A statistical model for the analysis of beta values in DNA methylation studies
BMC Bioinformatics volume 17, Article number: 480 (2016)
Abstract
Background
The analysis of DNA methylation is a key component in the development of personalized treatment approaches. A common way to measure DNA methylation is the calculation of beta values, which are bounded variables of the form M/(M+U) that are generated by Illumina’s 450k BeadChip array. The statistical analysis of beta values is considered to be challenging, as traditional methods for the analysis of bounded variables, such as Mvalue regression and beta regression, are based on regularity assumptions that are often too strong to adequately describe the distribution of beta values.
Results
We develop a statistical model for the analysis of beta values that is derived from a bivariate gamma distribution for the signal intensities M and U. By allowing for possible correlations between M and U, the proposed model explicitly takes into account the datagenerating process underlying the calculation of beta values. Using simulated data and a real sample of DNA methylation data from the Heinz Nixdorf Recall cohort study, we demonstrate that the proposed model fits our data significantly better than beta regression and Mvalue regression.
Conclusion
The proposed model contributes to an improved identification of associations between beta values and covariates such as clinical variables and lifestyle factors in epigenomewide association studies. It is as easy to apply to a sample of beta values as beta regression and Mvalue regression.
Background
The analysis of DNA methylation has become of considerable interest in biomedical research, as epigenetic studies have shown numerous associations between methylation levels and diseases such as cancer and cardiovascular disease [1–5]. Today, most research focuses on the cytosineguanine dinucleotide (“CpG”) sites of the DNA, which are the locations where methylation is primarily found in humans [6]. One of the most widely used techniques to measure DNA methylation is the Illumina Infinium HumanMethylation450 BeadChip array, which covers approximately 450,000 CpG sites. At each CpG site, methylation is quantified by the beta value b:=M/(M+U+a), where M>0 and U>0 denote the methylated and unmethylated signal intensities, respectively, measured by the Illumina 450k array. The offset a≥0 is usually set equal to 100 and is added to M+U to stabilize beta values when both M and U are small.
An important goal of methylation analysis is to identify DNA regions where methylation is associated with disease status, lifestyle factors and other clinical or sociodemographic variables [7–10]. This is often achieved by fitting sitewise regression models with dependent variable b and a vector of covariates X that may also include potential confounders. After model fitting, a common strategy is to carry out downstream hypothesis tests to identify those CpG sites that show significant associations between methylation status and the variables of interest.
Because, by definition, b is bounded between 0 and 1, Gaussian regression with untransformed beta values is problematic in the context of DNA methylation analysis. In particular, the variance of b is usually smaller near the boundaries than near the middle of the interval (0,1), implying that the homoscedasticity assumption in Gaussian regression is violated [11–13]. To address this problem, several modeling strategies have been developed, including Gaussian regression with logittransformed beta values (“Mvalues”, [11]) and generalized regression models for untransformed bounded responses, e.g. beta regression [14]. Regarding the analysis of DNA methylation, both strategies may become problematic: In case of Mvalue regression, the assumptions of a Gaussian model are often not met despite the transformation of the data, and the interpretation of the coefficient estimates is only possible on the transformed scale but not on the original scale of b [14, 15]. Beta regression, on the other hand, requires the ratio M/(M+U+a) to follow a beta distribution, implicitly assuming that the variables M and U are independently gamma distributed [16]. While M and U can indeed be described by gamma distributed random variables [17, 18], the independence assumption for the two signal intensities is often not met in practice. For example, Laird [12] reported that the methylated and unmethylated signal intensities, as produced by the Illumina 450k array, are usually positively correlated. The same finding was obtained from the analysis of the Heinz Nixdorf Recall Study data in the “Results” section of this article. These issues, along with the results of two recent empirical studies [8, 18], suggest that more methodological research is needed to describe the distribution of b in a statistically sound way.
To address this problem, we propose a novel analysis technique for beta values that relaxes the independence assumption between the signal intensities M and U. The idea is to start with a model for the bivariate distribution of M and U and to derive the probability density function of the ratio M/(M+U). This function is subsequently used to construct the loglikelihood function of a generalized regression model that relates beta values to linear functions of the covariates. Because estimation of the model parameters is based on the maximum likelihood principle, asymptotic confidence intervals and normally distributed test statistics can be derived by evaluating the inverse of the observed information matrix. This strategy allows for downstream hypothesis tests on the associations between a covariate of interest and the methylation status at individual CpG sites. For the rest of this article, we will refer to the proposed model as “RCG” (Ratio of Correlated Gammas) model.
Using simulated data and a real sample of Illumina 450k methylation data from the Heinz Nixdorf Recall (HNR) cohort study [19], we demonstrate that the proposed RCG model fits our data significantly better than beta regression and Mvalue regression (“Results” section). Our numerical results further suggest that the RCG method may lead to an increased power of downstream tests on the association(s) between methylation status and the covariates under consideration.
Methods
In section “Notation and definitions” we introduce basic notation and definitions. Section “Regression models for the analysis of beta values” briefly reviews beta regression and Mvalue regression and discusses the limitations of the two methods. In the section “A statistical model for the ratio of correlated gamma distributed random variables” the proposed RCG model for the analysis of beta values is derived. Section “Estimation and hypothesis tests” provides details on model fitting and on the construction of downstream hypothesis tests.
Notation and definitions
At each CpG site, the Illumina 450k array produces a sample of methylated and unmethylated signal intensities (M _{ i },U _{ i })_{ i=1,…,n }, where n is the number of analyzed persons. The corresponding set of beta values is calculated by b _{ i }=M _{ i }/(M _{ i }+U _{ i }+a), i=1,…,n. To facilitate the derivation of distributional results, we will set a=0 throughout this section. The predictor variable(s) of interest and the confounding variables are collected in vectors X _{ i }=(1,X _{ i1},…,X _{ ip })^{⊤}, i=1,…,n. For each CpG site, the aim is to analyze the associations between the variables in X and the methylation status b.
Following [17] and [18], we assume that the stochastic behavior of the signal intensities M and U can be described by gamma distributed random variables with densities
where α _{ m },α _{ u } and λ _{ m },λ _{ u } are the shape and rate parameters of f _{ M } and f _{ U }, respectively. From (1) it follows that the means and variances of M, U are given by α _{ m }/λ _{ m }, α _{ u }/λ _{ u } and \(\alpha _{m} / {\lambda _{m}^{2}}\), \(\alpha _{u} / {\lambda _{u}^{2}}\), respectively [20].
Regression models for the analysis of beta values
Since the ratio b=M/(M+U) is bounded between 0 and 1, it has been argued that a linear regression model of the form
is not appropriate to model DNA methylation. In particular, the variance of b is usually smaller near the boundaries than near the middle of the interval (0,1), implying that the homoscedasticity assumption var(ε)=σ ^{2} is violated [11].
In view of this problem, several statistical models for bounded response variables have been developed (see [13] for an overview). A simple approach is to calculate logittransformed beta values (“Mvalues”, [11]) and to fit a linear regression model of the form
Although this strategy has become popular in the analysis of DNA methylation, it has the drawback that the methylation status (as quantified by the value of b) is not analyzed on its original scale but on a transformed scale [14]. Furthermore, as shown by Wahl et al. [8], the empirical distribution of logittransformed beta values usually deviates from normality.
An alternative approach that operates on the untransformed scale of b is beta regression, which is characterized by a beta distributed outcome variable with probability density function
where μ and ϕ denote the mean and precision parameters, respectively, of the probability density function φ. The predictorresponse relationship is usually defined by a monotone increasing link function g(·) and by the model equation g(μX)=X ^{⊤} γ [14]. A common choice for g is the logit transformation log(μ/(1−μ)). Since the variance of a beta distributed random variable is given by μ(1−μ)/ (1+ϕ), beta regression accounts for heteroscedasticity and for small variances near the boundaries of the interval (0,1). On the other hand, a major shortcoming of (5) in the context of DNA methylation analysis is that the signal intensities M and U are implicitly assumed to be independent and to share a common rate parameter. Under these assumptions, the ratio b=M/(M+U) can be shown to follow a beta distribution ([16], Chapter 9). The independence assumption, however, cannot be confirmed by empirical findings, which show that the signal intensities obtained from the Illumina 450k array are often positively correlated (see [12] and “Analysis of the Heinz Nixdorf recall study data” section of this article).
A statistical model for the ratio of correlated gamma distributed random variables
To address the issues described in the section “Regression models for the analysis of beta values”, we propose a statistical model (“Ratio of Correlated Gammas (RCG) model”) that is based on the bivariate distribution of the signal intensities M and U. In contrast to beta regression, we assume that M and U are not independent but can be described by a bivariate gamma distribution with probability density function
where λ _{ m },λ _{ u },α>0, 0<ρ<1, and I _{ α−1} is the modified Bessel function of the first kind of order α−1. The distribution in (6) is due to Kibble [21] and is often referred to as “WicksellKibble bivariate gamma distribution” [20]. As stated in various articles and monographs (e.g. [22]), the marginal densities f _{ M }, f _{ U } of M and U, respectively, are given by
The equations in (7) and (8) imply that M and U are gamma distributed random variables with a common shape parameter α and with means and variances given by α/λ _{ m }, α/λ _{ u } and \(\alpha / {\lambda _{m}^{2}}\), \(\alpha / {\lambda _{u}^{2}}\), respectively. The restriction to a common shape parameter ensures that all measured signal intensities refer to probability density functions sharing the same basic form. On the other hand, the unequal rate parameters λ _{ m } and λ _{ u } guarantee sufficient flexibility in modeling the differences in the marginal densities of M and U (see (11) and (12)). It can further be shown that the Pearson correlation of M and U is equal to ρ, implying that (6) imposes a correlation structure on the two signal intensities (see [20]).
In the next step, the distribution of the ratio b=M/(M+U) is derived:
Proposition 1
Let the distribution of (M,U) be defined by the probability density function in (6). Then the ratio b=M/(M+U) follows a univariate distribution with probability density function
Proof
The proof of Proposition 1, which is related to the work of Nadarajah and Kotz [23], is given in Additional file 1. □
The result stated in Proposition 1 can be used to derive the loglikelihood function of a sample of beta values b _{1},…,b _{ n }:
Proposition 2
For independent sample values b _{1},…,b _{ n }, the loglikelihood function derived from (9) is given by
where θ:=λ _{ m }/λ _{ u }.
Proof
See Additional file 1.
Proposition 2 implies that the loglikelihood function derived from (9) is a function of the mean ratio θ=λ _{ m }/λ _{ u }=E(U)/E(M).
To quantify the associations between the covariates X and the signal intensities M and U, we consider linear predictors X ^{⊤} ζ _{ m } and X ^{⊤} ζ _{ u }, \(\zeta _{m}, \zeta _{u} \in \mathbb {R}^{p+1}\), that relate the vector X=(1,X _{1},…,X _{ p })^{⊤} to the marginal means α/λ _{ m } and α/λ _{ u }, respectively. A convenient link function that guarantees the positivity of λ _{ m } and λ _{ u } is the logarithmic transformation, resulting in the predictorresponse relationships
with log(λ _{ m })=X ^{⊤} ζ _{ m } and log(λ _{ u })=X ^{⊤} ζ _{ u }. Note that the term log(α) can be incorporated into the intercept terms of the coefficient vectors ζ _{ m }=(ζ _{0m },ζ _{1m },…,ζ _{ pm })^{⊤} and ζ _{ u }=(ζ _{0u },ζ _{1u },…,ζ _{ pu })^{⊤}. The model equations in (11) and (12) are therefore in line with traditional univariate gamma regression approaches that relate the logtransformed mean of the response variable to a linear function of the predictors.
Defining γ=(γ _{0},γ _{1},…,γ _{ p })^{⊤}:=ζ _{ m }−ζ _{ u }, the mean ratio E(UX)/E(MX) can be written as θX= exp(X ^{⊤} γ), and the loglikelihood function of a sample \((b_{1}, \boldsymbol {X}_{1}^{\top }), \ldots, (b_{n}, \boldsymbol {X}_{n}^{\top })\) becomes
Equations (11) to (13) define a statistical model in which the association between the methylation status b and the covariates X is quantified by the coefficient vector γ. If γ _{ k }=0, k∈{1,…,p}, the predictorresponse relationships in (11) and (12) imply that ζ _{ km }=ζ _{ ku } and E(MX)=E(UX) (provided that the values of the other covariates remain constant). Hence, if γ _{ k }=0, the kth covariate X _{ k } has the same effect on both M and U, implying that X _{ k } is not associated with the methylation status at the CpG site under consideration. On the other hand, large values of γ _{ k } result from large differences in the coefficients ζ _{ km } and ζ _{ ku }, implying that DNA methylation varies greatly with the value of X _{ k }. Assessing the hypotheses “ H _{0} : γ _{ k } = 0 vs. H _{1}:γ _{ k }≠0” is therefore equivalent to a statistical test on the association between b and X _{ k }. □
Estimation and hypothesis tests
To obtain a consistent estimator of the coefficient vector γ, the loglikelihood function in (13) needs to be maximized over both γ and the hyperparameters α and ρ. To this purpose, we propose the application of a gradient boosting algorithm with linear baselearning functions, as described in [24]. For given data \((b_{i}, \boldsymbol {X}^{\top }_{i})_{i=1,\ldots, n}\), gradient boosting is a generic optimizer that minimizes a risk function \(\mathcal {R} (f, (b_{i}, \boldsymbol {X}_{i}^{\top })_{i=1,\ldots, n})\) over an unknown prediction function f(X), with the only requirement being the existence of the derivative \(\partial \mathcal {R} / \partial f\) [25].
Because the baselearning functions are chosen to be linear in X, the space of the prediction function f is restricted to the subspace defined by f(X)=X ^{⊤} γ, implying that estimation of f reduces to the estimation of the coefficient vector γ (see [26] for a detailed description of the algorithm). Furthermore, gradient boosting allows for the additional estimation of the hyperparameters α and ρ [27]. Maximum likelihood (ML) estimates of γ, α and ρ can therefore be obtained by setting \(\mathcal {R}\) equal to the negative of the loglikelihood in (13) and by running gradient boosting until convergence.
By standard maximum likelihood arguments, the hypotheses “ H _{0}:γ _{ k }=0 vs. H _{1}:γ _{ k }≠0” can be investigated by plugging the ML estimates \(\hat {\gamma }\), \(\hat {\alpha }\) and \(\hat {\rho }\) in the observed information matrix \(J (\alpha, \rho, \gamma) =  \sum _{i=1}^{n} \partial ^{2} \log (f_{b} (b_{i}, \boldsymbol {X}_{i}; \alpha, \rho, \gamma)) / \partial ^{2} \gamma \) and by calculating the test statistic
where \(J^{1}_{kk}\) denotes the kth diagonal element of J ^{−1}. Under the null hypothesis, Z _{ k } is asymptotically standard normally distributed as n→∞. Details on the calculation of J are given in Additional file 1.
Results
Description and preprocessing of the HNR study data
To investigate the properties of the RCG model derived in the section “A statistical model for the ratio of correlated gamma distributed random variables”, we analyzed both simulated data and a real sample of Illumina 450k methylation data from the Heinz Nixdorf Recall Study [19]. The HNR Study is an ongoing cohort study in the German cities of Mülheim, Essen and Bochum that enrolled a total of 4,814 participants aged 4575 years between 2000 and 2003. Data collection included health, lifestyle and environmental variables; the 10year followup of the study was completed in 2014.
For the present analysis, we considered a random sample of n= 1,144 study participants whose DNA samples were sodiumbisulfite converted and processed using Illumina Infinium HumanMethylation450 BeadChips v1.1. Processing was done according to the manufacturer’s manual on a fully automated iScan system between April 2013 and January 2015. Technical quality control was performed using GenomeStudio V2011.1.
Preprocessing of the methylation data was based on the R addon package minfi [28]. Briefly, persons that contained >20 % lowconfidence beta values (detection Pvalues >0.01) and CpG sites with more than 5 % lowconfidence beta values were dropped. CpG sites that contained either a SNP at the CpG interrogation or at the single nucleotide extension were also excluded from statistical analysis. In addition, CpG sites referring to crossreactive probes were removed, followed by the exclusion of X and Y chromosomal sites. Normalization of the beta values was carried out using the functional normalization algorithm [29], which was applied separately to type I and type II probes. The knearestneighbor method with k=10 was used to impute missing beta values.
After preprocessing, a total of n= 1,118 persons and 429,750 CpG sites remained in the analysis set. The distribution of the 429,750 Pearson correlation coefficients between the signal intensities M and U is shown in Fig. 1. The majority of the coefficients was substantially larger than zero, indicating that the independence assumption for M and U was not justified. More than 99.2 % of the correlation coefficients were positive (mean = 0.452, sd = 0.140).
In addition to the beta values, we considered the covariates “gender” (47.9 % women), “age” (mean = 58.3 years, sd = 7.3 years), “body mass index” (mean = 27.4 kg/m^{2}, sd = 7.3 kg/m^{2}), “CESD depression score” ([30], median = 6, interquartile range 3–10) and “smoking status” (18.9 % smokers). We selected these covariates because they are generally considered to be relevant for the analysis of DNA methylation (e.g. [10, 31, 32]).
Simulation study
One of the main goals of a DNA methylation study is to identify CpG sites that are “significantly” associated with one or more covariates of interest. We therefore conducted a simulation study on the power of downstream hypothesis tests, as obtained from Mvalue regression, beta regression and the proposed RCG model.
Power analysis at a single CpG site
In the first part of the simulation study, we considered a random CpG site (“cg00786084”) and based the study on the effect sizes obtained from the HNR Study data (RCG model with five covariates). The maximum likelihood estimates were
\(\hat {\alpha }=5.84\) and \(\hat {\rho }=0.93\). Setting the values of α,γ _{0},γ _{age},γ _{bmi},γ _{smoke} and γ _{depression} equal to the maximum likelihood estimates and using the covariate values of the HNR Study data (n= 1,118), we calculated the linear predictors X ^{⊤} γ for varying values of γ _{gender}. Three values of ρ were considered (0.2, 0.5 and 0.93, the latter value being the original sample estimate). For each combination of γ _{gender} and ρ, we generated 10,000 beta values from the distribution of the ratio in (9). Based on the simulated beta values and the real covariate values of the HNR Study, we analyzed the power of the test on the hypotheses “ H _{0}:γ _{gender}=0 vs. H _{1}:γ _{gender}≠0”. For the RCG model we used the asymptotic test described in the section “Estimation and hypothesis tests”. Beta regression and Mvalue regression models were also analyzed using test statistics of the form (14).
Figure 2 shows the differences in the fractions of tests that rejected the null hypothesis “ H _{0}:γ _{gender}=0” at the 5 % level for varying values of γ _{gender} and ρ. It is seen that the RCG model performed better than beta and Mvalue regression, especially in situations where the effect size γ _{gender} took moderately high values. For large effect sizes, the power of the three models was similar. This result is explained by the fact that large effect sizes resulted in high rejection rates of the null hypothesis “ H _{0}:γ _{gender}=0” regardless of whether the correlation between signal intensities was taken into account or not. As expected, the differences between the RCG model and competing approaches increased with the value of ρ. At the same time, RCGbased type I error rates were close to the nominal level of significance (0.054,0.049,0.050 for ρ=0.2,0.5,0.93, respectively).
Sensitivity analysis
In the second part of the simulation study, we carried out a sensitivity analysis and investigated the power of downstream hypothesis tests in situations where the bivariate distribution of the signal intensities M and U deviated from the WicksellKibble distribution. To this purpose, we repeated the analysis of CpG site cg00786084 and generated correlated gamma distributed signal intensities using a copulabased approach. More specifically, we generated standard uniformly distributed values \((\tilde {M}_{i},\tilde {U}_{i})\), i=1,…,1118, from a Gumbel copula of the form
The parameter \(\tilde {\rho }\) was adjusted such that \(\tilde {M}\) and \(\tilde {U}\) had the desired correlation (ρ∈{0.2,0.5,0.93}). Setting ζ _{ m } and ζ _{ u } equal to the sample estimates, i.e.
the values of \((\tilde {M},\tilde {U})\) were transformed to (0,∞) by applying the quantile functions of two gamma distributions with shape parameters α _{ m }=20.2, α _{ u }=12.760 and rate parameters λ _{ m }= exp(X ^{⊤} ζ _{ m }), λ _{ u }= exp(X ^{⊤} ζ _{ m }). The coefficient ζ _{gender,m } was varied such that it resulted in the values of γ _{gender} in Fig. 3. The transformed values of \((\tilde {M},\tilde {U})\) (representing the gamma distributed signal intensities M and U) were used to calculate 10,000 beta values for each combination of ρ and ζ _{gender,m }.
Figure 3 shows the differences in the fractions of tests that rejected the null hypothesis “ H _{0}:γ _{gender}=0” at the 5 % level. Similar to the results presented in Fig. 2, the RCG model performed better than beta and Mvalue regression with regard to the power of downstream hypothesis tests. The differences between the models were even stronger than in the first part of the simulation study, despite the fact that the distribution of the beta values deviated from the WicksellKibble distribution. Again, RCGbased type I error rates were close to the nominal level of significance (0.051,0.050,0.049 for ρ=0.2,0.5,0.93, respectively).
Extension to 1,000 CpG sites
In the third part of the simulation study, we extended the power analysis of part one and investigated the behavior of downstream hypothesis tests using 1,000 “reallife” combinations of the parameters α, ρ and γ. To this purpose, we randomly selected 1,000 CpG sites and fitted the respective RCG models to the HNR Study data. At each site, we used the RCG estimates to generate 1,000 beta values from the distribution of the ratio in (9). Using the 1,000 ×1,000 beta values, we estimated the power of the test on the hypotheses “ H _{0}:γ _{gender}=0 vs. H _{1} : γ _{gender} ≠ 0” at each CpG site.
Figure 4 visualizes the fractions of tests that rejected the null hypothesis “ H _{0}:γ _{gender}=0”. The upper panel shows the differences in the rejection rates obtained from the RCG model and from beta regression, whereas the lower panel depicts the respective differences between the RCG model and Mvalue regression. The RCG model performed better than beta and Mvalue regression at the majority of the 1,000 CpG sites. Again, the differences between the RCG model and competing approaches were largest for moderate sizes of γ _{gender}.
Analysis of the Heinz Nixdorf recall study data
Analysis of model fit
In the first part of the analysis, we analyzed and compared the fits obtained from the RCG, beta regression and Mvalue regression models. To this purpose, the data were randomly subdivided into ten pairs of training and test data sets, each of sizes 750 and 368, respectively. Using all five covariates, RCG, beta regression and Mvalue regression models were fitted to the ten learning data sets at each of the 429,750 CpG sites. To evaluate the model fits, we calculated the predictive loglikelihood values (“logscores”) obtained from the respective test data sets. Being a “proper” performance measure, the logscore is maximized by the loglikelihood of the true datagenerating model [33]. In addition to the full models, we also evaluated the intercept models (“null models”) that contained no covariates at all.
The average logscore differences obtained from beta regression, Mvalue regression and the RCG model are shown Fig. 5. The RCG model fitted the HNR Study data systematically better than beta and Mvalue regression (Pvalues of Wilcoxon signed rank tests <0.001). This result was obtained for both the full model containing all five covariates (left panel of Fig. 5) and the covariatefree null model (right panel of Fig. 5).
Rejection rates of downstream hypothesis tests
In the second part of the analysis, we reconsidered the 429,750 CpG sites analyzed in part one and calculated the Pvalues of downstream tests on the hypotheses “ H _{0}:γ _{gender}=0 vs. H _{1}:γ _{gender}≠0”. To correct the Pvalues for multiple comparisons, we applied the procedures by Benjamini & Hochberg and Benjamini & Yekutieli using various levels of false discovery rate (FDR) control. As demonstrated in Fig. 6, the number of “significant” associations was largest for the RCG model at the majority of FDR levels. For example, the numbers of “significant” CpG sites were 22,997, 22,199 and 21,779 for the RCG, Mvalue and beta regression models, respectively, at FDR = 0.05. These numbers are in line with earlier results by Singman et al. [10] who, after a Bonferroni correction of 391,885 Pvalues, identified 11,010 autosomal sexmethylation associations in the populationbased KORA F4 study. Of note, our result implies that the application of the RCG model would have led to the discovery of (22,997 – 22,199) ≈800 additional significant CpG sites at the 5 % FDR level. We point out that the true number of nonzero associations among the 429,750 CpG sites is unknown, so that the aforementioned higher rejection rates obtained from the RCG model do not necessarily imply a higher true positive rate. Still, Fig. 6 is in line with the high(er) power obtained from the RCGbased tests in “Simulation study” section.
Analysis of CpG sites that are known to be associated with age and/or smoking behavior
In the third part of the analysis, we validated the RCG methodology by focusing on subsets of CpG sites that were previously reported to be associated with age or smoking behavior. The idea of this analysis was to investigate whether the RCG rejection rates at these “true positive” CpG sites were comparable to the respective rejection rates obtained from beta and Mvalue regression. Four subsets of CpG sites were considered: The first subset comprised the 187 smokingassociated CpG sites that were identified by Zeilinger et al. [34] in a replication sample of n=468 persons (P<5·10^{−5}). Of these CpG sites, a total of 182 CpG sites were used in our analysis, as they passed the quality checks applied the HNR Study data. The second subset comprised the 215 smokingassociated CpG sites reported by Harlid et al. [35], of which 209 sites passed the quality checks applied to the HNR Study data. The third subset comprised the 162 ageassociated CpG sites that were identified by Florath et al. [36] in a test sample of n=498 persons (P<2.5·10^{−4}). Of these CpG sites, a total of 156 CpG sites passed the quality checks applied the HNR Study data. The fourth subset comprised the 589 ageassociated CpG sites identified by Teschendorff et al. [37] (n=261, FDR <0.05), of which 536 sites passed the quality checks applied to the HNR study data. The full list of these CpG sites, which include numerous PCGT CpGs as well as CpGs mapping to AHRR, is contained in Additional file 2.
At each of the aforementioned CpG sites we analyzed the Pvalues obtained from the RCG method, Mvalue regression and beta regression. In a subsequent step we computed the rejection rates of the three methods in each subset. To ensure the comparability of the results across the four subsets, we used a global significance level of P<10^{−7}, which was approximately equal to the Bonferronicorrected 5 % alpha level [34]. The agreement between the rejection rates of the three modeling techniques was measured by the percentage of CpG sites with identical test results for the three techniques, and also by Cohen’s kappa.
The results, which are presented in full detail in Additional file 2, demonstrate a very high agreement between the RCG, Mvalue regression and beta regression models in each of the four subsets. The rejection rates obtained from the three methods were almost identical in each of the four subsets (∼55 % in the Zeilinger et al. subset, ∼49 % in the Harlid et al. subset, ∼96 % in the Florath et al. subset and ∼62 % in the Teschendorff et al. subset). The percentage of agreement ranged between 95.6 % and 98.7 %; Cohen’s kappa values ranged between 0.72 and 0.79 in the Florath et al. subset and were throughout larger than 0.91 in the Zeilinger et al., Harlid et al. and Teschendorff et al. subsets. These findings demonstrate that the RCG methodology resulted in a valid number of “true hits” at CpG sites with confirmed associations between methylation status and age / smoking behavior.
Discussion and conclusions
The development of statistical models to analyze DNA methylation is the subject of intense and ongoing research [9, 38–40]. In this article, we proposed a likelihoodbased approach to analyze and infer the associations between covariates and methylation levels in Illumina 450k data. In contrast to beta regression, the proposed RCG model accounts for possible correlations between methylated and unmethylated signal intensities, thereby increasing the flexibility of the model in describing the distribution of methylation levels at individual CpG sites. The analysis of the Heinz Nixdorf Recall Study data suggests that the RCG model fitted the data systematically better than traditional approaches like beta and Mvalue regression. This result is in line with our previous findings, which suggest that “at the majority of CpG sites, methylation follows neither a beta distribution, nor a normal distribution after any of the investigated transformations” [8].
In our simulation study, the RCG model resulted in higher true positive rates for the associations between DNA methylation and the covariates than beta and Mvalue regression. As expected, the differences between the RCG model and competing methods were largest at CpG sites with high correlations between methylated and unmethylated signal intensities. At the same time, the simulation study showed that RCGbased type I error rates were close to the nominal level of significance. By using combinations of sitewise Pvalues, it is straightforward to extend the RCG methodology to wider regions on the DNA such as CpG islands or island shores.
A crucial issue in DNA methylation analysis is the selection of an appropriate procedure for normalization and quality control [7, 41]. To this purpose, numerous preprocessing techniques have been developed, with the minfi pipeline used in this paper being a popular example. When deriving the RCG model, we implicitly assumed that all observed beta values were properly normalized and were observed without measurement error. While proper normalization and quality control should be taken for granted in any highquality DNA methylation study, it might be worth investigating the effect of various preprocessing techniques on the behavior of the RCG model (and also on beta regression and Mvalue regression).
The use of a gradient boosting algorithm to optimize the parameters of the RCG model lays the ground for a variety of additional modeling options. For example, it is straightforward to account for nonlinear covariate effects and to extend the linear predictor in (13) by a set of spline functions. Furthermore, it is possible to embed the RCG model in the GAMLSS framework [42] and to increase its flexibility by relating the parameters α and ρ to separate linear or additive predictors. For details, see [43] and [44].
While the proposed RCG model was tested using methylation data from Illumina’s 450k array, we expect the analysis of beta values to gain even more importance with the recent launch of the Infinium MethylationEPIC BeadChip array covering more than 850,000 CpG sites [45].
Abbreviations
 CpG:

CytosineGuanine dinucleotide sites of the DNA
 DNA:

Deoxyribonucleic acid
 FDR:

False discovery rate
 HNR:

Heinz Nixdorf RECALL (risk factors, evaluation of coronary calcium and lifestyle)
 RCG:

Ratio of correlated Gammas
 SNP:

Singlenucleotide polymorphism
References
Bird A. DNA methylation patterns and epigenetic memory. Gene Dev. 2002; 16:6–21.
Shames DS, Minna JD, Gazdar AF. DNA methylation in health, disease, and cancer. Curr Mol Med. 2007; 7:85–102.
Sarkar FH. Epigenetics and Cancer. Dordrecht: Springer; 2013.
Varley K, Gertz J, Bowling K, et al. Dynamic DNA methylation across diverse human cell lines and tissues. Genome Res. 2013; 23:555–67.
Zhang N, Wu HJ, Zhang W, et al. Predicting tumor purity from methylation microarray data. Bioinformatics. 2015; 31:3401–5.
Portela A, Esteller M. Epigenetic modifications and human disease. Nat Biotechnol. 2010; 28:1057–68.
Dedeurwaerder S, Defrance M, Bizet M, et al. A comprehensive overview of Infinium HumanMethylation450 data processing. Brief Bioinform. 2014; 15:929–41.
Wahl S, Fenske N, Schmid M. On the potential of models for location and scale for genomewide DNA methylation data. BMC Bioinformatics. 2014; 15:232.
Dolzhenko E, Smith AD. Using betabinomial regression for highprecision differential methylation analysis in multifactor wholegenome bisulfite sequencing experiments. BMC Bioinformatics. 2014; 15:215.
Singmann P, ShemTov D, Wahl S, et al. Characterization of wholegenome autosomal differences of DNA methylation between men and women. Epigenetics Chromatin. 2015; 8:43.
Du P, Zhang X, Huang CC, et al. Comparison of Betavalue and Mvalue methods for quantifying methylation levels by microarray analysis. BMC Bioinformatics. 2010; 11:587.
Laird PW. Principles and challenges of genomewide DNA methylation analysis. Nat Rev Genet. 2011; 11:191–203.
Schmid M, Wickler F, Maloney KO, et al. Boosted beta regression. PLoS ONE. 2013; 8(4):e61623.
Ferrari SLP, CribariNeto F. Beta regression for modelling rates and proportions. J Appl Stat. 2004; 31:799–815.
Bock C. Analysing and interpreting DNA methylation data. Nat Rev Genet. 2012; 13:705–19.
Devroye L. NonUniform Random Variate Generation. New York: Springer; 1986.
Triche TJ, Weisenberger DJ, Van Den Berg D, et al. Lowlevel processing of Illumina Infinium DNA Methylation BeadArrays. Nucleic Acids Res. 2013; 41(7):e90.
Saadati M, Benner A. Statistical challenges of highdimensional methylation data. Stat Med. 2014; 33:5347–57.
Schmermund A, Möhlenkamp S, Stang A, et al. Assessment of clinically silent atherosclerotic disease and established and novel risk factors for predicting myocardial infarction and cardiac death in healthy middleaged subjects. Am Heart J. 2002; 144:212–8.
Balakrishnan N, Lai CD. Continuous bivariate distributions, 2nd edn. New York: Springer; 2009.
Kibble WF. A twovariate gamma type distribution. Sankhya. 1941; 5:137–50.
Mardia KV. Families of bivariate distributions. London: Griffin; 1970.
Nadarajah S, Kotz S. Jensen’s bivariate gamma distribution: Ratios of components. J Stat Comput Simul. 2007; 77:349–58.
Bühlmann P, Hothorn T. Boosting algorithms: Regularization, prediction and model fitting. Stat Sci. 2007; 22:477–522.
Hothorn T. Boosting – an unusual yet attractive optimiser. Methods Inf Med. 2014; 53:417–8.
Hofner B, Mayr A, Robinzonov N, Schmid M. Modelbased boosting in R: A handson tutorial using the R package mboost. Comput Stat. 2014; 29:3–35.
Schmid M, Potapov S, Pfahlberg A, Hothorn T. Estimation and regularization techniques for regression models with multidimensional prediction functions. Stat Comput. 2010; 20:139–50.
Aryee MJ, Jaffe AE, CorradaBravo H, et al. Minfi: A flexible and comprehensive Bioconductor package for the analysis of Infinium DNA Methylation microarrays. Bioinformatics. 2014; 30:1363–9.
Fortin J, Labbe A, Lemire M, et al. Functional normalization of 450k methylation array data improves replication in large cancer studies. Genome Biol. 2014; 15:503.
Radloff LS. The CESD scale: A selfreport depression scale for research in the general population. Appl Psychol Meas. 1977; 1:385–401.
Weidner CI, Lin Q, Koch CM, et al. Aging of blood can be tracked by DNA methylation changes at just three CpG sites. Genome Biol. 2014; 15:R24.
Dick KJ, Nelson CP, Wahl S, et al. DNA methylation and bodymass index: A genomewide analysis. The Lancet. 2014; 383:1990–8.
Gneiting T, Raftery AE. Strictly proper scoring rules, prediction, and estimation. J Am Stat Assoc. 2007; 102:359–78.
Zeilinger S, Kühnel B, Klopp N, Baurecht H, Kleinschmidt A, Gieger C, Weidinger S, Lattka E, Adamski J, Peters A, Strauch K, Waldenberger M, Illig T. Tobacco smoking leads to extensive genomewide changes in DNA methylation. PLoS ONE. 2013; 8(5):e63812.
Harlid S, Xu Z, Panduri V, Sandler DP, Taylor JA. CpG sites associated with cigarette smoking: Analysis of epigenomewide data from the Sister Study. Environ Health Perspect. 2014; 122:673–8.
Florath I, Butterbach K, Müller H, BewerungeHudler M, Brenner H. Crosssectional and longitudinal changes in DNA methylation with age: An epigenomewide analysis revealing over 60 novel ageassociated CpG sites. Hum Mol Genet. 2014; 23:1186–201.
Teschendorff AE, Menon U, GentryMaharaj A, Ramus SJ, Weisenberger DJ, Shen H, Campan M, Noushmehr H, Bell CG, Maxwell AP, Savage DA, MuellerHolzner E, Marth C, Kocjan G, Gayther SA, Jones A, Beck S, Wagner W, Laird PW, Jacobs IJ, Widschwendter M. Agedependent DNA methylation of genes that are suppressed in stem cells is a hallmark of cancer. Genome Res. 2010; 20:440–6.
Park Y, Figueroa ME, Rozek LS, Sartor MA. MethylSig: A whole genome DNA methylation analysis pipeline. Bioinformatics. 2014; 30:2414–22.
Zheng H, Wu H, Li J, Jiang SW. CpGIMethPred: Computational model for predicting methylation status of CpG islands in human genome. BMC Med Genomics. 2013; 66(Suppl 1):S13.
Döring M, Gasparoni G, Gries J, Nordström K, Lutsik P, Walter J, Pfeifer N. Identification and analysis of methylation call differences between bisulfite microarray and bisulfite sequencing data with statistical learning techniques. BMC Bioinformatics. 2015; 16(Suppl 3):A7.
Touleimat N, Tost J. Complete pipeline for Infinium Human Methylation 450K BeadChip data processing using subset quantile normalization for accurate DNA methylation estimation. Epigenomics. 2012; 4:325–41.
Rigby R, Stasinopoulos DM. Generalized additive models for location, scale and shape. J R Stat Soc Series C. 2005; 54:507–54.
Mayr A, Fenske N, Schmid M. Generalized additive models for location, scale and shape for high dimensional data. J R Stat Soc Series C. 2012; 61:403–27.
Hofner B, Mayr A, Schmid M. gamboostLSS: An R package for model building and variable selection in the GAMLSS framework. J Stat Softw. 2016; 74(1):1–31.
Moran S, Arribas C, Esteller M. Validation of a DNA methylation microarray for 850,000 CpG sites of the human genome enriched in enhancer sequences. Epigenomics. 2016; 8:3:389–99.
Acknowledgements
We thank Axel Benner for valuable discussions and the HNR Investigator Group (Prof. K. H. Jöckel, Prof. R. Erbel, Prof. S. Moebus for the HNR Study Group) for providing data of the HNR Study. The HNR Study is supported by the Heinz Nixdorf Foundation (Germany), the German Ministry of Education and Science, the Kulturstiftung Essen, Sarstedt AG & Co. (Nümbrecht, Germany) and the DFG (projects ER 155/1, ER 155/62, SI 236/81, SI 236/91).
Funding
This work was supported by DietBodyBrain (DietBB) the Competence Cluster in Nutrition Research funded by the Federal Ministery of Education and Research (FKZ: 01EA1410D). Support by the German Research Foundation, grant SCHM 2966/12 is gratefully acknowledged.
Availability of data and materials
The RCG model is implemented in the RCG family of the R package mboostDevel, which also includes a function to evaluate the conditional expectation of b  X via numerical integration (Additional file 3, available on CRAN upon publication of this manuscript). Example code on the application of the model is contained in the R help of RCG.
Authors’ contributions
LW and MS devised the basic idea for the manuscript. LW performed the statistical analysis, with contributions by MS, SW and SP. PH contributed data. MS and LW wrote the manuscript, with contributions by SW and PH. All authors read and approved the final manuscript.
Competing interests
The authors declare that they have no competing interests.
Consent for publication
We have obtained the consent to publish analysis results obtained from the HeinzNixdorf Recall Study data. Consent was given by the study’s steering committee.
Ethics approval and consent to participate
The Heinz Nixdorf Recall study was approved by the local ethics committees and was conducted in accordance with German Good Epidemiologic Practice (GEP) and recertifications according to DIN ISO 9001:2001. Informed consent was obtained from all participants.
Author information
Authors and Affiliations
Corresponding author
Additional files
Additional file 1
Contains distributional results and proofs of propositions. (PDF 54.1 kb)
Additional file 2
Contains the rejection rates at CpG sites that were previously reported to be associated with age and/or smoking. (XLSX 64.8 kb)
Additional file 3
R package mboostDevel. (GZ 2038 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
Weinhold, L., Wahl, S., Pechlivanis, S. et al. A statistical model for the analysis of beta values in DNA methylation studies. BMC Bioinformatics 17, 480 (2016). https://doi.org/10.1186/s1285901613474
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/s1285901613474
Keywords
 Bounded response variables
 DNA methylation
 Gamma Regression
 Gradient Boosting
 HumanMethylation450k BeadChip