Skip to main content

scDiffEq: modelling 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.46rc0.tar.gz (51.9 kB view details)

Uploaded Source

Built Distribution

scdiffeq-0.0.46rc0-py3-none-any.whl (87.3 kB view details)

Uploaded Python 3

File details

Details for the file scdiffeq-0.0.46rc0.tar.gz.

File metadata

  • Download URL: scdiffeq-0.0.46rc0.tar.gz
  • Upload date:
  • Size: 51.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for scdiffeq-0.0.46rc0.tar.gz
Algorithm Hash digest
SHA256 7f5f459dbc417dc9c439f3d4a652b7a66fd14fd3342427e30ab77473b5e2913c
MD5 fb54503a96fadcdb96b2596d70ea9e2a
BLAKE2b-256 8cfc78482f76b865dd398f0a5c77e9f1c1eeeda19b744145204cb59d27dead9e

See more details on using hashes here.

File details

Details for the file scdiffeq-0.0.46rc0-py3-none-any.whl.

File metadata

File hashes

Hashes for scdiffeq-0.0.46rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 a1fcf734845420bac39c7cb0539123d2eb2ec35b6ef2075f7d25731c4486d18a
MD5 5da2e96d8fee1c5252fbf9666c1a8515
BLAKE2b-256 4b4da0175abe15c7b6e66ace8a34129768caf73fe582ef4df5670d6afaddf93d

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