Skip to main content

CoSpar: integrating state and lineage information for dynamic inference

Project description

PyPI PyPIDownloads Docs

CoSpar - dynamic inference by integrating state and lineage information

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 for documentation and tutorials.


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]


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

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

cospar-0.3.3.tar.gz (53.4 MB view hashes)

Uploaded source

Built Distribution

cospar-0.3.3-py3-none-any.whl (122.4 kB view hashes)

Uploaded py3

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