Skip to main content

Factor Analysis Models

Project description

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 release of MOFA-FLEX from PyPI:
pip install mofaflex
  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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mofaflex-0.1.0rc2.tar.gz (21.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mofaflex-0.1.0rc2-py3-none-any.whl (102.3 kB view details)

Uploaded Python 3

File details

Details for the file mofaflex-0.1.0rc2.tar.gz.

File metadata

  • Download URL: mofaflex-0.1.0rc2.tar.gz
  • Upload date:
  • Size: 21.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mofaflex-0.1.0rc2.tar.gz
Algorithm Hash digest
SHA256 c66f7d36a161e4d13fc03f269aadc99cd443a8564ae660096f48e6ef956fef37
MD5 2b47be8df92495f5f9afb501a2e2e2e9
BLAKE2b-256 b48b4de18d60475392588f6e2cbfb35deedd551fd47f0217f98d1f946c89fc4c

See more details on using hashes here.

Provenance

The following attestation bundles were made for mofaflex-0.1.0rc2.tar.gz:

Publisher: release.yaml on bioFAM/mofaflex

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mofaflex-0.1.0rc2-py3-none-any.whl.

File metadata

  • Download URL: mofaflex-0.1.0rc2-py3-none-any.whl
  • Upload date:
  • Size: 102.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mofaflex-0.1.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 037ed4b9b64636542f078055c0101b4dc553e7db59d9ff73e9822439c94a8026
MD5 cea4ebdb7b1111aca9f3aa52e2cfdf72
BLAKE2b-256 d3d5a3d83310878019f5fb40a666988fbcd3577dfc30b50fce7238c8601387c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for mofaflex-0.1.0rc2-py3-none-any.whl:

Publisher: release.yaml on bioFAM/mofaflex

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page