mvMAPIT: Multivariate Genome Wide Marginal Epistasis Test

Julian Stamp, Lorin CrawfordOpenalex Unknown 2022 · DOI · OpenAlex

TL;DR

mvMAPIT is a new R package designed to detect "marginal epistasis"—the collective interaction effects between a specific genetic variant and all others—across multiple traits simultaneously. By leveraging the correlation between phenotypes in a multivariate linear mixed model, it significantly boosts statistical power and computational efficiency compared to traditional one-trait-at-a-time searches.

What Problem Does This Paper Address?

In genetics, epistasis refers to the phenomenon where the effect of one genetic variant depends on the presence of another. While these interactions are key to understanding complex diseases and traits, finding them is a "needle in a haystack" problem.

Standard approaches face two major hurdles:

  1. Combinatorial Explosion: Searching for every possible pairwise interaction ($O(p^2)$) is computationally exhausting for genome-wide data.
  2. Low Statistical Power: Most methods analyze only one trait at a time. However, many biological traits are correlated; ignoring these relationships misses valuable information that could help distinguish true genetic signals from background noise.

The authors address these gaps by providing a multivariate framework that identifies variants involved in epistasis without needing to specify their exact interaction partners upfront.

Methods

The core of the package is the multivariate MArginal ePIstasis Test (mvMAPIT). Key technical features include:

  • Multivariate Linear Mixed Model (MLMM): The model decomposes phenotypic variation into additive effects, marginal epistatic effects (the sum of all pairwise interactions for a single variant), and environmental noise.
  • Marginalization: Instead of testing SNP A × SNP B, it tests SNP A against the "polygenic background" of all other variants. This reduces the search space significantly.
  • Variance Component Estimation: The package uses a specialized algorithm to estimate multi-trait variance components, which are essential for calculating P-values.
  • Flexible Hypothesis Testing: Users can choose between three testing strategies: a standard Normal (Z) test, the Davies method (for more precise P-values in the tails), or a Hybrid approach that balances speed and accuracy.
  • Liability Conversion: For case-control studies, the binary_to_liability function allows users to treat binary traits as underlying continuous "liabilities," making them compatible with the MLMM framework.

Datasets

The package documentation highlights several datasets used for validation and demonstration:

  • phillips_data: Real-world data investigating the binding affinities of broadly neutralizing anti-influenza antibodies. This dataset includes regression coefficients and p-values for marginal epistatic effects on antibody fitness.
  • simulated_data: A synthetic dataset containing 500 samples and 1,000 variables with known epistatic interactions, used to benchmark the model's ability to recover ground-truth signals.
  • mvmapit_data: A pre-computed result set that compares mvMAPIT outputs against traditional exhaustive search methods.

Key Insights and Ideas

  • Strength in Correlation: The "aha moment" here is that traits don't exist in a vacuum. By modeling multiple traits together, the algorithm uses the shared correlation structure to "clean up" the signal, making it easier to spot variants that influence multiple related phenotypes through epistasis.
  • Efficiency via Approximation: By focusing on marginal effects, the computational burden shifts from quadratic to linear relative to the number of variants, making genome-wide association studies (GWAS) for epistasis actually feasible.
  • P-Value Aggregation: The package includes robust methods (Cauchy, Fisher, and Harmonic Mean) to combine P-values across different traits, providing a single metric for a variant’s overall epistatic significance.

Key Results

  • Scalability: The authors note that the approach is scalable to "moderately sized" GWAS, a significant improvement over explicit pairwise search methods.
  • Multi-Outcome Generalization: mvMAPIT successfully generalizes the univariate MAPIT method, allowing for a more holistic view of pleiotropy (where one gene affects multiple traits) in the context of epistasis.
  • Software Integration: The package is built with Rcpp and supports parallelization via OpenMP, ensuring that the heavy matrix algebra required for MLMMs is handled efficiently.

Limitations and Future Work

  • Sample Size Constraints: While scalable for variants, Linear Mixed Models still face computational bottlenecks as the number of individuals ($N$) grows into the hundreds of thousands (e.g., UK Biobank scale).
  • Binary Trait Limitations: The binary_to_liability conversion is specifically noted as being most effective for "low prevalence" traits. Its performance on common diseases may require further refinement.
  • Partner Identification: Because this is a marginal test, it identifies which variants are epistatic but not necessarily who they are interacting with. Users must follow up significant hits with explicit pairwise searches (for which the package provides helper functions).

Summary updated

Abstract

Epistasis, commonly defined as the interaction between genetic loci, is known to play an important role in the phenotypic variation of complex traits. As a result, many statistical methods have been developed to identify genetic variants that are involved in epistasis, and nearly all of these approaches carry out this task by focusing on analyzing one trait at a time. Previous studies have shown that jointly modeling multiple phenotypes can often dramatically increase statistical power for association mapping. In this package, we present the 'multivariate MArginal ePIstasis Test' ('mvMAPIT') – a multi-outcome generalization of a recently proposed epistatic detection method which seeks to detect marginal epistasis or the combined pairwise interaction effects between a given variant and all other variants. By searching for marginal epistatic effects, one can identify genetic variants that are involved in epistasis without the need to identify the exact partners with which the variants interact – thus, potentially alleviating much of the statistical and computational burden associated with conventional explicit search based methods. Our proposed 'mvMAPIT' builds upon this strategy by taking advantage of correlation structure between traits to improve the identification of variants involved in epistasis. We formulate 'mvMAPIT' as a multivariate linear mixed model and develop a multi-trait variance component estimation algorithm for efficient parameter inference and P-value computation. Together with reasonable model approximations, our proposed approach is scalable to moderately sized genome-wide association studies. Crawford et al. (2017) &lt;<a href="https://doi.org/10.1371%2Fjournal.pgen.1006869" target="_top">doi:10.1371/journal.pgen.1006869</a>&gt;. Stamp et al. (2023) &lt;<a href="https://doi.org/10.1093%2Fg3journal%2Fjkad118" target="_top">doi:10.1093/g3journal/jkad118</a>&gt;.
BibTeX
@inproceedings{stamp2022mvmapit,
  author = {Julian Stamp and Lorin Crawford},
  title = {{mvMAPIT: Multivariate Genome Wide Marginal Epistasis Test}},
  booktitle = {Openalex Unknown},
  year = {2022},
  doi = {10.32614/cran.package.mvmapit},
}

Loading related content...

Figure