Skip to main content

SpaHDmap: deep fusion of spatial transcriptomics and histology images for interpretable high-definition embedding mapping

Overview

alt

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)

Source distribution for spahdmap 0.1.7
File Size Uploaded
spahdmap-0.1.7.tar.gz 54.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for spahdmap 0.1.7
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

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