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 (2020)), the package also allows the easy application of other differential testing methods.
The statistical methodology and benchmarking performance are described in:
Büttner, Ostner et al (2020). scCODA: A Bayesian model for compositional single-cell data analysis (BioRxiv)
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.7).
This package uses the tensorflow
(==2.3.2
) and tensorflow-probability
(==0.11.0
) 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
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.
-
The "getting started" tutorial provides a quick-start guide for using scCODA.
-
In the advanced tutorial, options for model specification, diagnostics, and result interpretation are disccussed.
-
The data import and visualization tutorial focuses on loading data from different sources and visualizing their characteristics.
-
The tutorial on other methods explains how to apply other methods for differential abundance testing from within scCODA.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file scCODA-0.1.2.post1.tar.gz
.
File metadata
- Download URL: scCODA-0.1.2.post1.tar.gz
- Upload date:
- Size: 12.1 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1712a3afd232b1efde96b53ed4a8c1355d21d43159682f929f110d931220b138 |
|
MD5 | 1c9ec4d7b0a3069f0e938e6b69c72085 |
|
BLAKE2b-256 | 81d35204fbf5f3075082d541d1257528d60227210ce377de9ef62b073087711f |
File details
Details for the file scCODA-0.1.2.post1-py3-none-any.whl
.
File metadata
- Download URL: scCODA-0.1.2.post1-py3-none-any.whl
- Upload date:
- Size: 33.4 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee5df68ba77a4122c029911724556bd2e8d5b3c54ccecbfc2c4922242eee0e6b |
|
MD5 | 41c0fc086fe9d1cfffec3179046bfcca |
|
BLAKE2b-256 | 01a893489f8bce2d21e03c69cfd83fc6209a35701d86ba93200245ec8916d293 |