M3D: a kernel-based test for shape changes in methylation profiles

Tom Mayo, Gabriele Schweikert, Guido SanguinettiarXiv 2014 · DOI

Abstract

DNA methylation is an intensely studied epigenetic mark implicated in many biological processes of direct clinical relevance. While sequencing based technologies are increasingly allowing high resolution measurements of DNA methylation, statistical modelling of such data is still challenging. In particular, statistical identification of differentially methylated regions across different conditions poses unresolved challenges in accounting for spatial correlations within the statistical testing procedure. We propose a non-parametric, kernel-based method, M3D, to detect higher-order changes in methylation profiles, such as shape, across pre-defined regions. The test statistic explicitly accounts for differences in coverage levels between samples, thus handling in a principled way a major confounder in the analysis of methylation data. Empirical tests on real and simulated data sets show an increased power compared to established methods, as well as considerable robustness with respect to coverage and replication levels.

Introduction: The Challenge of Methylation Analysis

DNA methylation—the addition of a methyl group to cytosine—is a critical epigenetic regulator of gene expression. Disruptions in methylation patterns are hallmarks of various diseases, including cancer. Modern sequencing techniques, such as Reduced Representation Bisulfite Sequencing (RRBS), provide base-pair resolution data. However, analyzing this data remains statistically complex. Traditional tools often analyze individual cytosine sites independently, failing to account for spatial correlation (the tendency of neighboring sites to share methylation states) and coverage bias (technical noise stemming from varying sequencing depths).

The authors of M3D argue that the shape of a methylation profile across a genomic region contains vital biological information often missed by methods focusing solely on average methylation levels.

Methodology: The M3D Framework

The researchers introduced M3D (Maximum Mean Methylation Discrepancy), adapting the Maximum Mean Discrepancy (MMD) framework from machine learning. MMD is a non-parametric, kernel-based method used to determine if two sets of samples originate from the same probability distribution.

Key Innovations

  1. Composite Kernels: M3D utilizes a kernel that integrates genomic location (via a Radial Basis Function) with methylation status. This allows the model to capture the spatial architecture of the data.
  2. Coverage Control: To mitigate technical noise, M3D calculates a "full" MMD (methylation + location) and subtracts a "coverage" MMD (location only). This isolates the biological signal from sequencing depth artifacts.
  3. Empirical P-values: Rather than assuming a standard distribution, M3D constructs a null distribution by comparing replicates within the same condition, grounding its noise measurements in real-world variability.
Methylation profiles across four genomic regions (Islands), illustrating the spatial patterns and 'shapes' that M3D analyzes beyond simple average levels.

Key Results and Performance

The effectiveness of M3D was evaluated using simulated data, ENCODE human cell line data (H1-hESC vs. K562), and mouse embryonic stem cell data.

Accuracy and Sensitivity

In simulations, M3D achieved an Area Under the Curve (AUC) of 0.99, significantly outperforming established methods like MAGI (0.77) and BSmooth. As shown in the performance table below, M3D consistently identifies more correct differentially methylated regions (DMRs) while maintaining lower Type-1 and Type-2 error rates across various levels of methylation change (Alpha).

Comparative performance of M3D, BSmooth (BS), and MAGI across varying levels of methylation change (Alpha), showing M3D's superior accuracy and lower error rates.

Biological Relevance and Robustness

On real ENCODE data, M3D identified over 4,100 DMRs, compared to 1,649 by BSmooth and 3,101 by MAGI. These regions showed strong correlations with gene expression changes, particularly when methylation shifts occurred in the first exon. Furthermore, M3D demonstrated remarkable robustness; the majority of its calls remained consistent even when sequencing depth was artificially reduced to 25% of the original level.

Conclusion

M3D represents a significant advancement in epigenetic analysis by treating genomic regions as distributions rather than independent points. While it carries a higher computational cost than some alternatives—taking roughly two hours for tasks others complete in minutes—its superior sensitivity and principled handling of coverage bias make it a powerful tool for high-resolution methylation studies.

Summary updated

BibTeX
@misc{mayo2014m,
  author = {Tom Mayo and Gabriele Schweikert and Guido Sanguinetti},
  title = {{M3D: a kernel-based test for shape changes in methylation profiles}},
  year = {2014},
  eprint = {1410.6677},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1410.6677},
}
Figure