Skip to main content

CellRank - Probabilistic Fate Mapping using RNA Velocity

Project description

PyPI Bioconda Downloads CI CI-Notebooks Documentation Coverage

CellRank - Probabilistic Fate Mapping using RNA Velocity

https://raw.githubusercontent.com/theislab/cellrank/master/resources/images/cellrank_fate_map.png

CellRank is a toolkit to uncover cellular dynamics based on scRNA-seq data with RNA velocity annotation, see La Manno et al. (2018) and Bergen et al. (2020). In short, CellRank models cellular dynamics as a Markov chain, where transition probabilities are computed based on RNA velocity and transcriptomic similarity, taking into account uncertainty in the velocities and the stochastic nature of cell fate decisions. The Markov chain is coarse-grained into a set of macrostates which represent initial and terminal states, as well as transient intermediate states using Generalized Perron Cluster Cluster Analysis (G-PCCA) [GPCCA18], implemented in the novel pyGPCCA package. For each transient cell, i.e. for each cell that’s not assigned to a terminal state, we then compute its fate probability of it reaching any of the terminal states. We show an example of such a fate map in the figure above, which has been computed using the data of pancreatic endocrinogenesis.

CellRank scales to large cell numbers, is fully compatible with scanpy and scvelo and is easy to use. For installation instructions, documentation and tutorials, visit cellrank.org.

Manuscript

Please see our preprint on bioRxiv to learn more.

CellRank’s key applications

  • compute initial & terminal as well as intermediate macrostates of your biological system

  • infer fate probabilities towards the terminal states for each individual cell

  • visualize gene expression trends along specific lineages while accounting for the continuous nature of fate determination

  • identify potential driver genes for each identified cellular trajectory

Installation

Install CellRank by running:

conda install -c conda-forge -c bioconda cellrank
# or with extra libraries, useful for large datasets
conda install -c conda-forge -c bioconda cellrank-krylov

or via PyPI:

pip install cellrank
# or with extra libraries, useful for large datasets
pip install 'cellrank[krylov]'
# or with external modules, see External API
pip install 'cellrank[external]'

Why is it called “CellRank”?

CellRank does not rank cells, we gave the package this name because just like Google’s original PageRank algorithm, it works with Markov chains to aggregate relationships between individual objects (cells vs. websites) to learn about more global properties of the underlying dynamics (initial & terminal states and fate probabilities vs. website relevance).

Support

We welcome your feedback! Feel free to open an issue or send us an email if you encounter a bug, need our help or just want to make a comment/suggestion.

CellRank was developed in collaboration between the Theislab and the Peerlab.

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

cellrank-1.3.0.tar.gz (257.2 kB view details)

Uploaded Source

Built Distribution

cellrank-1.3.0-py3-none-any.whl (215.0 kB view details)

Uploaded Python 3

File details

Details for the file cellrank-1.3.0.tar.gz.

File metadata

  • Download URL: cellrank-1.3.0.tar.gz
  • Upload date:
  • Size: 257.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.9.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for cellrank-1.3.0.tar.gz
Algorithm Hash digest
SHA256 0e50b3b2be06e46631172e0b207017efede637c732bc4a39799222a14161ad14
MD5 50ac1077b3f94abf161846af97144a45
BLAKE2b-256 65bb4d0038b77f1fa3909be86806e4a454ed88216509f836b8b4431fa9777fea

See more details on using hashes here.

File details

Details for the file cellrank-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: cellrank-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 215.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.9.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for cellrank-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e7609bffc0e24f015d37679d11381acb05f8035440300dee2b4182631ed6c094
MD5 24fc55d9b4092193eb9c70158d329912
BLAKE2b-256 f2751b6a80a52dae5a3a9adb5294c3c6ef07d5b62c14ece264923de577cdac18

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