SRTsim is an independent, reproducible, and flexible Spatially Resolved Transcriptomics (SRT) simulation framework that can be used to facilitate the development of SRT analytical methods for a wide variety of SRT-specific analyses.
install.packages('devtools')
devtools::install_github('xzhoulab/SRTsim')
library(SRTsim)
Jiaqiang Zhu, Lulu Shang and Xiang Zhou#. SRTsim: A simulator for spatially resolved transcriptomics, 2022.
Details in here