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.8) and tensorflow-probability (>=0.16) 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.9.tar.gz (11.4 MB view details)

Uploaded Source

Built Distribution

scCODA-0.1.9-py3-none-any.whl (36.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scCODA-0.1.9.tar.gz
  • Upload date:
  • Size: 11.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.10 tqdm/4.64.0 importlib-metadata/4.11.4 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.13

File hashes

Hashes for scCODA-0.1.9.tar.gz
Algorithm Hash digest
SHA256 786692a5ca546985583784179a6b2d535a54b37b30892fb9e264c5e854585dac
MD5 84580159db7e7eb88ac56dfad78d0477
BLAKE2b-256 adca8fc871aaf98d472810d60e29c097223c14975bf115e92c1b01aea2d40415

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scCODA-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 36.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.10 tqdm/4.64.0 importlib-metadata/4.11.4 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.13

File hashes

Hashes for scCODA-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 5f48321bf951fcc8f3bb0c9a033b19cd00df030a2690f42fa1401fd9d10dfd35
MD5 d0db219400fc73387318fe63371ba9b3
BLAKE2b-256 35e94f1ebf9efa3d0f34c6d2423ddbfa22c1a86ec2f9495af10ed49c0d3a35ae

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