gWOT
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file gwot-0.0.12.tar.gz
.
File metadata
- Download URL: gwot-0.0.12.tar.gz
- Upload date:
- Size: 19.2 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e6e47e37d49047def1a7851b955b3d0bd3b51f700e68159fbec7693838ca57f |
|
MD5 | 69e3ddd992f8d87705c792f99b356d47 |
|
BLAKE2b-256 | 1bb4ddb46bd2144d73b58fe673a1301d113005ab50150ecb099f53acbf8045a1 |
File details
Details for the file gwot-0.0.12-py3-none-any.whl
.
File metadata
- Download URL: gwot-0.0.12-py3-none-any.whl
- Upload date:
- Size: 21.5 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 560766cb217b257f0821efb9ca06b798173890e147efc6f16403e065e0a463b4 |
|
MD5 | b6c87e50f999a43cf7111fc54d5c6cca |
|
BLAKE2b-256 | 527293aa0e5b8402dc6814b18bed894663e62bdb39bb95f976eef86848d9666c |