Bayesian Epigenome-Wide Association Study (Bayesian EWAS)

Statistics
Introduced by
Multiple groups; Bayesian EWAS framework advanced by S. Richardson, P.-C. Tsai, J. T. Bell and colleagues
Year
2010s (framework developed ~2013–2016)
Type
Statistical association analysis
Family
Bioinformatics / omics

What does it do?

A Bayesian EWAS is a genome-scale association analysis that links epigenetic marks, most commonly CpG-site DNA methylation, to a phenotype or trait.

It uses a Bayesian probabilistic model in place of, or alongside, the classical frequentist p-value framework and reports posterior probabilities of association and credible intervals for each CpG site. Because the prior distributions are explicit, external biological information can be included in the analysis, and the multiple-testing burden of testing hundreds of thousands of sites is handled through posterior error-rate control rather than a single p-value cutoff.

The intuition behind the method

A classical EWAS tests each CpG site in the methylome separately for association with a trait and then applies a significance threshold. A Bayesian EWAS instead asks, given the methylation data and what is already known about each locus (its genomic context, prior enrichment signals, or a hierarchical prior shared across sites), how probable it is that the site is truly associated with the trait. Sites are ranked by posterior probability rather than by p-value. External information, for example from a companion GWAS, can be entered directly into the prior, so the analysis makes explicit which assumptions shape the conclusions.

History

Epigenome-wide association studies became practical after the Illumina Infinium 450K array made genome-scale DNA methylation profiling feasible in population cohorts. Early EWAS used site-by-site linear regression with Bonferroni or Benjamini-Hochberg correction. Bayesian approaches to associations between epigenetic marks and phenotypes were developed in the 2010s; the framework is associated with S. Richardson, P.-C. Tsai, J. T. Bell and colleagues, and is described in a 2016 paper titled Bayesian approaches to studying associations between epigenetic marks and phenotypes. Bayesian EWAS remains an active methodological area.

When to use it

Choose a Bayesian EWAS when you have a specific reason to bring prior information into the analysis, such as genomic annotation, chromatin state or external GWAS evidence, or when you want posterior probabilities and credible intervals rather than binary significance calls. It is most useful when the sample is small relative to the number of CpG sites tested, because a hierarchical prior can regularise estimates and stabilise site-level inference, and when you need a joint model over CpG sites in a variable-selection framework. Do not choose it simply as a replacement for standard EWAS in very large cohorts, where linear regression at scale is often already well powered and full Bayesian computation may be impractical without specialised infrastructure. Avoid it when the question requires a strict frequentist Type I error guarantee, or when the prior information is so weak or contested that an informative prior would mislead.

Limitations and considerations

  • MCMC-based fits across 450K–900K sites are computationally heavy and require convergence diagnostics for each analysis.
  • Conclusions depend on the prior: a poorly chosen hyperparameter can bias site rankings, so the prior must be documented and varied in a sensitivity analysis.
  • Posterior probabilities and PIPs are often misread by reviewers trained in frequentist methods, which can complicate peer review.
  • Many standard EWAS workflows are not set up for posterior inference, so Bayesian analyses usually need custom or less standard pipelines, for example BFDR-based packages or Stan or JAGS models.
  • Hierarchical models that share information across sites assume exchangeability, which may be questionable across genomic regions with very different biological roles.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Posterior probabilities give a direct statement of how probable an association is, given the data and the stated prior, rather than a rejection decision against a null hypothesis.
  • Explicit priors allow genomic context, functional annotation or external GWAS evidence to inform site-level estimates, which can help where sample sizes are small.
  • Variable-selection models treat CpG sites jointly, so correlation between sites can enter the inference rather than being ignored site by site.
  • Credible intervals quantify uncertainty in effect sizes directly, which matters when estimates are intended for later translation.
  • The Bayesian FDR is calibrated to the sparsity of signal estimated from the data, rather than applying one fixed threshold to all sites.

Applications

  • Identifying CpG sites associated with complex traits such as BMI, smoking exposure or type 2 diabetes in population cohorts, with more flexible multiple-testing control than standard approaches.
  • Integrating GWAS-derived genetic instruments into the prior for co-localisation or Mendelian randomisation analyses of epigenetic mediation.
  • Small clinical epigenomics studies, such as rare disease or treatment-response studies, where Bayesian regularisation can compensate for limited power.
  • Longitudinal epigenetic ageing studies that need uncertainty-aware models of methylation change over time.
  • Multi-tissue studies in which hierarchical priors share information across tissue types to improve site-level estimates.
  • Pharmacoepigenomics, linking drug exposure to methylation change, with prior knowledge about metabolic pathways encoded in the model.

How it works

How it works

1

Raw methylation array intensities (Illumina 450K or EPIC) are normalised (for example with BMIQ, NOOB or functional normalisation), quality-controlled by removing probes with poor detection p-values, cross-reactive probes and probes containing SNPs, and converted to M-values or beta-values. Surrogate variable analysis or cell-type deconvolution is then applied to adjust for technical batch effects and cellular heterogeneity. Failing to adjust for cell-type composition is a well-known route to spurious EWAS associations, because methylation profiles differ strongly between cell types.

2

A prior distribution is placed on the association parameter at each CpG site. In simple Bayesian regression this may be a conjugate normal prior on the regression coefficient; in variable-selection frameworks (e.g., stochastic search variable selection or spike-and-slab priors) each site is additionally assigned a prior probability of being in the 'active' set. Empirical Bayes approaches estimate prior hyperparameters from the full dataset, while fully Bayesian hierarchical models can incorporate external biological annotation (e.g., chromatin state, gene body location) to inform site-specific priors.

