Restricted maximum-likelihood method for learning latent variance components in gene expression data with known and unknown confounders

Muhammad Ammar Malik, Tom Michoel
5/6/2020
stat.MEcs.LGq-bio.GN

Official code: michoel-lab/lvreml (2 stars, Python, GPL-3.0, last commit 2021-12-06).

Abstract

Random effect models are popular statistical models for detecting and correcting spurious sample correlations due to hidden confounders in genome-wide gene expression data. In applications where some confounding factors are known, estimating simultaneously the contribution of known and latent variance components in random effect models is a challenge that has so far relied on numerical gradient-based optimizers to maximize the likelihood function.

Show full abstract

This is unsatisfactory because the resulting solution is poorly characterized and the efficiency of the method may be suboptimal. Here we prove analytically that maximum-likelihood latent variables can always be chosen orthogonal to the known confounding factors, in other words, that maximum-likelihood latent variables explain sample covariances not already explained by known factors. Based on this result we propose a restricted maximum-likelihood method which estimates the latent variables by maximizing the likelihood on the restricted subspace orthogonal to the known confounding factors, and show that this reduces to probabilistic PCA on that subspace. The method then estimates the variance-covariance parameters by maximizing the remaining terms in the likelihood function given the latent variables, using a newly derived analytic solution for this problem. Compared to gradient-based optimizers, our method attains greater or equal likelihood values, can be computed using standard matrix operations, results in latent factors that don't overlap with any known factors, and has a runtime reduced by several orders of magnitude. Hence the restricted maximum-likelihood method facilitates the application of random effect modelling strategies for learning latent variance components to much larger gene expression datasets than possible with current methods.

View on arXivView PDF

Code Implementations(1)

michoel-lab/lvremlOfficial100%
GPL-3.0

Restricted maximum-likelihood method for learning latent variance components

20Python, MATLABDec 8, 20174 years agoGPL-3.0

Similar Papers

Cite this paper

@article{malik2020restricted,
  title  = {Restricted maximum-likelihood method for learning latent variance components in gene expression data with known and unknown confounders},
  author = {Muhammad Ammar Malik and Tom Michoel},
  year   = {2020},
  eprint = {2005.02921},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.02921}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2005.02921.svg)](https://codeofpaper.com/paper/2005.02921)

Discussion