Skip to main content

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:

👉 Demo Website

👉 Github Website

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.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for SpatialZoomer 1.1.0
File Size Uploaded
spatialzoomer-1.1.0.tar.gz 42.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for SpatialZoomer 1.1.0
File Interpreter ABI Platform
spatialzoomer-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 92.1 kB

Release files / spatialzoomer-1.1.0.tar.gz

Download URL spatialzoomer-1.1.0.tar.gz
Size 42.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3ba8884a535f9efcdac5a88e7692f650629b0cab92b5173ed2115a410b72f1e5
BLAKE2b-256 checksum
How to use checksums
7586e794e11e4a81a41f8f50fc5d0ed1f39a00fba8af459ba9544e67534a21a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / spatialzoomer-1.1.0-py3-none-any.whl

Download URL spatialzoomer-1.1.0-py3-none-any.whl
Size 49.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7084da2202cb6017a7fec854c4bff8f24d2785dfd06607f32a4cb5ace2f860a3
BLAKE2b-256 checksum
How to use checksums
1d5a0a07cc93a8d02c4c9e1d92382a135e33a687fd65481fd89c64432fa01450
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

1.2.0

2 release files

This release

1.1.0 This release

2 release files

1.0.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.0

2 release files

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