Skip to content

AllonKleinLab/cospar

Repository files navigation

PyPI PyPIDownloads Docs

CoSpar - dynamic inference by integrating state and lineage information

🔴 🔴 Notice: Package relocation 🔴 🔴

Effective on April 1st 2023, Shou-Wen Wang is leaving the Klein lab to start his own group at Westlake University, and he will no longer maintain this repository. Further development of CoSpar will continue in his own lab under this respository https://github.com/ShouWenWang-Lab/cospar. Please reach out there for any issues related to CoSpar.


https://user-images.githubusercontent.com/4595786/104988296-b987ce00-59e5-11eb-8dbe-a463b355a9fd.png

CoSpar is a toolkit for dynamic inference from lineage-traced single cells. The methods are based on Wang et al. Nat. Biotech. (2022).

Dynamic inference based on single-cell state measurement alone requires serious simplifications. On the other hand, direct dynamic measurement via lineage tracing only captures partial information and its interpretation is challenging. CoSpar integrates both state and lineage information to infer a finite-time transition map of a development/differentiation system. It gains superior robustness and accuracy by exploiting both the local coherence and sparsity of differentiation transitions, i.e., neighboring initial states share similar yet sparse fate outcomes. Building around the anndata object, CoSpar provides an integrated analysis framework for datasets with both state and lineage information. When only state information is available, CoSpar also improves upon existing dynamic inference methods by imposing sparsity and coherence. It offers essential toolkits for analyzing lineage data, state information, or their integration.

See https://cospar.readthedocs.io for documentation and tutorials.

Recorded talks

Jun 1: Single-Cell Data Science 2022. This is a 20-min short talk focusing more on the utility of CoSpar: talk video

Oct 19, 2022: Invited MIA talk at Broad Institute. This is an one-hour talk focusing on the Machine Learning part of CoSpar: talk video. The talk slides can be found here.

Reference

S.-W. Wang*, M. Herriges, K. Hurley, D. Kotton, A. M. Klein*, CoSpar identifies early cell fate biases from single cell transcriptomic and lineage information, Nat. Biotech. (2022). [* corresponding authors]

Support

Feel free to submit an issue or send us an email. Your help to improve CoSpar is highly appreciated.