Construction of a 3D whole organism spatial atlas by joint modeling of multiple slices

Gefei Wang, Jia Zhao, Yan Yan, Yang Wang, Angela Ruohao Wu, Can YangbioRxiv 2023

Abstract

Spatial transcriptomics (ST) technologies are revolutionizing the way that researchers explore the spatial architecture of tissues. Currently, ST data analysis is often restricted to 2D space within a single tissue slice, limiting our capacity to understand biological processes that take place in 3D space. Here, we present STitch3D, a unified computational framework that integrates multiple 2D tissue slices to reconstruct 3D cellular structures from the tissue level to the whole organism level. By jointly modeling multiple 2D tissue slices and integrating them with cell-type-specific expression profiles derived from single-cell RNA-sequencing data, STitch3D simultaneously identifies 3D spatial regions with coherent gene expression levels and reveals 3D distributions of cell types. STitch3D distinguishes biological variation among slices from batch effects, and effectively borrows shared information across slices to assemble powerful 3D models of tissues. Through comprehensive experiments using diverse datasets, we demonstrate the performance of STitch3D in building comprehensive 3D tissue architectures of the mouse brain, the human heart, and the Drosophila embryo, which allow 3D analysis in the entire tissue region or even the whole organism. To gain deeper biological insights, the outputs of STitch3D can be used for downstream tasks, such as inference of spatial trajectories, identification of spatially variable genes enriched in tissue regions or subregions, denoising or imputation of spatial gene expressions, as well as generation of virtual tissue slices.

Introduction

Biological processes are inherently three-dimensional, yet most current Spatial Transcriptomics (ST) analyses are confined to individual 2D tissue sections. This limitation hinders our understanding of complex organ structures and systemic biological interactions. Integrating multiple 2D slices into a cohesive 3D model presents significant challenges, primarily technical batch effects across samples and the limited resolution of many ST platforms, where individual "spots" often aggregate multiple cell types. Existing computational tools typically address either slice alignment or cell-type identification in isolation, failing to leverage the shared information across adjacent slices to improve overall model accuracy.

Methods

STitch3D addresses these challenges through a unified deep-learning framework centered on a Graph Attention Network (GAT). The workflow begins by aligning 2D slices into a common 3D coordinate system using registration algorithms like ICP or PASTE. A global 3D graph is then constructed, connecting spots within and across slices to model spatial dependencies.

The core of the model is a shared latent space that utilizes an auto-encoder architecture to decouple biological signals from technical noise. This allows for the simultaneous identification of 3D spatial domains (functional tissue regions) and cell-type deconvolution, where single-cell RNA-seq data is used as a reference to estimate cell-type proportions within each spot.

Overview of the STitch3D framework, illustrating inputs, 3D graph construction, model architecture, and diverse downstream outputs.

Results and Key Insights

The framework was validated across diverse datasets, including the human brain (DLPFC), adult mouse brain, developing human heart, and Drosophila embryo. STitch3D demonstrated superior accuracy in tissue layer identification and cell-type deconvolution compared to existing methods like Cell2location and BayesSpace.

A key advantage is "information borrowing," where high-quality slices help refine the analysis of lower-quality neighbors. This robustness enabled the reconstruction of 3D organs and the generation of "virtual slices" from any orientation—for example, creating sagittal views from coronal brain sections that match anatomical atlases. In the Drosophila embryo, STitch3D successfully mapped the 3D gut and nervous system despite high data sparsity (95% zero counts).

Performance comparison of STitch3D against state-of-the-art methods, showing higher accuracy in cell-type deconvolution and tissue layer annotation.

Discussion

While STitch3D represents a significant advancement in 3D spatial modeling, future iterations could benefit from incorporating histological image data (e.g., H&E staining) to provide additional structural context. Additionally, as datasets scale toward whole-organism mapping with millions of data points, further optimization of graph neural network efficiency will be necessary. Currently, the model is optimized for roughly parallel slices; extending its capability to handle more irregular or randomly oriented tissue chunks remains a promising area for future research.

Summary updated

BibTeX
@misc{wang2023construction,
  author = {Gefei Wang and Jia Zhao and Yan Yan and Yang Wang and Angela Ruohao Wu and Can Yang},
  title = {{Construction of a 3D whole organism spatial atlas by joint modeling of multiple slices}},
  year = {2023},
  doi = {10.1101/2023.02.02.526814},
  howpublished = {bioRxiv},
}
Figure