3

For each CpG site, or jointly across sites in a hierarchical model, the likelihood of the methylation data under a regression linking methylation to the phenotype is combined with the prior to give the posterior distribution. Markov chain Monte Carlo (MCMC) sampling or variational approximations are used when closed-form posteriors are unavailable. Site-by-site regressions can be run independently of one another, which is why they can be distributed across computing resources, whereas full joint or hierarchical fits across the genome are much more demanding.

4

From the posterior distribution, point estimates (posterior mean or median), credible intervals (for example 95% highest-density intervals), and, in variable-selection models, posterior inclusion probabilities (PIPs) are extracted for each site. A PIP above a researcher-specified cut-off, for example 0.5, flags a site as associated. The cut-off is a decision rule that should be fixed and justified in the analysis plan before results are examined. It does not carry the frequentist meaning of a genome-wide p-value threshold, so it should be stated explicitly.

5

The Bayesian false discovery rate (BFDR) or the local false sign rate (lfsr) is computed from the posterior to give error-rate control across the epigenome-wide set of tests. Unlike the Benjamini-Hochberg procedure applied to p-values, the BFDR works directly with the posterior probabilities and adjusts for the sparsity of true signals estimated from the data.

6

Significant CpG sites are annotated to genomic features (genes, promoters, CpG islands, regulatory regions) and cross-referenced against epigenetic databases (e.g., ENCODE, Roadmap Epigenomics). Pathway enrichment analysis is performed on the gene set associated with the top hits, and, where available, Mendelian randomisation or co-localisation with GWAS signals is conducted to assess causal directionality.

Common pitfalls

  • Omitting cell-type deconvolution: methylation profiles differ strongly between cell types, so unadjusted estimates can reflect cellular composition rather than the trait. This applies within a Bayesian model as much as in classical EWAS.
  • Skipping batch correction: array methylation data are affected by chip, row and sample-preparation batches; surrogate variable analysis or explicit batch correction should precede Bayesian modelling.
  • Reading a PIP as a p-value: PIP = 0.8 means an 80% posterior probability of association under the given model and prior. It does not mean the site would reach genome-wide significance under a classical test, so the two should not be compared directly.
  • Not reporting prior sensitivity analyses: if conclusions change substantially when hyperparameters are varied, the results are not robust and should be qualified accordingly.
  • Confusing M-values and beta-values: linear Bayesian regression assumes approximately Gaussian residuals, which bounded beta-values (0 to 1) violate, so M-values are usually modelled. Beta-values remain more interpretable for reporting effect sizes.

Frequently asked questions

How does Bayesian EWAS differ from a standard frequentist EWAS?

A standard EWAS fits a linear (or logistic) regression at each CpG site and reports a p-value, and significance is declared when that p-value passes a genome-wide threshold. A Bayesian EWAS computes the posterior probability that the association at each site is non-zero, given the data and a prior. External biological knowledge can be incorporated, uncertainty is expressed through credible intervals, and the binary significance decision is replaced by a ranking by posterior evidence.

What prior should I use if I have no strong biological prior information?

In the absence of strong external information, a weakly informative prior — such as a normal prior on regression coefficients centered at zero with a variance calibrated to the expected effect-size range in epigenomic studies — is a reasonable default. Empirical Bayes, which estimates hyperparameters from the data itself, is a practical alternative that avoids fully subjective prior choices. The key requirement is to document your prior and run sensitivity analyses varying the hyperparameters to confirm that conclusions are robust.

Is Bayesian EWAS appropriate for very large biobank datasets?

In very large biobanks, classical EWAS is often already well powered and computationally straightforward. Full Bayesian MCMC across 450K–900K sites at this scale is typically impractical without distributed computing. Variational Bayes approximations or empirical Bayes shrinkage estimators offer a practical middle ground. For many large-cohort questions, the added complexity of a fully Bayesian approach may not yield enough additional insight to justify the computational cost.

Can I apply Bayesian EWAS to EPIC v2 or other next-generation methylation platforms?

Yes. The statistical framework does not depend on the platform; what changes is the preprocessing pipeline and the number of sites tested. EPIC v2 has more probes than the 450K array, which increases computational cost and the multiple-testing burden. The choice of prior and the error-rate method should be documented in either case.

How do I handle the correlation structure between nearby CpG sites (spatial autocorrelation)?

Nearby CpG sites in the same genomic region are correlated (linkage disequilibrium of methylation, or 'methylation LD'). Site-by-site Bayesian regression ignores this structure. Approaches such as Gaussian process priors or region-level summarisation (for example bumphunter-style region detection followed by Bayesian region-level testing) model it more directly. Ignoring correlation between neighbouring CpGs can overstate the number of independent signals and make error-rate control too optimistic, so region-level results are often the more appropriate unit of inference.

Related methods

Sources

  1. Richardson, S., Tsai, P. C., Bell, J. T., & Timpson, N. J. (2016). Bayesian approaches to studying associations between epigenetic marks and phenotypes. International Journal of Epidemiology, 45(3), 694–705.

    Open publication reference
  2. Johansson, A., Enroth, S., & Gyllensten, U. (2013). Continuous aging of the human DNA methylome throughout the human lifespan. PLoS ONE, 8(6), e67378.

    Open publication reference