gWOT: Global Waddington-OT
Principled trajectory inference for time-series data with limited samples by optimal transport.
Important: this README is currently under construction. Check back soon!
Introduction
Global Waddington-OT (gWOT) is a trajectory inference method for time-series data based on optimal transport (OT). Given a time-series of snapshot data, gWOT aims to estimate trajectory information in the form of a probability distribution over possible trajectories taken by cells.
As an example, we illustrate below a ground truth process where cell trajectories are known exactly (green). From this, independent snapshots are sampled at various temporal instants, each with limited sample resolution (red). From these data, gWOT aims to reconstruct trajectories as a law on paths (blue).
The underlying model assumption on which gWOT is based is that the generative process is a drift-diffusion process with branching, in which the evolution of any cell over an infinitesimal time is described by the stochastic differential equation (SDE)
.
Cells in this process also divide and die at rates beta(x, t) and delta(x, t) respectively.
Installation
To install, use pip install gwot.
Alternatively, clone this repository and cd gWOT && pip install .
Example application: bistable landscape with branching
Paper
This code accompanies the paper (arXiv link)
Lavenant, H., Zhang, S., Kim, Y., & Schiebinger, G. (2021). Towards a mathematical theory of trajectory inference.
Metadata
Release files for gwot 0.0.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| gwot-0.0.12.tar.gz | 19.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gwot-0.0.12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.7 kB
Release files / gwot-0.0.12.tar.gz
| Download URL | gwot-0.0.12.tar.gz |
|---|---|
| Size | 19.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e6e47e37d49047def1a7851b955b3d0bd3b51f700e68159fbec7693838ca57f
|
|
BLAKE2b-256 checksum How to use checksums |
1bb4ddb46bd2144d73b58fe673a1301d113005ab50150ecb099f53acbf8045a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200529 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.6
|
Release files / gwot-0.0.12-py3-none-any.whl
| Download URL | gwot-0.0.12-py3-none-any.whl |
|---|---|
| Size | 21.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
560766cb217b257f0821efb9ca06b798173890e147efc6f16403e065e0a463b4
|
|
BLAKE2b-256 checksum How to use checksums |
527293aa0e5b8402dc6814b18bed894663e62bdb39bb95f976eef86848d9666c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200529 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.6
|
Security for gwot 0.0.12
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.