arXiv:2611.00226cs.AIOct 2026

Manuscript Offprint

arXiv:2611.00226

From Cross-Section to Cross-Omics: Conditional Cell Nucleus Image Editing in Spatial Transcriptomics

Yuechen Yang, Junchao Zhu, Junlin Guo, Yanfan Zhu, Ruining Deng, Zhengyi Lu, Tianyuan Yao, Chongyu Qu, Marilyn Lionts, Xingyi Guo, Yaohong Wang, Yu Wang, Shilin Zhao, Haichun Yang, Yuankai Huo

Yuechen Yang¹, Junchao Zhu¹, Junlin Guo¹, Yanfan Zhu¹, Ruining Deng², Zhengyi Lu¹, Tianyuan Yao¹, Chongyu Qu¹, Marilyn Lionts¹, Xingyi Guo³, Yaohong Wang⁴, Yu Wang³, Shilin Zhao³, Haichun Yang³, and Yuankai Huo¹

¹ Vanderbilt University, Nashville TN 37235, USA

² Weill Cornell Medicine, New York, NY 10065, USA

³ Vanderbilt University Medical Center, Nashville TN 37232, USA

⁴ The University of Texas MD Anderson Cancer Center, Houston TX 77030, USA

Abstract. Spatial transcriptomics (ST) platforms simultaneously measure gene expression and capture cell nucleus images at single-cell resolution. A fundamental property of tissue preparation introduces a confounding relationship between the two measurement modalities: sectioning a three-dimensional tissue into a thin slice produces a two-dimensional cross-section whose area depends on the cutting angle. Larger cross-sections expose more cytoplasm, yielding higher mRNA counts, while pathomics features such as nuclear area are measured directly from the same 2D boundary. This sectioning geometry creates an apparent correlation between gene expression and pathomics that reflects the measurement process rather than independent biology. Existing gene-to-image methods generate cell images from gene features but do not support condition-driven editing of existing images across both omics layers. We apply the Manifold-Aware Diffusion (MAD) framework to this dual-omics editing setting, enabling targeted modification of one feature group while preserving the other. Evaluated on podocyte cells from CosMx SMI kidney tissue, MAD achieves MAE = 0.6636 and FID = 25.19 for pathomics editing, outperforming all compared baselines. A controlled simulation study further confirms that the VAE component in MAD better preserves cross-group independence than CCDM (MAD without VAE).

Keywords: Spatial Transcriptomics · Image Editing · Multi-Omics · Diffusion Models · Cell Morphology.

1 Introduction

Spatial transcriptomics (ST) technologies profile gene expression at single-cell resolution while simultaneously preserving spatial tissue architecture through fluorescence imaging [8,12]. Platforms such as the CosMx Spatial Molecular Imager (SMI) [2] quantify transcript abundance within individual cells alongside multi-channel fluorescence images of cell nuclei. From these images, quantitative morphological pathomic features can be extracted. Both gene expression

Y. Yang et al.

Figure

Fig. 1. (a) Tissue sectioning mechanism: a 3D cell is cut at varying angles, producing 2D cross-sections of different areas. Larger cross-sections yield higher mRNA counts and larger nuclear area measurements, creating a sectioning-induced correlation between gene expression and pathomics. (b) Existing gene-to-image models are generation-only and condition on a single omics modality; no prior method performs condition-driven editing jointly across gene expression and pathomics. (c) Our approach applies MAD [13] to dual-omics conditional editing: given an existing cell nucleus image, one feature group is edited to a target value while the other is preserved.

and pathomics are therefore natively available per cell, making them natural conditioning signals for cell image analysis.

A fundamental but often overlooked property of ST data arises from how tissue is prepared (Fig. 1a). Sectioning a three-dimensional tissue into a thin slice produces a two-dimensional cross-section of each cell, and the geometry of this cross-section depends on the angle and position of the cut. Cells that are cut near their equator yield larger cross-sections with more exposed cytoplasm and proportionally higher mRNA capture; cells cut near a pole yield smaller, gene-sparse cross-sections. At the same time, pathomics features such as nuclear area and perimeter are measured directly from these 2D boundaries. Consequently, both modalities are governed by the same sectioning geometry: larger cross-sections produce higher apparent gene expression and larger measured pathomics values. This creates an apparent cross-omics correlation that reflects the measurement process rather than an underlying biological relationship.

To our knowledge, no existing method performs condition-driven editing of cell nucleus images jointly across gene expression and pathomics (Fig. 1b). Gene-conditioned image generation methods such as GeneFlow [11] and Genes2-Morphology [7] synthesize cell images from gene features in a purely generative mode: they produce images from scratch but do not modify an existing cell image according to a specified target. Diffusion-based editing models [9] support condition-driven image modification but are designed for single-modality settings and do not explicitly account for the independence structure between two distinct omics groups.

Figure

Fig. 2. Overview of the dual-omics conditional image editing framework. Gene expression g and pathomics p are concatenated into a joint feature vector c. The MAD framework [13] trains a conditional diffusion model on c and a feature manifold VAE that encodes within-group correlations. At editing time, a target vector c* is projected through the VAE to obtain a manifold-consistent conditioning signal, which is passed to the diffusion model to generate the edited cell nucleus image.

In this paper, we formulate the dual-omics conditional editing problem: given a cell nucleus image and its associated gene expression and pathomics features, produce an edited image that reflects a target value in one feature group while leaving the other group unchanged (Fig. 1c).

Our contributions are as follows:

  • We apply the MAD framework [13] to dual-omics conditional image editing, enabling independent control of gene expression and pathomics features.
  • We validate on real podocyte data and demonstrate through a controlled simulation that the VAE component in MAD better preserves cross-group independence than CCDM (MAD without VAE).
  • MAD achieves MAE = 0.6636 and FID = 25.19, the best performance among all compared methods on pathomics editing.