SpaHDmap: deep fusion of spatial transcriptomics and histology images for interpretable high-definition embedding mapping
Overview
SpaHDmap is based on a multi-modal neural network that takes advantage of the high-dimensionality of transcriptomics data and the high-definition of image data to achieve interpretable high-definition dimension reduction. The high-dimensional expression data enable refined functional annotations and the high-definition image data help to enhance the spatial resolution.
Based on the high-definition embedding and the reconstruction of gene expressions, SpaHDmap can then perform high-definition downstream analyses, such as spatial domain detection, gene expression recovery, and identification of embedding-associated genes as well as high-definition cluster-associated genes.
For more details, please refer to our paper.
Installation
Please install SpaHDmap from pypi with:
pip install SpaHDmap
Or clone this repository and use
pip install .
in the root of this repository.
Documentation
Please refer to the documentation for more details, for examples:
- to get the detailed information about installation, please refer to the installation guide.
- to get started with SpaHDmap, please refer to the tutorials.
- to download the example data, please refer to the Google Drive
License
This software package is licensed under MIT license. For commercial use, please contact Ruibin Xi.
Citation
If you use SpaHDmap in your research, please cite the following paper:
@article{tang2026interpretable,
title={The interpretable multimodal dimension reduction framework SpaHDmap enhances resolution in spatial transcriptomics},
author={Tang, Junjie and Chen, Zihao and Qian, Kun and Huang, Siyuan and He, Yang and Yin, Shenyi and He, Xinyu and Ye, Buqing and Zhuang, Yan and Meng, Hongxue and Ji, Jianzhong Jeff and Xi, Ruibin},
journal={Nature Cell Biology},
year={2026}
}
Release files for spahdmap 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| spahdmap-0.1.7.tar.gz | 54.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| spahdmap-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 110.1 kB
Release files / spahdmap-0.1.7.tar.gz
| Download URL | spahdmap-0.1.7.tar.gz |
|---|---|
| Size | 54.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cd905fa5f467ccd2902fc36e80978ccc17ee10d0502dccdb15a68a3a3cf72312
|
|
BLAKE2b-256 checksum How to use checksums |
e1078a1d6b435d3a82e97f6605e8c617971357b219883bde9b100ad515533a87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Release files / spahdmap-0.1.7-py3-none-any.whl
| Download URL | spahdmap-0.1.7-py3-none-any.whl |
|---|---|
| Size | 55.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9d0081f32de8c3e0593594b93d89e0f9462c138fddf73d7d3b10c6d3a57ca78a
|
|
BLAKE2b-256 checksum How to use checksums |
fa3bb3e0fa750c7bb0a081878bb7e2bbcde270db0f64733fbf4a92e85070dcc7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|