dpeerlab / Palantir

Single cell trajectory detection
https://palantir.readthedocs.io
GNU General Public License v2.0
203 stars 45 forks source link
cell-fate-transitions differentiation diffusion-maps dimensionality-reduction manifold-learning markov-chain scrna-seq scrna-seq-analysis single-cell-genomics trajectory-generation

PyPI version codecov

Palantir

Palantir is an algorithm to align cells along differentiation trajectories. Palantir models differentiation as a stochastic process where stem cells differentiate to terminally differentiated cells by a series of steps through a low dimensional phenotypic manifold. Palantir effectively captures the continuity in cell states and the stochasticity in cell fate determination. Palantir has been designed to work with multidimensional single cell data from diverse technologies such as Mass cytometry and single cell RNA-seq.

Installation

Palantir has been implemented in Python3 and can be installed using:

Using pip

pip install palantir

Using conda, mamba, or micromamba from the bioconda channel

You can also install Palantir via conda, mamba, or micromamba from the bioconda channel:

Using conda

conda install -c conda-forge -c bioconda palantir

Using mamba

mamba install -c conda-forge -c bioconda palantir

Using micromamba

micromamba install -c conda-forge -c bioconda palantir

These methods ensure that all dependencies are resolved and installed efficiently.

Usage

A tutorial on Palantir usage and results visualization for single cell RNA-seq data can be found in this notebook: https://github.com/dpeerlab/Palantir/blob/master/notebooks/Palantir_sample_notebook.ipynb

More tutorials and a documentation of all the Palantir components can be found here: https://palantir.readthedocs.io

Processed data and metadata

scanpy anndata objects are available for download for the three replicates generated in the manuscript:

This notebook details how to use the data in Python and R: https://github.com/dpeerlab/Palantir/blob/master/notebooks/manuscript_data.ipynb

Comparison to trajectory detection algorithms

Notebooks detailing the generation of results comparing Palantir to trajectory detection algorithms are available here

Citations

Palantir manuscript is available from Nature Biotechnology. If you use Palantir for your work, please cite our paper.

    @article{Palantir_2019,
            title = {Characterization of cell fate probabilities in single-cell data with Palantir},
            author = {Manu Setty and Vaidotas Kiseliovas and Jacob Levine and Adam Gayoso and Linas Mazutis and Dana Pe'er},
            journal = {Nature Biotechnology},
            year = {2019},
            month = {march},
            url = {https://doi.org/10.1038/s41587-019-0068-4},
            doi = {10.1038/s41587-019-0068-4}
    }

Release Notes

Version 1.3.4rc

Version 1.1.0

Version 1.0.0

Version 0.2.6

Version 0.2.5