Skip to main content

scresid

Single-cell perturbation prediction with residual connections across cell types.

Experiments were executed on NVIDIA A40 of 46068MiB memory in linux with torch==2.1.0+cu121.

Overview

The scresid is a single-cell gene expression perturbation response prediction model based on Efficient-VDVAE. Its core logic is to use a residual connection module composed of LayerNorm, which is then applied to a variational autoencoder (VAE) to learn the residual loss of low dimensional hidden layers. The high-dimensional sparse gene expression data is mapped to a low dimensional latent space, and the optimal transport technique based on the Sinkhorn algorithm is used to match the cells before and after perturbation, thereby obtaining paired latent representations and corresponding perturbation vectors. Subsequently, the model calculates the similarity between the predicted cells and each cell in the training set through attention mechanism, and weights and fuses their perturbation vectors. Finally, the VAE decoder generates the perturbed gene expression prediction results. This method not only fully considers the heterogeneity at the single-cell level, but also achieves accurate distribution level prediction in scenarios across cell types, significantly better than existing methods.

install scresid

pip install torch==2.1.0 --index-url https://download.pytorch.org/whl/cu121
pip install scresid
# pip install numpy==1.26.4

Metadata

Release files for scresid 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scresid 1.0.0
File Size Uploaded
scresid-1.0.0.tar.gz 8.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for scresid 1.0.0
File Interpreter ABI Platform
scresid-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.5 kB

Release files / scresid-1.0.0.tar.gz

Download URL scresid-1.0.0.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
699aa3bb33015fecb8f7b56baebc6add1a81c898703dc4a4d8186ba936b88b36
BLAKE2b-256 checksum
How to use checksums
efa696371560a962de56629ae34c7b43ce53409c3166719b7005422676a58585
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.4

Release files / scresid-1.0.0-py3-none-any.whl

Download URL scresid-1.0.0-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c884ec4d0527829465f30e2619ad3ac13722d75477fd692d4bfeb6e7aadbb3ac
BLAKE2b-256 checksum
How to use checksums
112151033f6aeadf65999aff77751b71b5e6c6a1006fc2d27776ca8c901c3981
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.4

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page