Skip to main content

Compositional Score Matching Optimization for Differential Abundance Testing

Project description

cosmoDA - Compositional Score Matching Optimization for Differential Abundance Testing

cosmoDA

This repository contains the cosmoDA model (Ostner et al., 2024), as well as a Python interface to the score matching estimator for power interaction models in the genscore R package (Yu et al., 2024). It also contains all code needed to reproduce the analyses in the publication (TODO).

For usage info, please refer to the tutorial.

Raw and intermediate data objects can be downloaded on zenodo. Simply download the data directory from there and unpack it in the cosmoDA directory.

Installation

TODO

Usage

TODO

Repository structure

This repository is structured as follows:

  • The cosmoDA directory contains the python code to run the cosmoDA or genscore models.
  • The src directory contains the C code from genscore, as well as its extension from the cosmoDA model.
  • The simulation and applications directories contain the simulated and real data applications from the paper, respectively.
  • The misc directory contains code for supplementary and concept figures.
  • The figures directory contains all generated figures.

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

cosmoda-0.1.0.tar.gz (16.9 MB view details)

Uploaded Source

Built Distribution

cosmoda-0.1.0-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file cosmoda-0.1.0.tar.gz.

File metadata

  • Download URL: cosmoda-0.1.0.tar.gz
  • Upload date:
  • Size: 16.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for cosmoda-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4f0ea3f077b769d7e4b7ba2d0d8dbc4527417abef0c1db607ea1bda25a3ec39b
MD5 9bb18da98d8e09bab93276e94525411a
BLAKE2b-256 91933b93f0e0afb7842e98b140976954efc81423f1199d3c690c5be36e37a530

See more details on using hashes here.

File details

Details for the file cosmoda-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: cosmoda-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for cosmoda-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c7b7b70dd76620c251b0a7e14dfc5ae4fcc4b98e35f52db7ac4ca0f96f09390f
MD5 45e061e0d6613df6349a7c7aa065cc2e
BLAKE2b-256 3bce03cda7a7bc682a18ff5242c45b2888b3bead640ff7a063cdfbeda1fbce46

See more details on using hashes here.

Supported by

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