Skip to main content

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

Project description

scdiffeq_logo

PyPI pyversions PyPI version Code style: black

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
from neural_diffeqs import NeuralSDE

model = sdq.models.scDiffEq(
    adata, func=NeuralSDE(state_size=50, mu_hidden=[400, 400], sigma_hidden=[400, 400])
)
model.fit()

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.0.49.tar.gz (84.9 kB view details)

Uploaded Source

Built Distribution

scdiffeq-0.0.49-py3-none-any.whl (132.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scdiffeq-0.0.49.tar.gz
  • Upload date:
  • Size: 84.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for scdiffeq-0.0.49.tar.gz
Algorithm Hash digest
SHA256 3864b7cc579e8d47be88c37c7fafb7185587c84c21c4ebf08e50535131943b77
MD5 bc81666ed2f241be5e83a7deaca43bde
BLAKE2b-256 1ba71728d64165035418155b5df497917b0b5f423649ef8bdd3a7f348b23c742

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scdiffeq-0.0.49-py3-none-any.whl
  • Upload date:
  • Size: 132.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for scdiffeq-0.0.49-py3-none-any.whl
Algorithm Hash digest
SHA256 58d5bbd9fafb529414ce121e319438b912f1ba9956078c8809872f75674e6a01
MD5 95597abd595630e0a12a7e537f055c43
BLAKE2b-256 4ee4689d15d8864f5519e37008f5707554ad7296ad63fadb6606f0055f0a0074

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