Registration Open for Bioc2024 July 24-26


Spatial point data simulator for tissue images

Bioconductor version: Release (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))


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.6.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.6.0.tar.gz
Windows Binary
macOS Binary (x86_64) spaSim_1.6.0.tgz
macOS Binary (arm64) spaSim_1.6.0.tgz
Source Repository git clone
Source Repository (Developer Access) git clone
Bioc Package Browser
Package Short Url
Package Downloads Report Download Stats
Old Source Packages for BioC 3.19 Source Archive