Skip to content
DraconiticResearch
Search Sources API
186,541 studies31 sourcesUpdated 29 min ago
PreprintCC BY-NCbioRxiv

platpy: A spatial-first framework for multi-layer spatial transcriptomic analysis

  1. 1Virginia Tech Carilion

Abstract

Background The emergence of accessible spatial transcriptomic platforms such as 10x Genomics Visium HD and Xenium has created demand for analysis tools that can handle the complexity and scale of spatial datasets. Current frameworks approach spatial data primarily as an extension of single-cell RNA-seq pipelines, where spatial coordinates are retained as metadata rather than treated as a first-class organizing principle. As a result, common tasks such as multi-modal data alignment, region-of-interest selection, and cross-resolution visualization require manually managing disparate data types, coordinates, and scales, making spatial analysis unnecessarily time-consuming and error-prone. Results We present platpy (pipeline for layered analysis of transcriptomics), a Python-based "spatial-first" framework that treats absolute physical micron coordinates as the organizing principle for all data types. All data -- morphology images, transcript point clouds, expression matrices, segmented cells, and user-defined regions -- are stored as typed objects ("Channels") that carry their own spatial metadata, keeping all layers in automatic registration regardless of platform, resolution, or analysis operation. Two complementary interfaces simplify access to underlying data: the ViewPort, a compositing engine for efficient multi-channel visualization, and the DataPort, which extracts raw data in its native format for downstream analysis. A set of spatial analysis tools demonstrates the practical benefits of the framework, including ROI-based expression binning, cortical unfolding, and sub-micron fine alignment of transcript and image data. The use of modern Python data management methods helps maintain the efficiency of the framework, allowing for quick visualizations and analysis with a low memory footprint. Conclusions Platpy is designed to complement rather than replace widely used tools in the spatial analysis ecosystem (scanpy, squidpy, CellPose, StarDist), by handling the spatial mechanics of large datasets so that the analyst can focus on the biology. Platpy is freely available under the MIT license at https://github.com/maynardt/platpy.

Related

  1. Multi-scale spatial transcriptomic atlas of the whole mouse spinal cord
    G.-W. Zhang, J. Li, J. J. Huang +3
    bioRxivPreprintCC BYFull textNeurosciencebioRxiv
  2. VizIt: A multi-view framework for exploring single-cell, spatial, and genetic data online
    Chenhang Christopher Zhang, Yanqing Lou, Jie Yuan +8
    arXivPreprintCC BY 4.0Full textGenetics & genomicsarXiv
  3. Spatial transcriptomic mapping of anti-MDA5 dermatomyositis reveals perivascular enrichment of type I interferon responses and immune activation
    Yulong Qiao, Gexin Liu, Michael Tim-Yun Ong +3
    iSciencePeer-reviewedCC BY 4.0Bioinformatics & computational biologyImmunologyCell PressCrossref
  4. Spatial transcriptomic analysis identifies tnni2a.3 as a candidate associated with intermuscular bone formation in zebrafish
    Yi Xu, Jianbo Zheng, Fei Li +5
    BMC GenomicsPeer-reviewedCC BY-NC-ND 4.0Genetics & genomicsCrossref
  5. A single-nucleus and spatial transcriptomic atlas of the Syrian hamster preoptic area across hibernation states
    H. Sato, H. Sugimoto, C. Shao +13
    bioRxivPreprintCC BY-NCFull textNeurosciencebioRxiv
BibTeX
@misc{maynard2026platpy,
  title = {{platpy: A spatial-first framework for multi-layer spatial transcriptomic analysis}},
  author = {T. M. Maynard},
  howpublished = {bioRxiv},
  year = {2026},
  month = may,
  doi = {10.64898/2026.05.26.727917},
  url = {https://www.biorxiv.org/content/10.64898/2026.05.26.727917v2},
  note = {CC BY-NC},
}
RIS
TY  - UNPB
TI  - platpy: A spatial-first framework for multi-layer spatial transcriptomic analysis
AU  - T. M. Maynard
PY  - 2026
DA  - 2026/05/26
PB  - bioRxiv
DO  - 10.64898/2026.05.26.727917
UR  - https://www.biorxiv.org/content/10.64898/2026.05.26.727917v2
AB  - Background The emergence of accessible spatial transcriptomic platforms such as 10x Genomics Visium HD and Xenium has created demand for analysis tools that can handle the complexity and scale of spatial datasets. Current frameworks approach spatial data primarily as an extension of single-cell RNA-seq pipelines, where spatial coordinates are retained as metadata rather than treated as a first-class organizing principle. As a result, common tasks such as multi-modal data alignment, region-of-interest selection, and cross-resolution visualization require manually managing disparate data types, coordinates, and scales, making spatial analysis unnecessarily time-consuming and error-prone. Results We present platpy (pipeline for layered analysis of transcriptomics), a Python-based "spatial-first" framework that treats absolute physical micron coordinates as the organizing principle for all data types. All data -- morphology images, transcript point clouds, expression matrices, segmented cells, and user-defined regions -- are stored as typed objects ("Channels") that carry their own spatial metadata, keeping all layers in automatic registration regardless of platform, resolution, or analysis operation. Two complementary interfaces simplify access to underlying data: the ViewPort, a compositing engine for efficient multi-channel visualization, and the DataPort, which extracts raw data in its native format for downstream analysis. A set of spatial analysis tools demonstrates the practical benefits of the framework, including ROI-based expression binning, cortical unfolding, and sub-micron fine alignment of transcript and image data. The use of modern Python data management methods helps maintain the efficiency of the framework, allowing for quick visualizations and analysis with a low memory footprint. Conclusions Platpy is designed to complement rather than replace widely used tools in the spatial analysis ecosystem (scanpy, squidpy, CellPose, StarDist), by handling the spatial mechanics of large datasets so that the analyst can focus on the biology. Platpy is freely available under the MIT license at https://github.com/maynardt/platpy.
ER  -