Skip to main content

CoSpar - dynamic inference by integrating state and lineage information

Python PyPIDownloads PyPI Conda Docs

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.

Community usage

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.

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.

Metadata

Release files for cospar 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cospar 0.6.0
File Size Uploaded Provenance Actions
cospar-0.6.0.tar.gz 106.2 kB Without provenance Details for cospar-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cospar 0.6.0
File Interpreter ABI Platform Actions
cospar-0.6.0-py3-none-any.whl Python 3 none any Details for cospar-0.6.0-py3-none-any.whl

Total release size: 227.7 kB

Release files / cospar-0.6.0.tar.gz

Download URL cospar-0.6.0.tar.gz
Size 106.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4b9eb483935d3f7a83a908e56ff7e05b57657d855d14f550f9b3aa3e9ff73574
BLAKE2b-256 checksum
How to use checksums
853cb7b34b86dbec7bd7728f3f5a5380cad1a3c2df79661d696e3b86bccfcff8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.2 CPython/3.13.12 Darwin/25.6.0

Release files / cospar-0.6.0-py3-none-any.whl

Download URL cospar-0.6.0-py3-none-any.whl
Size 121.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d046ca48dc71ac0347e69ead7dd66dcdb1ed3a11cf97a822653440550442e9f
BLAKE2b-256 checksum
How to use checksums
d13e1a36e8b3b5bac32750d00c414b1f74b657dec8e3ed7e8fcaaa6dce95478c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.2 CPython/3.13.12 Darwin/25.6.0

Security for cospar 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page