scDiffEq: modeling single-cell dynamics using neural differential equations.
Project description
An analysis framework for modeling dynamical single-cell data with neural differential equations, most notably stochastic differential equations allow us to build generative models of single-cell dynamics.
Quickstart
Please see the scDiffEq website for a quickstart notebook: link
Install the development package
Install generally only takes a few seconds.
Using uv (recommended)
git clone https://github.com/scDiffEq/scDiffEq.git; cd ./scDiffEq;
# Install uv if you haven't already: curl -LsSf https://astral.sh/uv/install.sh | sh
uv sync
Using pip
git clone https://github.com/scDiffEq/scDiffEq.git; cd ./scDiffEq;
pip install -e .
With documentation dependencies
# Using uv
uv sync --extra docs
# Using pip
pip install -e ".[docs]"
Main API
import scdiffeq as sdq
model = sdq.scDiffEq(adata=adata)
model.fit(train_epochs = 1500)
Built on
System requirements
- Developed on linux20.04 and MacOS (with Apple Silicon), using Python3.11.
- Software dependencies are listed in pyproject.toml.
- Tested with NVIDIA GPUs (A100, T4) and Apple Silicon. Most datasets likely only require an NVIDIA Tesla T4 (free in Google Colab).
Reproducibility
- All results described in the manuscript detailing scDiffEq can be reproduced using notebooks in the companion repository: scdiffeq-analyses
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scdiffeq-1.1.0.tar.gz.
File metadata
- Download URL: scdiffeq-1.1.0.tar.gz
- Upload date:
- Size: 4.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8087e53e4748d0bbdd087119b49f9e89816a7c94c02e80413579a62102363257
|
|
| MD5 |
b2cd7a1685c34504d08cf52b50a35759
|
|
| BLAKE2b-256 |
8f7446883a47c53e3dfdb9c5dfd92646cc7d24c0338217c1f07cc45a980df0ba
|
File details
Details for the file scdiffeq-1.1.0-py3-none-any.whl.
File metadata
- Download URL: scdiffeq-1.1.0-py3-none-any.whl
- Upload date:
- Size: 194.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b657d90c3ca0269330b803ff387a93dc55d24deae95b4872a19c78af7bd4072
|
|
| MD5 |
eeca1fe125ae238ebe83a1190b415e79
|
|
| BLAKE2b-256 |
1d54c1238699e58856e62d0ecf7936df12d0e68723a3329d8a34ae6a21b0e43c
|