SPACEL: characterizing spatial transcriptome architectures by deep-learning
Project description
SPACEL: characterizing spatial transcriptome architectures by deep-learning
SPACEL (SPatial Architecture Characterization by dEep Learning) is a Python package of deep-learning-based methods for ST data analysis. SPACEL consists of three modules:
- Spoint embedded a multiple-layer perceptron with a probabilistic model to deconvolute cell type composition for each spot on single ST slice.
- Splane employs a graph convolutional network approach and an adversarial learning algorithm to identify uniform spatial domains that are transcriptomically and spatially coherent across multiple ST slices.
- Scube automatically transforms the spatial coordinate systems of consecutive slices and stacks them together to construct a three-dimensional (3D) alignment of the tissue.
Getting started
- Requirements
- Installation
- Tutorials
Read the documentation for more information.
Requirements
To install SPACEL, you need to install PyTorch with GPU support first. If you don't need GPU acceleration, you can just skip the installation for cudnn and cudatoolkit.
- Create conda environment for
SPACEL:
conda env create -f environment.yml
or
conda create -n SPACEL -c conda-forge -c default cudatoolkit=10.2 python=3.8 r-base r-fitdistrplus
You must choose correct PyTorch, cudnn and cudatoolkit version dependent on your graphic driver version.
- Test if PyTorch for GPU available:
python
>>> import torch
>>> torch.cuda.is_available()
If these command line have not return True, please check your gpu driver version and cudatoolkit version. For more detail, look at CUDA Toolkit Major Component Versions.
Note: If you want to run 3D expression GPR model in Scube, you need to install the Open3D python library first.
Installation
- Install
SPACEL:
pip install SPACEL
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 SPACEL-1.0.0.tar.gz.
File metadata
- Download URL: SPACEL-1.0.0.tar.gz
- Upload date:
- Size: 35.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ec5cb71654620ae74080dc122bcf7ef4e1c6be71e5f809ffe4e116766a1642f
|
|
| MD5 |
85cb7d9f362429f5a5e32c3f0b9fee79
|
|
| BLAKE2b-256 |
23cef4a8f56724fe4f831ea24dfb508382f2be8d05c68eef11a12044f58fb3f0
|
File details
Details for the file SPACEL-1.0.0-py3-none-any.whl.
File metadata
- Download URL: SPACEL-1.0.0-py3-none-any.whl
- Upload date:
- Size: 41.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6772b5e7bc4c666bf4f4fae146fd5780588e9f74d588dd1abee0449dd26eaa1f
|
|
| MD5 |
e0b47e3a2e1792229314b6518bbddbf7
|
|
| BLAKE2b-256 |
a3da695c763c6a9876e01280b765792e5061bcd2b09d9e1324a97cda13977740
|