Cargando…

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

Random effects 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 varia...

Descripción completa

Detalles Bibliográficos
Autores principales: Malik, Muhammad Ammar, Michoel, Tom
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Oxford University Press 2021
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9210293/
https://www.ncbi.nlm.nih.gov/pubmed/34864982
http://dx.doi.org/10.1093/g3journal/jkab410
_version_ 1784730135969136640
author Malik, Muhammad Ammar
Michoel, Tom
author_facet Malik, Muhammad Ammar
Michoel, Tom
author_sort Malik, Muhammad Ammar
collection PubMed
description Random effects 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 effects models is a challenge that has so far relied on numerical gradient-based optimizers to maximize the likelihood function. 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 (REML) method that 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 principal component analysis 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 do not overlap with any known factors, and has a runtime reduced by several orders of magnitude. Hence, the REML method facilitates the application of random effects modeling strategies for learning latent variance components to much larger gene expression datasets than possible with current methods.
format Online
Article
Text
id pubmed-9210293
institution National Center for Biotechnology Information
language English
publishDate 2021
publisher Oxford University Press
record_format MEDLINE/PubMed
spelling pubmed-92102932022-06-21 Restricted maximum-likelihood method for learning latent variance components in gene expression data with known and unknown confounders Malik, Muhammad Ammar Michoel, Tom G3 (Bethesda) Investigation Random effects 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 effects models is a challenge that has so far relied on numerical gradient-based optimizers to maximize the likelihood function. 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 (REML) method that 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 principal component analysis 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 do not overlap with any known factors, and has a runtime reduced by several orders of magnitude. Hence, the REML method facilitates the application of random effects modeling strategies for learning latent variance components to much larger gene expression datasets than possible with current methods. Oxford University Press 2021-12-01 /pmc/articles/PMC9210293/ /pubmed/34864982 http://dx.doi.org/10.1093/g3journal/jkab410 Text en © The Author(s) 2021. Published by Oxford University Press on behalf of Genetics Society of America. https://creativecommons.org/licenses/by/4.0/This is an Open Access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted reuse, distribution, and reproduction in any medium, provided the original work is properly cited.
spellingShingle Investigation
Malik, Muhammad Ammar
Michoel, Tom
Restricted maximum-likelihood method for learning latent variance components in gene expression data with known and unknown confounders
title Restricted maximum-likelihood method for learning latent variance components in gene expression data with known and unknown confounders
title_full Restricted maximum-likelihood method for learning latent variance components in gene expression data with known and unknown confounders
title_fullStr Restricted maximum-likelihood method for learning latent variance components in gene expression data with known and unknown confounders
title_full_unstemmed Restricted maximum-likelihood method for learning latent variance components in gene expression data with known and unknown confounders
title_short Restricted maximum-likelihood method for learning latent variance components in gene expression data with known and unknown confounders
title_sort restricted maximum-likelihood method for learning latent variance components in gene expression data with known and unknown confounders
topic Investigation
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9210293/
https://www.ncbi.nlm.nih.gov/pubmed/34864982
http://dx.doi.org/10.1093/g3journal/jkab410
work_keys_str_mv AT malikmuhammadammar restrictedmaximumlikelihoodmethodforlearninglatentvariancecomponentsingeneexpressiondatawithknownandunknownconfounders
AT michoeltom restrictedmaximumlikelihoodmethodforlearninglatentvariancecomponentsingeneexpressiondatawithknownandunknownconfounders