Skip to main content

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.

Metadata

Release files for cosmoDA 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cosmoDA 0.1.0
File Size Uploaded
cosmoda-0.1.0.tar.gz 16.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for cosmoDA 0.1.0
File Interpreter ABI Platform
cosmoda-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.9 MB

Release files / cosmoda-0.1.0.tar.gz

Download URL cosmoda-0.1.0.tar.gz
Size 16.9 MB
Tags Source
SHA-256 checksum
How to use checksums
4f0ea3f077b769d7e4b7ba2d0d8dbc4527417abef0c1db607ea1bda25a3ec39b
BLAKE2b-256 checksum
How to use checksums
91933b93f0e0afb7842e98b140976954efc81423f1199d3c690c5be36e37a530
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.10

Release files / cosmoda-0.1.0-py3-none-any.whl

Download URL cosmoda-0.1.0-py3-none-any.whl
Size 20.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c7b7b70dd76620c251b0a7e14dfc5ae4fcc4b98e35f52db7ac4ca0f96f09390f
BLAKE2b-256 checksum
How to use checksums
3bce03cda7a7bc682a18ff5242c45b2888b3bead640ff7a063cdfbeda1fbce46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.10

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page