SpatialZoomer: multi-scale feature analysis of spatial transcriptomics
The Python implementation of SpatialZoomer, a toolkit for multi-scale spatial feature analysis of single-cell resolved spatial transcriptomics via spectral graph signal processing. It scales to millions of cells with high computational efficiency and low hardware requirements.
Explore SpatialZoomer's multi-scale results by sliding the scale axis across four datasets on our interactive demo site:
Introduction
SpatialZoomer is a novel computational method that enables the multi-scale feature analysis of single-cell resolved spatial transcriptomics like a zoom-capable microscope. By modeling gene expression as signals on spatial neighbor graph and applying spectral graph signal processing, the method efficiently extracts spatial features across multiple scales and reveals biologically meaningful structures. It can automatically identify “critical” scales by partitioning the cross-scale similarity map via dynamic programming.
Functions
-
Zoom-capable analysis across spatial scales
SpatialZoomer enables the detection of spatial structures from cells, niches, to domains across multiple scales. It can cpature biologically meaningful signals at specific scales, such as those related to disease progression in perturbation or longitudinal scenarios. -
Identification of spatially dependent subtypes
As the spatial scale increases, SpatialZoomer progressively integrates spatial context from larger neighborhoods into each cell’s transcriptomic profile, potentially enabling cells from a single cluster at scale 0 to separate into spatially dependent subclusters at larger scales. These spatial contexts can amplify transcriptomic heterogeneity between biologically distinct subtypes. -
Uncovering complex tissue architecture
The extracted multi-scale features can be used to dissect the complex spatial organization.
Advantages
- High computational efficiency with relatively low memory requirements (No GPU required).
- Fast runtime, even for large-scale datasets.
- Scalable to >1 million cells on desktops.
System Requirements
SpatialZoomer requires only a standard computer with sufficient RAM for in-memory operations and runs without the need for a GPU. It is lightweight and can be executed on laptops, desktops, or servers.
Cite
Xinqi Li#, Yuhan Fan#, Yue Han, Wenbo Guo, Jingmin Huang, Nan Yan, Zeyu Chen, Yanhong Wu, Yuxin Miao, Lin Hou, Xuegong Zhang, Zeyu Chen, Jin Gu*. SpatialZoomer: multi-scale feature analysis of spatial transcriptomics. bioRxiv (2025).
Metadata
Release files for SpatialZoomer 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| spatialzoomer-1.2.0.tar.gz | 43.3 kB | Without provenance | Details for spatialzoomer-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| spatialzoomer-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for spatialzoomer-1.2.0-py3-none-any.whl |
Total release size: 93.8 kB
Release files / spatialzoomer-1.2.0.tar.gz
| Download URL | spatialzoomer-1.2.0.tar.gz |
|---|---|
| Size | 43.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
36480066e756ce1b42d84e4178ed81ec83ca7920ae6ff021b6f884eda1232eac
|
|
BLAKE2b-256 checksum How to use checksums |
329ad130eb1e23b874b631a5b4a751f82f0d0399739a8eee2a71c7e004bff8d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / spatialzoomer-1.2.0-py3-none-any.whl
| Download URL | spatialzoomer-1.2.0-py3-none-any.whl |
|---|---|
| Size | 50.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bae449fa6669a50eae31c9e291d3af6c3b8f6b7ca13dd0658c569a285773ff3a
|
|
BLAKE2b-256 checksum How to use checksums |
bb0f05cc784e8d1024664ac9baa7b544ddb43b98ae6fd321b67556a1f1982b49
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for SpatialZoomer 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.