Registration and Call for Abstracts Open for Bioc2024


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.19)

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.


Reference Manual PDF


biocViews BiomedicalInformatics, Software, Spatial, StatisticalMethod
Version 1.5.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
Windows Binary
macOS Binary (x86_64)
macOS Binary (arm64)
Source Repository git clone
Source Repository (Developer Access) git clone
Package Short Url
Package Downloads Report Download Stats