SpaCeNet: Spatial Cellular Networks from omics data

Stefan Schrod, Niklas Lück, Robert Lohmayer, Stefan Solbrig, Dennis Völkl, Tina Wipfler, Katherine H. Shutta, Marouen Ben Guebila, Andreas Schäfer, Tim Beißbarth, Helena U. Zacharias, Peter J. Oefner, John Quackenbush, Michael AltenbuchingerbioRxiv 2022

Abstract

Advances in omics technologies have allowed spatially resolved molecular profiling of single cells, providing a window not only into the diversity and distribution of cell types within a tissue, but also into the effects of interactions between cells in shaping the transcriptional landscape. Cells send chemical and mechanical signals which are received by other cells, where they can subsequently initiate context-specific gene regulatory responses. These interactions and their responses shape the individual molecular phenotype of a cell in a given microenvironment. RNAs or proteins measured in individual cells together with the cells’ spatial distribution provide invaluable information about these mechanisms and the regulation of genes beyond processes occurring independently in each individual cell. “SpaCeNet” is a method designed to elucidate both the intracellular molecular networks (how molecular variables affect each other within the cell) and the intercellular molecular networks (how cells affect molecular variables in their neighbors). This is achieved by estimating conditional independence relations between captured variables within individual cells and by disentangling these from conditional independence relations between variables of different cells. A python implementation of SpaCeNet is publicly available at https://github.com/sschrod/SpaCeNet .

Introduction

The transition from bulk sequencing to single-cell and now spatial transcriptomics has revolutionized our ability to map the molecular landscape of tissues. While spatial data provides the "address" of each cell, understanding the functional relationships between cells requires deciphering the complex signals they exchange. Cells interact through chemical and mechanical signals that trigger gene regulatory responses, shaping individual phenotypes within a microenvironment.

Existing methods often struggle to separate direct molecular interactions from spurious correlations caused by shared environments. SpaCeNet addresses this by providing a framework to disentangle intracellular gene-regulatory logic from intercellular communication, allowing researchers to map the "cellular conversation" with high precision.

Methods: Disentangling Molecular Networks

SpaCeNet utilizes Gaussian Graphical Models (GGMs) to identify direct links between variables through conditional independence. The core innovation is the concept of Spatial Conditional Independence (SCI), which separates two distinct network types:

  1. Intracellular Networks: Modeled by a precision matrix ($\Omega$), these represent gene-gene associations within a single cell.
  2. Intercellular Networks: Modeled using spatial interaction potentials ($\rho_{ij}(r_{ab})$), these represent how a cell's state influences its neighbors across varying distances.
Conceptual schematic of SpaCeNet showing the separation of intracellular (solid lines) and intercellular (dashed lines) interactions between cells at distance $r_{ab}$.

To accommodate different signaling ranges—from direct contact to long-range diffusion—SpaCeNet employs a power-series expansion of distance. This allows the model to learn the effective range of interactions directly from the data without prior assumptions about the spatial scale of signaling.

Spatial interaction potentials and density distributions across different distance scales ($r_{ab}$), illustrating the model's flexibility in capturing varying interaction ranges.

The model uses Lasso and Group-Lasso regularization to maintain sparsity and ensure consistent penalization across spatial scales, making it robust for high-dimensional omics datasets where the number of variables often exceeds the number of samples.

Results and Validation

The authors validated SpaCeNet across synthetic and biological datasets, demonstrating its predictive and discovery potential:

  • Synthetic Simulations: The model achieved high accuracy (AUROC and AUPRC scores often exceeding 0.90) in recovering ground-truth network edges, with performance scaling positively with cell count.
  • Mouse Visual Cortex (STARmap): Analysis of 28 RNA species in 30,000 cells revealed 134 significant spatial associations. Notably, a strong negative spatial link between Mbp (a myelin protein) and Flt1 (a growth factor receptor) was identified, suggesting a potential recruitment signal for myelinating cells in response to local deficiencies.
  • Drosophila Blastoderm: SpaCeNet successfully predicted the expression of the Krüppel (Kr) gene based solely on neighboring gene expression, achieving a remarkably low Mean Squared Error of $4.36 \times 10^{-3}$.

Discussion

SpaCeNet provides a robust statistical lens for spatial omics, though it currently focuses on continuous data and identifies associations rather than definitive causal links. Future iterations may incorporate categorical data and leverage time-series information to further refine causal inference. By disentangling the "inside" from the "outside," SpaCeNet offers a powerful tool for generating testable hypotheses in cellular communication and tissue architecture.

The Python implementation of SpaCeNet is publicly available on GitHub.

Summary updated

BibTeX
@misc{schrod2022spacenet,
  author = {Stefan Schrod and Niklas Lück and Robert Lohmayer and Stefan Solbrig and Dennis Völkl and Tina Wipfler and Katherine H. Shutta and Marouen Ben Guebila and Andreas Schäfer and Tim Beißbarth and Helena U. Zacharias and Peter J. Oefner and John Quackenbush and Michael Altenbuchinger},
  title = {{SpaCeNet: Spatial Cellular Networks from omics data}},
  year = {2022},
  doi = {10.1101/2022.09.01.506219},
  howpublished = {bioRxiv},
}
Figure