Skip to main content

Cell DISentangled Experts for Covariate counTerfactuals (CellDISECT). Causal generative model designed to disentangle known covariate variations from unknown ones at test time while simultaneously learning to make counterfactual predictions.

Project description

Cell DISentangled Experts for Covariate counTerfactuals (CellDISECT)

Causal generative model designed to disentangle known covariate variations from unknown ones at test time while simultaneously learning to make counterfactual predictions.

Installation

Prerequisites

Conda Environment

We recommend using Anaconda/Miniconda to create a conda environment for using CellDISECT. You can create a python environment using the following command:

conda create -n CellDISECT python=3.9

Then, you can activate the environment using:

conda activate CellDISECT
  • Install pytorch (This version of CellDISECT is tested with pytorch 2.1.2 and cuda 12, install the appropriate version of pytorch for your system.)
conda install pytorch==2.1.2 torchvision==0.16.2 torchaudio==2.1.2 pytorch-cuda=12.1 -c pytorch -c nvidia
  • (Optional) if you plan to use RAPIDS/rapids-singlecell:
pip install \
    --extra-index-url=https://pypi.nvidia.com \
    cudf-cu12==24.4.* dask-cudf-cu12==24.4.* cuml-cu12==24.4.* \
    cugraph-cu12==24.4.* cuspatial-cu12==24.4.* cuproj-cu12==24.4.* \
    cuxfilter-cu12==24.4.* cucim-cu12==24.4.* pylibraft-cu12==24.4.* \
    raft-dask-cu12==24.4.* cuvs-cu12==24.4.*

pip install rapids-singlecell
  • Install the latest version of CellDISECT
pip install git+https://github.com/Lotfollahi-lab/CellDISECT
  • (Optional) to install cuda enabled jax:
pip install -U "jax[cuda12_pip]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html

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

celldisect-0.1.0.tar.gz (29.4 kB view details)

Uploaded Source

Built Distribution

celldisect-0.1.0-py3-none-any.whl (31.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: celldisect-0.1.0.tar.gz
  • Upload date:
  • Size: 29.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.9.18 Linux/6.8.0-49-generic

File hashes

Hashes for celldisect-0.1.0.tar.gz
Algorithm Hash digest
SHA256 891ee2c1967a5c11c4ff107e322ff8909657537aca23337eca355b300a184dba
MD5 f23cbec36f6a08104f7ba39c17210418
BLAKE2b-256 4213eaab6621964e2958173de34b4a5064f8cadcb5b48f78e760f8e3f66b3708

See more details on using hashes here.

File details

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

File metadata

  • Download URL: celldisect-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 31.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.9.18 Linux/6.8.0-49-generic

File hashes

Hashes for celldisect-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff615e983c016a6bd266cba6eb4a9681a3805a921b2bf2840d0044178c4f1c7c
MD5 61477eb05fabc4906214bfef09e50df6
BLAKE2b-256 d9103ea73d3de2d3f07bf6ac74e18ad2de6d0bb333a2ff1165e4c2a6dc6a13c7

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