# scSpatialSIM: a simulator of spatial single-cell molecular data

**Authors:** Alex C. Soupir, Julia Wrobel, Jordan H. Creed, Oscar E. Ospina, Christopher M. Wilson, Brandon J. Manley, Lauren C. Peres, Brooke L. Fridley

PMC · DOI: 10.1016/j.softx.2025.102223 · SoftwareX · 2026-03-27

## TL;DR

scSpatialSIM is a new tool that simulates spatial single-cell data to help researchers test and compare methods for analyzing tissue organization.

## Contribution

The novel contribution is an R package that generates realistic spatial single-cell data for benchmarking spatial statistics.

## Key findings

- Ripley’s K(r) outperformed other methods in detecting clustering across multiple radii.
- scSpatialSIM supports simulating both categorical and continuous spatial data for downstream analysis.
- The tool enables efficient benchmarking of spatial statistics without requiring reference datasets.

## Abstract

The increasing use of spatial molecular technologies such as multiplex immunofluorescence (mIF) and spatial transcriptomics (SRT) has driven the need for robust statistical methods to analyze the spatial architecture of tissues. However, a lack of consensus on “gold standard” approaches present challenges for benchmarking and comparison. To address this gap, we developed “scSpatialSIM”, an R package for simulating biologically realistic spatial single-cell molecular data. “scSpatialSIM” enables users to efficiently simulate single-cell spatial patterns without requiring reference datasets, incorporating features such as cell clustering, cell co-localization, tissue compartments, and tissue holes. Additionally, the package supports simulation of both categorical data (e.g., cell phenotypes) and continuous values (e.g., protein expression or gene expression), and integrates with other R packages for downstream spatial analyses. To demonstrate its utility, we applied “scSpatialSIM” to benchmark univariate point pattern summary functions, including Ripley’s K(r), nearest neighbor G(r), and pair correlation g (r), across simulated scenarios. The results showed that Ripley’s K(r) consistently detected clustering across multiple radii, outperforming other methods in sensitivity and robustness. While scSpatialSIM is limited to simulating cell clustering and co-localization rather than broader tissue-level sub-domains, it provides a flexible and scalable framework for generating diverse spatial data. The development of scSpatialSIM facilitates comparative evaluation of spatial statistics and enables researchers to explore hypothetical scenarios at scale, advancing the development of novel methods to characterize the spatial organization of tissues. By providing a platform for spatial simulation, scSpatialSIM supports innovation in spatial molecular research and fosters new insights into tissue architecture and cellular interactions.

## Full-text entities

- **Diseases:** ovarian and lung cancer tumors (MESH:D010051), necrotic tissue (MESH:D017695), malignancies (MESH:D009369)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC13021152/full.md

## Figures

3 figures with captions in the complete paper: https://tomesphere.com/paper/PMC13021152/full.md

## References

18 references — full list in the complete paper: https://tomesphere.com/paper/PMC13021152/full.md

---
Source: https://tomesphere.com/paper/PMC13021152