Single-cell Variational Inference
Project description
scVI
Single-cell Variational Inference
Free software: MIT license
Documentation: https://scvi.readthedocs.io.
Quick Start
Install Python 3.6 or later. We typically use the Miniconda Python distribution.
Install PyTorch. If you have an Nvidia GPU, be sure to install a version of PyTorch that supports it – scVI runs much faster with a discrete GPU.
Install scvi through conda (conda install scvi -c bioconda) or through pip (pip install scvi). Alternatively, you may clone this repository and manually install the dependencies listed in setup.py.
Refer to this Jupyter notebook to see how to import datasets into scVI.
Refer to this Jupyter notebook to see how to train the scVI model, impute missing data, detect differential expression, and more!
Benchmarks
To recreate the results appearing in the paper referenced below, run
python ./run_benchmarks.py --dataset=cortex
Valid choices for --dataset include synthetic, cortex, brain_large, retina, cbmc, hemato, and pbmc. You may also specify an arbitrary .loom, .h5ad (AnnData), or .csv file.
References
Romain Lopez, Jeffrey Regier, Michael B Cole, Michael Jordan, Nir Yosef. “Bayesian Inference for a Generative Model of Transcriptome Profiles from Single-cell RNA Sequencing.” In submission. Preprint available at https://www.biorxiv.org/content/early/2018/03/30/292037
History
0.1.0 (2018-06-12) 0.1.1 (2018-06-14) 0.1.2 (2018-06-16) ——————
First release on PyPI.
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.