Skip to content

bioFAM/mofaflex

Folders and files

NameName
Last commit message
Last commit date
Apr 24, 2025
Apr 24, 2025
Apr 24, 2025
Apr 24, 2025
Apr 15, 2025
Apr 24, 2025
Mar 25, 2025
Apr 24, 2025
Apr 28, 2025
Mar 25, 2025
Mar 25, 2025
Mar 28, 2025
Apr 14, 2025
Apr 8, 2025
Apr 24, 2025

Repository files navigation

MOFA-FLEX

Tests codecov Documentation

graphical abstract

MOFA-FLEX is a versatile factor analysis framework designed to streamline the construction and training of complex matrix factorisation models for omics data. MOFA-FLEX is a probabilistic programming-based Bayesian factor analysis framework that integrates concepts from multiple existing methods while remaining modular and extensible. It generalises widely used matrix factorisation tools by incorporating flexible prior options (including structured sparsity priors for multi-omics data and covariate-informed priors for spatio-temporal data), non-negativity constraints, and diverse data likelihoods - allowing users to mix and match components to suit their specific needs. Additionally, MOFA-FLEX introduces a novel module for integrating prior biological knowledge in the form of gene sets or, more generally, variable sets, enabling the inference of interpretable latent factors linked to specific molecular programs.

Getting started

Please refer to the documentation. In particular, the

Installation

You need to have Python 3.11 or newer installed on your system. If you don't have Python installed, we recommend installing Micromamba.

There are several alternative options to install MOFA-FLEX:

  1. Install the latest development version:
pip install git+https://github.com/bioFAM/mofaflex.git@main

Release notes

See the changelog.

Contact

For questions and help requests, you can reach out in the discussions. If you found a bug, please use the issue tracker.

Citation

t.b.a