Skip to main content
Fig. 1 | Genome Biology

Fig. 1

From: SRTsim: spatial pattern preserving simulations for spatially resolved transcriptomics

Fig. 1

A schematic of SRTsim. SRTsim is a flexible SRT simulator that can perform either reference-based or reference-free simulations. Both types of simulations can be carried out in a tissue-based or a domain-specific fashion. In the reference-based simulations, SRTsim requires a reference SRT data in the form of a gene expression count matrix, a location matrix, and, for domain-specific simulations, an additional domain annotation matrix. SRTsim can directly use the reference data locations or create new locations and can redesign the target tissue region (Step 1). SRTsim then fits an appropriate count distribution to each gene in the reference and simulates the gene-specific counts in the synthetic data (Step 2). Finally, SRTsim assigns the simulated counts to the locations in the synthetic data in a way that preserves the spatial expression pattern observed in the reference data. In reference-free simulations, SRTsim allows users to design spatial patterns either from a customized shape or a predefined shape of interest and generate synthetic data with user-specified model parameters. P, Poisson; NB, negative binomial; ZIP, zero-inflated Poisson; ZINB, zero-inflated negative binomial

Back to article page