Registration Open for Bioc2024 July 24-26


This is the development version of spaSim; for the stable release version, see spaSim.

Spatial point data simulator for tissue images

Bioconductor version: Development (3.20)

A suite of functions for simulating spatial patterns of cells in tissue images. Output images are multitype point data in SingleCellExperiment format. Each point represents a cell, with its 2D locations and cell type. Potential cell patterns include background cells, tumour/immune cell clusters, immune rings, and blood/lymphatic vessels.

Author: Yuzhou Feng [aut, cre] , Anna Trigos [aut]

Maintainer: Yuzhou Feng <yuzhou.feng at>

Citation (from within R, enter citation("spaSim")):


To install this package, start R (version "4.4") and enter:

if (!require("BiocManager", quietly = TRUE))

# The following initializes usage of Bioc devel


For older versions of R, please refer to the appropriate Bioconductor release.


To view documentation for the version of this package installed in your system, start R and enter:

vignette HTML R Script
Reference Manual PDF


biocViews BiomedicalInformatics, Software, Spatial, StatisticalMethod
Version 1.7.0
In Bioconductor since BioC 3.16 (R-4.2) (1.5 years)
License Artistic-2.0
Depends R (>= 4.2.0)
Imports ggplot2, methods, stats, dplyr, spatstat.geom, spatstat.random, SpatialExperiment, SummarizedExperiment, RANN
System Requirements
Bug Reports
See More
Suggests RefManageR, BiocStyle, knitr, testthat (>= 3.0.0), sessioninfo, rmarkdown, markdown
Linking To
Depends On Me
Imports Me
Suggests Me
Links To Me
Build Report Build Report

Package Archives

Follow Installation instructions to use this package in your R session.

Source Package spaSim_1.7.0.tar.gz
Windows Binary
macOS Binary (x86_64) spaSim_1.7.0.tgz
macOS Binary (arm64) spaSim_1.7.0.tgz
Source Repository git clone
Source Repository (Developer Access) git clone
Bioc Package Browser
Package Short Url
Package Downloads Report Download Stats