Skip to main content

scDiffEq: modeling single-cell dynamics using neural differential equations.

Project description

scdiffeq_logo

PyPI pyversions PyPI version Code style: black Documentation Status

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.

Install the development package:

git clone https://github.com/mvinyard/sc-neural-diffeqs.git; cd ./sc-neural-diffeqs;

pip install -e .

Main API

import scdiffeq as sdq

model = sdq.scDiffEq(
    adata=adata, potential_type="fixed", train_lr=1e-4, train_step_size=1200
)
model.fit(train_epochs = 1500)

Built on:

pytorch_logopytorch_lightning_logo neural_diffeqs_logo

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

scdiffeq-0.1.0.tar.gz (94.6 kB view details)

Uploaded Source

Built Distribution

scdiffeq-0.1.0-py3-none-any.whl (151.7 kB view details)

Uploaded Python 3

File details

Details for the file scdiffeq-0.1.0.tar.gz.

File metadata

  • Download URL: scdiffeq-0.1.0.tar.gz
  • Upload date:
  • Size: 94.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for scdiffeq-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a3452a6d59568933835924dd8e7a14ec8947579b56ece90c50e7b9f27719eecf
MD5 6de42e0b4892a1fa37f2a3c92f0c4494
BLAKE2b-256 24633e94cc46d765dfd5adfec9f87429167aefff220eb94a10055e80acc1705c

See more details on using hashes here.

File details

Details for the file scdiffeq-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: scdiffeq-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 151.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for scdiffeq-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e903c8a861200a177171581c2bd590677036404d0f6b1d27dadc83f30705a6fe
MD5 37faeb026d9e9feddf0fcd7c0802a300
BLAKE2b-256 07189f9fdafc0e3499b488968eff542c8ac2e41890fb8c1cb7926a1a612f1d55

See more details on using hashes here.

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