Single-cell perturbation prediction with residual connections across cell types.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scresid-1.0.0.tar.gz.
File metadata
- Download URL: scresid-1.0.0.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
699aa3bb33015fecb8f7b56baebc6add1a81c898703dc4a4d8186ba936b88b36
|
|
| MD5 |
a1621460528a2bbdbeaed932b7c4033c
|
|
| BLAKE2b-256 |
efa696371560a962de56629ae34c7b43ce53409c3166719b7005422676a58585
|
File details
Details for the file scresid-1.0.0-py3-none-any.whl.
File metadata
- Download URL: scresid-1.0.0-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c884ec4d0527829465f30e2619ad3ac13722d75477fd692d4bfeb6e7aadbb3ac
|
|
| MD5 |
86996eb606c42acc9db91e1c15ac43d3
|
|
| BLAKE2b-256 |
112151033f6aeadf65999aff77751b71b5e6c6a1006fc2d27776ca8c901c3981
|