/deltaTopic

Topic models for single-cell genomics

Primary LanguagePython

PyPi Docs

DeltaTopic: Dynamically-Encoded Latent Transcriptomic pattern Analysis by Topic modeling

This is a project repository for the paper

Summary

Building a comprehensive topic model has become an important research tool in single-cell genomics. With a topic model, we can decompose and ascertain distinctive cell topics shared across multiple cells, and the gene programs implicated by each topic can later serve as a predictive model in translational studies. Here, we present a Bayesian topic model that can uncover short-term RNA velocity patterns from a plethora of spliced and unspliced single-cell RNA-seq counts. We showed that modeling both types of RNA counts can improve robustness in statistical estimation and reveal new aspects of dynamic changes that can be missed in static analysis. We showcase that our modeling framework can be used to identify statistically-significant dynamic gene programs in pancreatic cancer data. Our results discovered that seven dynamic gene programs (topics) are highly correlated with cancer prognosis and generally enrich immune cell types and pathways.

Installation

DeltaTopic requires Python 3.8 or later. We recommend to use Miniconda.

Install DeltaTopic from PyPI using:

pip install DeltaTopic

To work with the latest development version, install from GitHub using:

python3 -m pip install git+https://github.com/causalpathlab/DeltaTopic

For full documentation, please refer to Documentation