scVelo - single-cell RNA velocity generalized to transient cell states¶
scVelo is a scalable toolkit for estimating and analyzing RNA velocities in single cells.
The methods used herein are based on our preprint Bergen et al. (2019).
RNA velocity, the time derivative of mRNA abundance, enables you to infer directionality in your data by superimposing splicing information. The main principles have been presented in La Manno et al. (2018), and are based on a deterministic steady-state model of transcriptional dynamics. scVelo provides two extensions as described in Bergen et al. (2019): A stochastic model that incorporates second-order moments, and a dynamical model that captures the full splicing kinetics. It thereby adapts RNA velocity to widely varying specifications such as non-stationary populations.
It is compatible with scanpy (Wolf et al., 2018). Making use of sparse implementation, iterative neighbors search and other techniques, it is remarkably efficient in terms of memory and runtime without loss in accuracy and runs easily on your local machine (30k cells in a few minutes).
Report issues and see the code on GitHub.