An integrated pipeline designed to deconvolute and decompose spatial transcriptomics data, and produce pseudo single-cell resolution images.
Project description
Spotiphy: generative modeling in single-cell spatial whole transcriptomics
Spotiphy is a Python-based pipeline designed to enhance our understanding of biological tissues by integrating sequencing-based spatial transcriptomics data, scRNA-seq data, and high-resolution histological images. Employing a probabilistic model, Bayesian inference, and advanced image processing techniques, Spotiphy primarily executes three key tasks:
- Deconvolution: Spotiphy estimates the abundance of each cell type in each capture area of spatial tissue.
- Decomposition: Spotiphy decomposes spatial transcriptomics data to the single-cell level.
- Pseudo single-cell resolution image: Spotiphy generates a pseudo single-cell resolution image to reconstruct cell neighbors.
With these outputs, Spotiphy facilitates numerous downstream analyses. For more detailed information, please refer to the associated research paper.
Tutorials and documents
The following tutorial are available:
- Deconvolution and decomposition of mouse cortex with Spotiphy [document][Google Colab]
For more details, please refer to the documents.
Installation
To install Spotiphy, it is recommended to create a separate conda environment. This approach helps to manage dependencies and avoid conflicts with other packages.
conda create -n Spotiphy-env python=3.9
conda activate Spotiphy-env
Spotiphy is built based on Pytorch. Although installing Spotiphy automatically includes PyTorch, it is recommended that users manually install PyTorch (link) to allow for more flexibility, particularly for those who wish to utilize CUDA capabilities. We offer two methods for installing the Spotiphy package:
- Install from GitHub: This method allows you to install the latest version directly from the source code hosted on GitHub.
pip install git+https://github.com/jyyulab/Spotiphy.git
- Install from PyPI: This approach is for installing the Spotiphy package from the Python Package Index (PyPI), which is more streamlined for users who prefer standard package installations.
pip install spotiphy
To test the Installation, try to import Spotiphy in Python.
import spotiphy
Frequently asked questions
Answers to frequently asked questions can be found here.
Should you have any further questions, feel free to start a discussion or reach out directly to the package authors:
- Ziqian Zheng - zzheng92@wisc.edu
- Jiyuan Yang - jiyuan.yang@stjude.org
Cite Spotiphy:
Pending
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
Built Distribution
File details
Details for the file spotiphy-0.1.3.tar.gz
.
File metadata
- Download URL: spotiphy-0.1.3.tar.gz
- Upload date:
- Size: 32.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f66e073b6d1cbdbe47ffedfcc723762b71b872739db7636b3b2b2ffa8413426 |
|
MD5 | 1f2d13b2c0191ae5eede9040cd940b31 |
|
BLAKE2b-256 | 8ee08a4e90887e7744253c17293d57d80b78f218721467cc68475aff3f763af2 |
File details
Details for the file spotiphy-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: spotiphy-0.1.3-py3-none-any.whl
- Upload date:
- Size: 30.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be754f06bdcdd3b0e74263bf431d0a161142cdf941f5d11816ca00143282c697 |
|
MD5 | 3957a800e3bab7736acd39810f5c02dc |
|
BLAKE2b-256 | 0e44dfa120945d7791c225478a89cc871b3c31f847e2d1578452703f6750e72c |