Skip to main content

A Dirichlet-Multinomial approach to identify compositional changes in count data.

Project description

scCODA - Single-cell differential composition analysis

scCODA allows for identification of compositional changes in high-throughput sequencing count data, especially cell compositions from scRNA-seq. It also provides a framework for integration of cell-type annotated data directly from scanpy and other sources. Aside from the scCODA model (Büttner, Ostner et al (2021)), the package also allows the easy application of other differential testing methods.

scCODA

The statistical methodology and benchmarking performance are described in:

Büttner, Ostner et al (2021). scCODA is A Bayesian model for compositional single-cell data analysis (Nature Communications)

Code for reproducing the analysis from the paper is available here.

For further information on the scCODA package and model, please refer to the documentation and the tutorials.

Installation

Running the package requires a working Python environment (>=3.8).

This package uses the tensorflow (>=2.4) and tensorflow-probability (>=0.12) packages. The GPU computation features of these packages have not been tested with scCODA and are thus not recommended.

To install scCODA via pip, call:

pip install sccoda

To install scCODA from source:

  • Navigate to the directory that you want to install scCODA in

  • Clone the repository from Github (https://github.com/theislab/scCODA):

    git clone https://github.com/theislab/scCODA

  • Navigate to the root directory of scCODA:

    cd scCODA

  • Install dependencies::

    pip install -r requirements.txt

  • Install the package:

    python setup.py install

Docker container:

We provide a Docker container image for scCODA (https://hub.docker.com/repository/docker/wollmilchsau/scanpy_sccoda).

Usage

Import scCODA in a Python session via:

import sccoda

Tutorials

scCODA provides a number of tutorials for various purposes. Please also visit the documentation for further information on the statistical model, data structure and API.

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

scCODA-0.1.6.tar.gz (11.5 MB view details)

Uploaded Source

Built Distribution

scCODA-0.1.6-py3-none-any.whl (42.1 kB view details)

Uploaded Python 3

File details

Details for the file scCODA-0.1.6.tar.gz.

File metadata

  • Download URL: scCODA-0.1.6.tar.gz
  • Upload date:
  • Size: 11.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0.post20201207 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.5

File hashes

Hashes for scCODA-0.1.6.tar.gz
Algorithm Hash digest
SHA256 ebabd4a86f395a8c03a4440dbfd484cca9848c5dc86b0e11a96cf85c6c2f4c98
MD5 6ebd088392d62d694f38ab325e0e58d2
BLAKE2b-256 a37932bf43df13817ca6dc05eb1a30b3094f7ebf4255912d90da7c034425a1d6

See more details on using hashes here.

File details

Details for the file scCODA-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: scCODA-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 42.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0.post20201207 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.5

File hashes

Hashes for scCODA-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 a51e5a2f237e29698d13fb3ccd8f66601b5cfbeb6e6fa0e597e411e786059745
MD5 07cd1c35a8628b394fee9c07c92c3b5c
BLAKE2b-256 0895a2a68297d52747c80bcb7cbf209095f47a221cdc311b643939afd11a93bf

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