Abstract
Singlecell RNAseq (scRNAseq) data simulation is critical for evaluating computational methods for analysing scRNAseq data especially when ground truth is experimentally unattainable. The reliability of evaluation depends on the ability of simulation methods to capture properties of experimental data. However, while many scRNAseq data simulation methods have been proposed, a systematic evaluation of these methods is lacking. We develop a comprehensive evaluation framework, SimBench, including a kernel density estimation measure to benchmark 12 simulation methods through 35 scRNAseq experimental datasets. We evaluate the simulation methods on a panel of data properties, ability to maintain biological signals, scalability and applicability. Our benchmark uncovers performance differences among the methods and highlights the varying difficulties in simulating data characteristics. Furthermore, we identify several limitations including maintaining heterogeneity of distribution. These results, together with the framework and datasets made publicly available as R packages, will guide simulation methods selection and their future development.
Similar content being viewed by others
Introduction
Singlecell RNAsequencing (scRNAseq) is a powerful technique for profiling the transcriptomes at the singlecell resolution and has gained considerable popularity since its emergence in the last decade^{1}. To effectively utilise scRNAseq data to address biological questions^{2}, the development of computational tools for analysing such data is critical and has grown exponentially with the increasing availability of scRNAseq datasets. Evaluation of their performance with credible ground truth has thus become a key task for assessing the quality and robustness of the growing array of computational resources. While there exist certain control strategies such as spikeins with known sequence and quantity, data that offer ground truth while reflecting the complex structures of a variety of experimental designs are either difficult or impossible to generate. Thus, in silico simulation methods for creating scRNAseq datasets with desired structure and ground truth (e.g. number of cell groups) are an effective and practical strategy for evaluating computational tools designed for scRNAseq data analysis.
To date, numerous scRNAseq data simulation methods have been developed. The majority of these methods employ a twostep process of using statistical models to estimate the characteristics of real experimental singlecell data and using the learnt information as a template to generate simulation data. The distinctive difference between them is the choice of underlying statistical framework. Early methods often employ negative binomial (NB)^{3,4,5} as it has been the typical choice for modelling gene expression count of RNAseq^{6}. Its variant, zeroinflated NB (ZINB) model takes account of excessive zeros in the count data and is chosen by other studies to better model the sparsity in singlecell data^{7,8}. In more recent years, alternative models have been proposed with the aim to increase modelling flexibility including gammanormal mixture model^{9}, betaPoisson^{10}, gammamultivariate hypergeometric^{11} and the mixture of zeroinflated Poisson and lognormal Poisson distributions^{12}. Other studies argued that parametric models with strong distributional assumption are often not appropriate to scRNAseq data given its variability and proposed the use of a semiparametric approach as the simulation framework^{13}. Similarly, a recent deep learningbased approach^{14} leverages the power of neural networks to infer underlying data distribution and avoid prior assumptions.
A common challenge of simulation methods is the ability to generate data that faithfully reflect experimental data^{15}. Given that simulation datasets are widely used for the evaluation and comparison of computational methods^{16}, deviations of simulated data from properties of experimental data can greatly affect the validity and generalisability of the evaluation results. With the increasing number of scRNAseq data simulation tools and the reliance on them to guide other method development as well as choosing the most appropriate data analytics strategy, a thorough assessment of all currently available scRNAseq simulation methods is crucial and timely, especially when such an evaluation study is still lacking in the literature.
Here, we present a comprehensive evaluation framework, SimBench, for singlecell simulation benchmarking. Considering that realistic simulation datasets are intended to reflect experimental datasets in all data moments including both cellwise and genewise properties, as well as their higherorder interactions, it is important to determine how well simulation methods represent all these values. To this end, we systematically compare the performance of 12 simulation methods across multiple sets of criteria, including accuracy of estimates for 13 data properties, the ability to retain biological signals and to achieve computation scalability, as well as their applicability. To ensure robustness of the results, we collect 35 datasets across a range of sequencing protocols and cell types. Moreover, we implement measure based on kernel density estimation^{17} in the evaluation framework to enable the largescale quantification and comparison of similarities between simulated and experimental data across univariate and multivariate distributions, and thus, avoid visualbased criteria which are often used in other studies. To assist development of new methods, we study potential factors affecting the simulation results and identify common strength and weakness of current simulation methods. Finally, we summarise the result into recommendation to the users, and highlight potential areas requiring future research.
Results
A comprehensive benchmark of scRNAseq simulation methods on four key sets of evaluation criteria using diverse datasets and comparison measure
Our SimBench framework evaluates 12 recently published simulation methods specifically designed for singlecell data (Fig. 1a, Table 1 and Supplementary Table 1). To ensure robustness and generalisability of the study results and account for variability across datasets (Supplementary Fig. 1), we curated 35 public scRNAseq datasets (Fig. 1b and Supplementary Data 1) that include major experimental protocols, tissue types, and organisms. To assess a simulation method’s performance on a given dataset, SimBench splits the data into input data and test data (referred to as the real data). Simulation data is generated based on the data properties estimated from the input data and compared with the real data in the evaluation process (Fig. 1c). Using four key sets of evaluation criteria (Fig. 1c, d), we systematically compare the singlecell simulation methods’ performance for 432 simulation data representing 12 simulation methods applied to 35 scRNAseq datasets.
The first set of evaluation criteria, termed data property estimation, aims to assess how realistic is a given simulated data. To address this, we first defined the properties for a given dataset with 13 distinct criteria and then developed a comparison process to quantify the similarity between the simulated and real data (Supplementary Fig. 2). The 13 criteria capture both the distributions of genes and cells as well as higherorder interactions, such as mean–variance relationship of genes. We anticipated that not all simulation methods will place emphasis on the same set of data properties and it is thus important to incorporate a wide range of criteria. We then examined a number of statistics for measuring distributional similarity^{18}. Supplementary Fig. 3 shows that all statistics show similar performance with mean correlation of 0.7 and we have chosen to use the kernel density based global twosample comparison test statistic^{17} (KDE statistic), in our current study as it is applicable to both univariate and multivariate distributions.
The other three sets of evaluation criteria seek to assess each simulation method’s ability to maintain biological signals and computational scalability and its applicability. For biological signals, we measured the proportion of differentially expressed (DE) genes obtained in the simulated data using DE detection methods designed for bulk and singlecell RNAseq data, as well as four other types of gene signals of differentially variable (DV), differentially distributed (DD), differential proportion (DP) and bimodally distributed (BD) genes (see ‘Methods’). A similar proportion to the real data would indicate an accurate estimation of biological signals present in the data. Scalability reflects the ability of simulation methods to efficiently generate largescale datasets. This is measured through computational run time and memory usage with respect to the number of cells. Applicability examines the practical application of each method in terms of whether it can estimate and simulate multiple cell groups and allow simulation of differential expression patterns. Overall, our framework provides recommendations by taking into account all aspects of evaluation (Fig. 1e).
Comparison of simulation methods revealed their relative performance on different evaluation criteria
Through ranking the 12 methods on the above four sets of evaluation criteria, we found that no method clearly outperformed other methods across all criteria (Fig. 2). We therefore examined each set of criteria individually in detail below and the variability in methods’ performance within and across the four sets of evaluation criteria.
For data property estimation, we observed variability in methods’ performance across the 13 criteria. ZINBWaVE, SPARSim and SymSim are the three methods that performed better than the others across almost all 13 data properties (Fig. 2a). For the remaining methods, a greater discrepancy was observed between the 13 criteria, in which the rankings of methods based on each criterion do not show any particular relationship or correlation structure. Overall, our results highlight the relative strengths and weaknesses of each simulation method on capturing the data properties.
We observed that some methods (e.g. zingeR and scDesign) that were not ranked the highest in data properties estimation performed well in retaining biological signals (Fig. 2b). scDesign is designed for the purpose of power calculation and sample size estimation, while zingeR is designed to evaluate the DE detection approach in its publication and thus both methods require an accurate simulation and estimation of biological signals, particularly differential expression. It is not unexpected that they ranked highly in this aspect despite not being the most accurate in estimating other data properties.
For computational scalability, the majority of methods showed good performance with runtime of under 2 h and memory consumption of under eight gigabytes (GB) (Supplementary Fig. 4) when tested on the downsampled Tabula Muris dataset^{19} with 50–8000 cells (see ‘Methods’). However, some top performing methods, such as SPsimSeq and ZINBWaVE revealed poor scalability (Fig. 2c). This highlights the potential tradeoff between computational efficiency and complexity of modelling framework. SPsimSeq, for example, involves the estimation of correlation structure using Gaussiancopulas model and scored well in maintaining gene and cellwise correlation. Its advantage came at the cost of poor scalability, taking nearly 6 h to simulate 5000 cells. Thus, despite the ability to generate realistic scRNAseq data, the usefulness of such methods may be partially limited if a largescale simulation dataset is required. In contrast, methods such as SPARSim, which was ranked second in parameter estimation as well as being one of top tier methods in scalability, may better suit needs if a largescale simulation dataset is required by users.
Lastly, we found that different simulation methods satisfy different numbers of the applicability criteria (Fig. 2d). This is due, in part, to the fact that not all simulation methods are designed as general purpose simulation tools. For example, powsimR was originally designed as a power analysis tool for differential expression analysis but was included as a simulation tool by a number of simulation studies^{9,10} in their performance comparison with other simulation methods. Being a power analysis tool, its primary usage is to simulate two cell groups from a homogenous cell population with a userdefined amount of differential expression. In contrast, a number of other methods such as SPARSim, SymSim and Splat that are originally intended as general purpose simulation tools are able to simulate multiple cell groups with userdefined differential expression patterns. We have outlined the primary purpose and the limitations of each method on this front in more detail in Table 1 to guide users in making informed decisions on methods that best suited to their needs.
Impact of data and experimentalspecific characteristics on model estimation
Aside from comparing the overall performance of methods to guide method selection, it is also necessary to identify specific factors influencing the outcome of simulation methods. Here, we examined the impact of data and experimentalspecific characteristics including cell numbers and sequencing protocols on simulation model estimation.
To explore the general relationship between cell number and accuracy of data property estimation across simulation methods, we evaluated each method on thirteen subsamples of Tabula Muris data with varying numbers of cells but fixed number of cell types (see ‘Methods’). Through regression analysis, we found certain data properties such as mean–variance relationships were more accurately estimated under datasets with larger numbers of cells, as shown by the positive regression coefficients (Fig. 3a and Supplementary Fig. 5). Nevertheless, most other data properties in the simulated data were negatively correlated with the increasing number of cells (e.g. library size, gene correlation). These observations suggest that overall, the increasing cell number may be accompanied by the increasing complexity of data and thus maintaining data properties may become more challenging. Future method development should consider this factor as an aspect of evaluation when assessing model performance.
To examine the impact of sequencing protocols, we utilised datasets consisting of multiple protocols applied to the same human PBMC and mouse cortex samples from the same study^{20}. Figure 3b and Supplementary Fig. 7 reveal no substantial impact was introduced by protocol difference on the overall simulation results, as indicated by the flatness of the line representing the accuracy of each data property across each protocol. Taken together, these results indicate that the choice of reference input being shallow sequencing or deep sequencing has no substantial impact on the overall simulation results. Given that SymSim and powsimR are the only two methods that require specification of input data as either deep or shallow protocols, these results suggest that a general simulation framework for the two major classes of protocols may be sufficient.
Comparison across criteria revealed common areas of strength and weakness
While the key focus of our benchmark framework is assessing methods’ performance across multiple criteria, we can further use these results to identify criteria where most methods performed well or were lacking (Fig. 4a). Comparing across criteria, those that display a large difference between the simulated and real data for most methods are examples of common weakness. This ability to identify common weakness has implications for future method development as it highlights ongoing challenges of simulation methods.
First, we compared the accuracy of maintaining each data property, where a larger KDE score indicates greater similarity between simulated and real data. Figure 4b shows data properties relating to the higherorder interactions including mean–variance relationship of genes revealed larger differences between the simulated and real data. In comparison, a number of gene and cellwise properties such as fraction of zero per cell had relatively higher KDE scores, suggesting they were more accurately captured by almost all simulation methods. These observations thus highlight the difficulty in incorporating higherorder interactions by current simulation methods in general, and the potential area for method development.
The ability to recapture biological signals was quantified using the metric symmetric mean absolute percentage error (SMAPE), where a score closer to 1 indicates greater similarity between simulated and real data (see ‘Methods’). We found differentially distributed (DD) and differential proportion (DP) genes exhibited a greater difference between simulated and real data (Fig. 4b). We also noted that four out of the 12 methods consistently had very low SMAPE score of between 0 and 0.3, indicating the biological signals in the simulated data were at a very different proportion to that in real data. Upon closer examination, these methods simulated close to zero proportions of biological signals irrespective of the true proportion in the real data (Supplementary Fig. 6). Together, these observations point to the need for better strategies to simulate biological signals.
Discussion
We presented a comprehensive benchmark study assessing the performance of 12 singlecell simulation methods using 35 datasets and a total of 25 criteria across four aspects of interest. Our primary focus was on assessing accuracy of data property estimation and various factors affecting it, ability to maintain biological signals and computational scalability, as well as applicability. Additionally, using these results we also identified common areas of strength and weakness of current simulation tools. Altogether, we highlighted recommendations for method selection and identified areas of improvement for future method development.
We found that various underlying models were used for different simulation methods (Table 1). Each of the five top performing methods in category 1, for instance, uses a different underlying statistical approach (Table 1). As another example, the three methods ZINBWaVE, zingeR and powsimR differ substantially in detail despite the fact that they are all inspired by representing the observed counts using the NB family. Specifically, zingeR uses NB distribution to fit the mean and dispersion of the count data and model the excess zero using the interaction between gene expression and sequencing depth using additive logistic regression model. powsimR uses the standard ZINB distribution to fit the mean and dispersion of the count data, with the zero inflation modelled using binomial sampling. In ZINBWaVE, the ZINB distribution is used to fit the mean and dispersion of the count data, as well as the probability that a zero is observed. Additionally, the estimation of mean and zero probability incorporates an additional parameter adapted from the RUV framework^{21} to capture unknown celllevel covariates. Therefore, while both powsimR and ZINBWaVE use ZINB distribution to fit the count data, the actual model differs. Interestingly, while deep learning methods have dominated various fields and applications, cscGAN, a deep learningbased model, for scRNAseq data simulation only had moderate performance compared to the other models. This may be due to the large number of cells required for training the deep neural network in cscGAN as was demonstrated in their original study^{14}.
Based on the experiments conducted, we identified several areas of exploration for future researchers. Maintaining a reasonable amount of biological signal is desirable and was not well captured by a number of methods. We also observed the genes generated by some methods (Table 1) were assigned uninformative names such as gene 1 and exhibit no relationship with genes from the real data. This limited us to assessing the proportion of biological signals in the simulated data, instead of assessing whether the same set of genes carrying biological signals (e.g. marker gene) are maintained in the simulated data. Incorporating the additional functionality of preserving biologically meaningful genes is likely to increase the usability of future simulation tools. Furthermore, we noted that several simulation studies only assessed their methods based on a number of gene and cellwise properties and did not examine higherorder interactions. Those studies are thus limited in the ability to uncover limitations in their methods. In comparison, our benchmark framework covered a comprehensive range of criteria and identified relative weakness of maintaining certain higherorder interactions compared to gene and cellwise properties.
As expected, we identified that none of the simulation methods assessed in this study could maintain the heterogeneity in cell population that was due to patient variability. This is potentially related to the paradigm used by current simulation techniques, as some methods implicitly require input to be a homogeneous population. For instance, some simulation studies inferred modelling parameters and performed simulation on each cell type separately when the reference input contains multiple cell types. However, experimental datasets with data from multiple samples, for example multiple patients, would be characterised by sampletosample variability within a cell type. This cellular heterogeneity is an important characteristic of singlecell data and has key applications such as identification of subpopulations. The loss of heterogeneity can thus be a limiting factor, as in some cases the simulation data could be an oversimplified representation of singlecell data. Future research such as phenotypeguided simulation^{22} can help to extend the use of simulation methods.
Finally, we found there exists various tradeoffs between the four aspects of criteria and having a wellrounded approach could be more important than a framework that performs best on one aspect but limiting in the other aspects. For example, as singlecell field advances and datasets with hundreds of thousands of cells become increasingly common, users may be interested in simulating largescale datasets to test the scalability of their methods. As a result, methods that rank highly on scalability while also performing well on other aspects (e.g. SPARSim, scDesign and Splat) may be more favourable than other methods under these scenarios. We also note that due to the primary intended purpose of each method, not all methods allow users to customise the number of cell groups and the amount of differential expression between groups. Method that offers a wellrounded approach across multiple aspects of interests is therefore a direction of future research.
While we aim to provide a comprehensive assessment of available simulation methods, our study is not without limitations. For example, a few methods were excluded in this study due to their unique properties. SERGIO^{23} is able to simulate regulation of genes by transcriptional factors, and therefore requires gene regulatory networks as one of the inputs. Both PROSSTT^{24} and dyngen^{25} are designed to simulate scRNAseq data with trajectory information and require userdefined lineage trees. Lun’s^{26} was originally designed to tackle confounding plate effects in DE analysis and it requires plate information to be specified in the input. These simulation methods may need special considerations and evaluation criteria that could not be captured by the general framework in this study. Although the choice of DE detection methods could affect the evaluation of the simulation methods, our evaluation using both limma, a DE method originally designed for bulk RNAseq data, and DEsingle, a DE method specifically designed for scRNAseq data demonstrate a high agreement of the rankings of simulation methods based on the two DE methods (Fig. 2b).
In conclusion, we have illustrated the usefulness of our framework by summarising each method’s performance across different aspects to assist with method selection for users and identify areas of further improvement for method developers. We advise users to select the method that offers the functionality best suited to their purpose and developers to address the limitations of current methods. The evaluation framework has been made publicly available as the R package SimBench (https://github.com/SydneyBioX/SimBench). SimBench allows any new simulation methods to be readily assessed under our framework. It requires two inputs including the simulated data generated by any simulation method and the real data that was used as the reference input to generate the simulated data. SimBench then runs the evaluation procedure as performed in this study. We also provide all datasets used in this study as a Bioconductor data package SimBenchData (https://bioconductor.org/packages/devel/data/experiment/html/SimBenchData.html). Together these two packages enable future simulation methods to be assessed and compared with the methods benchmarked in this study. Additionally, we provide a Shiny application for interactively exploring the results presented in this study hosted at http://shiny.maths.usyd.edu.au/. The application allows users to select datasets of their interest, such as within a certain range of cell numbers, and examine methods performance based on the specified datasets. Furthermore, we will provide updates to the website to include the benchmark results from new simulation methods when they become available so that our comparative study will stay uptodate and will support future method development.
Methods
Dataset collection
A total of 35 publicly available datasets was used for this benchmark study. For all datasets, the cell type labels are either publicly available or obtained from the authors upon request^{27}. Details of each dataset including their accession code are included in the Supplementary Data 1. The datasets contain a range of sequencing protocols including both unique molecular identifiers (UMIs) and readbased protocols, multiple tissue types and conditions, and from human and mouse origin.
The raw (unnormalised) count matrix was obtained from each study and quality control was performed by removing potentially lowquality cells or empty droplets that expressed less than one percent of UMIs. For methods that require normalised count, we converted the raw count into log2 counts per million reads (CPM), with addition of pseudocount of 1 to avoid calculating log of zero.
Note the Tabula Muris dataset was only used to benchmark speed and scalability of methods. Properties estimation was evaluated on all other datasets. For evaluating biological signals, 25 datasets containing multiple cell types or conditions as specified by Supplementary Data 1 were used.
Selection and implementation of simulation methods
An extensive literature review was conducted and a total of 12 published singlecell simulation methods with implementation available in R and Python was found. The details of each method, including the version of the code used in this benchmark study and its publication are outlined in Table 1 and Supplementary Table 1. Supplementary Table 2 detailed the execution strategy of each method for data property estimation and biological signals and is dependent on the input requirement and the documentation of each method. Where possible, default setting or suggested setting from documentation is followed.
To ensure the simulated data is not simply a memorisation of the original data, we randomly split each dataset into 50% training and 50% testing (referred to as the real data in this study). The training data was used as input to estimate model parameters and generate simulated data. The real data was used as the reference to evaluate the quality of the simulated data, by comparing the similarity between the simulated data and the real data. The same training and testing subset was used for all methods to avoid the data splitting process being a confounding factor in evaluation.
All methods were executed using a research server with dual Intel(R) Xeon(R) Gold 6148 Processor (40 total cores, 768 GB total memory). For methods that support parallel computation, we used 8 cores and stopped the methods if the simulation was not completed within 3 h. For methods that run on a single core, we stopped the methods if not completed within 8 h.
Evaluation of data property estimation
Data properties measured in this study
We adapted the implementation from countsimQC (v1.6.0)^{18}, which is an R package developed to evaluate the similarities between two RNAseq datasets, either bulk or singlecell and evaluated a total of 13 data properties across univariate and bivariate distribution. They are described in detail below:

Library size: total counts per cell.

TMM: weighted trimmed mean of Mvalues normalisation factor^{28}.

Effective library size: library size multiplied by TMM.

Scaled variance: zscore standardisation of the variance of gene expression in terms of log2 CPM.

Mean expression: mean of gene expression in terms of log2 CPM.

Variance expression: variance of gene expression in terms of log2 CPM.

Fraction zero cell: fraction of zeros per cell.

Fraction zero gene: fraction of zeros per gene.

Cell correlation: Spearman correlation between cells.

Gene correlation: Spearman correlation between genes.

Mean vs variance: the relationship between mean and variance of gene expression.

Mean vs fraction zero: the relationship between mean expression and the proportion of zero per gene.

Library size vs fraction zero: the relationship between library size and the proportion of zero per gene.
Note that properties relating to library size, including TMM and effective library size can only be calculated using unnormalised count matrix and could not be obtained from methods that generate normalised count. As a result, these scores were shown as a blank space in all relevant figures.
Evaluation measures
In this study, we used a nonparametric measure termed kernel density based global twosample comparison test^{17} (KDE test) to compare the data properties between simulated and real data. The discrepancy between two distributions is calculated based on the difference between the probability density functions, either univariate or multivariate, which are estimated via kernel smoothing.
The null hypothesis of the KDE test is that the two kernel density estimates are the same. An integrated squared error (ISE) serves as the measure of discrepancy and is subsequently used to calculate the final test statistic under the null hypothesis. The ISE is calculated as:
where f_{1} \({f}_{1}\)and f_{2} are the kernel density estimates of sample 1 and sample 2, respectively. The implementation from the R package ks (v1.10.7) was used for the KDE test performed in this study.
We used the test statistic from the KDE test as the measure to quantify the extent of similarity between simulated and real distributions. We applied a transformation rule by scaling the absolute value of the test statistic to [0,1] and then taking 1 minus the value as shown in the equation below:
where x is the raw value before transformation. The transformation is applied on the KDE scores obtained from all methods across all datasets, thus the x_{minimum} and x_{maximum} are defined based on those values. The purpose of the transformation is to follow the principle of, the higher the value the better and enable easier interpretation.
To assess the validity of the KDE statistic and compare it against other measures, for example, the wellestablished KS test for univariate distribution, we utilised the measures implemented in countsimQC package. It includes the implementation of the following six measures: Average silhouette width, average local silhouette width, nearest neighbour (NN) rejection fraction, KS statistics, scaled area between empirical cumulative distribution functions (eCDFs) and Runs statistics. For ease of comparing between the six measures and with the KDE test, we applied transformation rules where applicable such that the outputs from all measures are within the range of 0–1, where value closer to 1 indicates greater similarity. Similarly, the transformation is calculated from all methods across all datasets.
The measures and their transformation rules are:

1.
Average silhouette width
For each feature, the Euclidean distances to all other features were calculated. The feature was either gene or cell, depending on the data properties evaluated. A silhouette width s(i) was then calculated using the following formula:
$$s\left(i\right)=\frac{b\left(i\right)a\left(i\right)}{{{{{{\rm{max }}}}}}\left(a\left(i\right),b\left(i\right)\right)}$$(3)where b(i) is the mean distance between feature i and all other features in the simulation data, a(i) is the mean distance between feature i and all other features in the original dataset.
s(i) of all features is then averaged to obtain the average silhouette width. The range of silhouette width is [−1, 1]. A positive value close to 1 means the data point from the simulation data is similar to the original dataset. Value close to 0 means the data point is close to the decision boundary between the original and simulated. A negative value means the data point from the original dataset is more similar to the simulation data. The same transformation as described in Eq. (2) was applied.

2.
Average local silhouette width
Similar to the average local silhouette width. The difference is that instead of calculating the distance with all the features, only the k NNs were used in the calculation. Default setting of k of 5 was used. The same transformation as described in Eq. (2) was applied.

3.
NN rejection fraction
First, for each feature the k NNs were found using Euclidean distance. A chisquare test was then performed with the null hypothesis being the composition of k NNs belonging to original and simulation data is similar to the true composition of real and simulation data. The NN rejection fraction was calculated as the fraction of features for which the test was rejected at a significance level of 5%.
The output is the range of [0,1], where a higher value indicates greater dissimilarity between the features from real and simulation data. The value was thus transformed by taking 1 minus the value.

4.
KolmogorovSmirnov (KS) statistic
The KS measure is based on KS statistic obtained from performing KS test, which measures the absolute max distance between the eCDFs of simulated and real dataset. The KS statistics is in range [0, Inf]. The KS measure was obtained by logtransformation followed by the transformation rule defined previously.

5.
Scaled area between empirical cumulative distribution functions (eCDFs)
The difference between the eCDFs of the properties in simulated and real dataset. The absolute value of the difference was then scaled such that the difference between the largest and smallest value becomes 1. The area under the curve was calculated using the Trapezoidal Rule. The final value is in the range of [0,1], where a value closer to 1 indicates greater differences between the data properties distributions of the real and simulation data. The value was then reversed by taking 1 minus the value such that it follows the general pattern of higher value being better.

6.
Runs statistics. The Runs statistics is the statistic from a onesided WaldWolfowitz runs test. The values from the simulated and real dataset were ordered and a runs test was performed. The null hypothesis is that the sequence is a random sequence with no clear pattern of values from simulated or real dataset next to each other in position.
Methods comparison through multistep score aggregation
In order to summarise the results from multiple datasets and multiple criteria, we implemented the following multistep procedure to aggregate the KDE scores.
First, we aggregated the KDE scores within each dataset. For most methods, each cell type in a dataset containing multiple cell types was simulated and evaluated separately for the reason mentioned in the previous section. This resulted in multiple KDE scores for a single dataset, one for each cell type. To aggregate the scores into a single score for a dataset, we calculated the weighted sum by using the cell type proportion as weight, defined as the follows:
where n is the number of cell types in the simulated or original datasets, x_{i} is the evaluation score of the ith cell type and w_{i} is the cell type proportion of the ith cell type.
Since each method was evaluated using multiple datasets, we then summarised the performance of each method across all datasets by taking the median score. This resulted in a single score for each method on each criterion, which then enabled us to readily rank each method by comparing the score. Cases where a method was not able to produce result on particular dataset were not considered in the scoring process. The reasons for failing to simulate a data include not completing the simulation in the given time limit, error arising in the simulation methods during the simulation process, and special cases in which the simulation method is limited to an input dataset containing two or more cell types and cannot generate result on datasets containing a single cell type. The breakdown of the number of datasets successfully simulated and the number of failed cases are reported in detail in Supplementary Fig. 4.
Finally, the overall rank of each method was computed by firstly calculating its rank for each criterion and then taking the mean rank across all criteria.
Evaluation of biological signals
The five categories of biological signals evaluated in this study were adapted from^{29} and their descriptions are detailed below.

1.
DE (limma)
This is the typical differentially expressed genes. Limma^{30} was performed to obtain the log fold change associated with each gene. We selected genes with log2 fold change > 1.

2.
DE (DEsingle)
This finds the differentially expressed genes using a DE detection method DEsingle^{31} that is specifically designed for scRNAseq data.

3.
DV
DV stands for differentially variable genes. Bartlett’s test for differential variability was performed to obtain the Pvalue associated with each gene.

4.
DD
DD stands for differentially distributed genes. KS test was performed to obtain the Pvalue associated with each gene.

5.
DP
DP is defined as differential proportion genes. We considered genes with log2 expression greater than 1 as being expressed and otherwise as nonexpressed. A chisquare test was then performed to compare the proportion of expression of each gene between two cell types.

6.
BD
BD is defined as bimodally distributed genes. Bimodality index defined using the below formula was calculated for each gene:
where m_{1} and m_{2} are the mean expression of genes in the two cell types, respectively, s is the standard deviation and p is the proportion of cells in the first cell type.
For the first five categories, genes with Pvalue < 0.1 (BenjaminiHochberg adjusted) were selected. This higher threshold was used instead of the typical threshold of 0.05 to result in a higher proportion of biological signals, as larger value would enable clearer differentiation of methods’ performance. For the last category, we used bimodality index^{32} >0.03 as the cutoff to yield a reasonable proportion of BD genes (Supplementary Fig. 6).
To quantify the performance of each method, we used SMAPE^{33}:
where F_{t} is the proportion of biological signals in simulated data and A_{t} is the proportion in the corresponding real data, n is the number of data points, one from each dataset evaluated. The proportion was calculated as the number of biological signal genes divided by the total number of genes in a given dataset.
Evaluation of scalability
To reduce potential confounding effect, we measured scalability using the Tabula Muris dataset only. The dataset was subset to the two largest cell types and random samples of the cells without replacement were taken to generate datasets containing 50, 100, 250, 500, 750, 1000, 1250, 1500, 2500, 3000, 4000, 6000 and 8000 cells with equal proportion of the two cell types.
Running time of each method was measured using the Sys.time function builtin R and the time.time function builtin Python. Tasks that did not finish within the given time limit are considered as no result generated. To record the maximal memory for R methods we used the function Rprofmem in the builtin utils Package in R. For Python methods we used the psutil package and measured the maximal Resident Set Size. All measurements were repeated three times and the average was reported.
In the majority of methods, simulation was performed in a twostep process. In the first step, a range of properties is estimated from a given dataset. This set of properties are then used in the second step of generating the simulation data. For these methods, the time and memory usage of the two steps was recorded separately and shown in Supplementary Fig. 4. For other methods where the two processes were completed in one single function, we measured the time and memory usage of this single step and used a dashed line to indicate these methods in Supplementary Fig. 4.
In order to compare and rank the methods as shown in Fig. 2, we summed the time and memory of the methods that use twostep procedure and displayed the total time and memory usage, such that their results became comparable with methods that involve one single step. Some methods did not complete the simulation within the given time, and the time and memory usage were unable to be recorded as the result. These timed out simulations would bias the result when ranking the methods based on the total time and memory usage. To account for this case, we assigned these simulation jobs a total time usage as the time limit and a memory usage as the memory of the previous simulation task. For example, a method that failed to simulate 8000 cells within the time limit of 8 h was assigned 8 h as the total time usage, and a memory usage as the memory recorded when simulating the previous job of 6000 cells.
Evaluation of impact of data characteristics
We selected a subset of datasets to examine the impact of the number of cells and sequencing technologies. Briefly, each dataset was split into 50% training and 50% testing. Transformed KDE score was then calculated from the raw score obtained from all methods across the selected datasets, resulting in values ranging between 0 and 1.
Impact of number of cells
To assess the impact of the number of cells on the accuracy of data property estimation, we used the Tabula Muris dataset subset to the two largest cell types and sampled to create datasets of 100, 200, 500, 1000, 1500, 2000, 2500, 3000, 5000, 6000, 8000, 12,000 and 16,000 cells. Each dataset was split into 50% training and 50% testing as previously described.
Linear regression was fitted using the lm function in the builtin stats package in R for each of the 13 data properties. This resulted in a total of 13 regression models with the formula defined as:
The response variable y was the KDE score corresponding to the data property and the exploratory variables x_{1} was the number of cells measured in 1000.
Impact of the sequencing protocols
To assess the impact of the sequencing protocols while avoiding potential batch effect, we utilised two sets of datasets from the same study^{20} that sequenced the same tissue type using multiple protocols. It contains human PBMC data generated using the following six protocols, 10x Genomics, CELseq2, Dropseq, inDrops, SeqWell and Smartseq2 and mouse cortex cells using the following four protocols of sciRNAseq, 10x Genomics, DroNcseq and Smartseq2.
ANOVA was fitted using the builtin stats package in R to examine whether there was significant change in mean KDE score across the above datasets of different sequencing technologies for each simulation method. Pvalues were displayed on the figures.
Reporting summary
Further information on research design is available in the Nature Research Reporting Summary linked to this article.
Data availability
All datasets used in this study are publicly available. Details on each dataset including accession numbers and source websites are listed in Supplementary Data 1. Curated version of the datasets is available as a Bioconductor package under the name SimBenchData (https://bioconductor.org/packages/devel/data/experiment/html/SimBenchData.html).
Code availability
The benchmark framework is available as an R package at https://github.com/SydneyBioX/SimBench^{34}. A Shiny application for interactively exploring the results is available at http://shiny.maths.usyd.edu.au/.
References
Kolodziejczyk, A. A., Kim, J. K., Svensson, V., Marioni, J. C. & Teichmann, S. A. The technology and biology of singlecell RNA sequencing. Mol. Cell 58, 610–620 (2015).
Luecken, M. D. & Theis, F. J. Current best practices in single‐cell RNA‐seq analysis: a tutorial. Mol. Syst. Biol. 15, e8746 (2019).
Vieth, B., Ziegenhain, C., Parekh, S., Enard, W. & Hellmann, I. powsimR: power analysis for bulk and single cell RNAseq experiments. Bioinformatics 33, 3486–3488 (2017).
Zappia, L., Phipson, B. & Oshlack, A. Splatter: simulation of singlecell RNA sequencing data. Genome Biol. 18, 174 (2017).
Korthauer, K. D. et al. A statistical approach for identifying differential distributions in singlecell RNAseq experiments. Genome Biol. 17, 222 (2016).
Anders, S. & Huber, W. Differential expression analysis for sequence count data. Genome Biol. 11, R106 (2010).
Risso, D., Perraudeau, F., Gribkova, S., Dudoit, S. & Vert, J.P. A general and flexible method for signal extraction from singlecell RNAseq data. Nat. Commun. 9, 284 (2018).
Van den Berge, K. et al. Observation weights unlock bulk RNAseq tools for zero inflation and singlecell applications. Genome Biol. 19, 24 (2018).
Li, W. V. & Li, J. J. A statistical simulator scDesign for rational scRNAseq experimental design. Bioinformatics 35, i41–i50 (2019).
Zhang, X., Xu, C. & Yosef, N. Simulating multiple faceted variability in single cell RNA sequencing. Nat. Commun. 10, 2611 (2019).
Baruzzo, G., Patuzzi, I. & Di Camillo, B. SPARSim single cell: a count data simulator for scRNAseq data. Bioinformatics 36, 1468–1475 (2020).
Su, K., Wu, Z. & Wu, H. Simulation, power evaluation and sample size recommendation for singlecell RNAseq. Bioinformatics 36, 4860–4868 (2020).
Assefa, A. T., Vandesompele, J. & Thas, O. SPsimSeq: semiparametric simulation of bulk and singlecell RNAsequencing data. Bioinformatics 36, 3276–3278 (2020).
Marouf, M. et al. Realistic in silico generation and augmentation of singlecell RNAseq data using generative adversarial networks. Nat. Commun. 11, 166 (2020).
Lähnemann, D. et al. Eleven grand challenges in singlecell data science. Genome Biol. 21, 31 (2020).
Vieth, B., Parekh, S., Ziegenhain, C., Enard, W. & Hellmann, I. A systematic evaluation of single cell RNAseq analysis pipelines. Nat. Commun. 10, 4667 (2019).
Duong, T., Goud, B. & Schauer, K. Closedform densitybased framework for automatic detection of cellular morphology changes. Proc. Natl Acad. Sci. USA 109, 8382–8387 (2012).
Soneson, C. & Robinson, M. D. Towards unified quality verification of synthetic count data with countsimQC. Bioinformatics 34, 691–692 (2018).
Tabula Muris Consortium. et al. Singlecell transcriptomics of 20 mouse organs creates a Tabula Muris. Nature 562, 367–372 (2018).
Ding, J. et al. Systematic comparison of singlecell and singlenucleus RNAsequencing methods. Nat. Biotechnol. 38, 737–746 (2020).
GagnonBartsch, J. A. & Speed, T. P. Using control genes to correct for unwanted variation in microarray data. Biostatistics 13, 539–552 (2012).
Sun, D. et al. Phenotypeguided subpopulation identification from singlecell sequencing data. Nat. Biotechnol.11, 1–12 (2021).
Dibaeinia, P. & Sinha, S. SERGIO: a singlecell expression simulator guided by gene regulatory networks. Cell Syst. 11, 252–271.e11 (2020).
Papadopoulos, N., Gonzalo, P. R. & Söding, J. PROSSTT: probabilistic simulation of singlecell RNAseq data for complex differentiation processes. Bioinformatics 35, 3517–3519 (2019).
Cannoodt, R., Saelens, W., Deconinck, L. & Saeys, Y. Spearheading future omics analyses using dyngen, a multimodal simulator of single cells. Nat. Commun. 12, 3942 (2021).
Lun, A. T. L. & Marioni, J. C. Overcoming confounding plate effects in differential expression analyses of singlecell RNAseq data. Biostatistics 18, 451–464 (2017).
Chen, W. et al. UMIcount modeling and differential expression analysis for singlecell RNA sequencing. Genome Biol. 19, 70 (2018).
Robinson, M. D. & Oshlack, A. A scaling normalization method for differential expression analysis of RNAseq data. Genome Biol. 11, R25 (2010).
Lin, Y. et al. scClassify: sample size estimation and multiscale classification of cells using single and multiple reference. Mol. Syst. Biol. 16, e9389 (2020).
Ritchie, M. E. et al. limma powers differential expression analyses for RNAsequencing and microarray studies. Nucleic Acids Res. 43, e47 (2015).
Miao, Z., Deng, K., Wang, X. & Zhang, X. DEsingle for detecting three types of differential expression in singlecell RNAseq data. Bioinformatics 34, 3223–3224 (2018).
Wang, J., Wen, S., Symmans, W. F., Pusztai, L. & Coombes, K. R. The bimodality index: a criterion for discovering and ranking bimodal signatures from cancer gene expression profiling data. Cancer Inf. 7, 199–216 (2009).
Armstrong, J. S. LongRange Forecasting (Wiley, 1978).
Cao, Y. A benchmark study of simulation methods for singlecell RNA sequencing data. SydneyBioX/SimBench. https://doi.org/10.5281/ZENODO.5575047 (2021).
Sun, T., Song, D., Li, W. V. & Li, J. J. scDesign2: a transparent simulator that generates highfidelity singlecell gene expression count data with gene correlations captured. Genome Biol. 22, 163 (2021).
Acknowledgements
The authors would like to thank all their colleagues, particularly at The University of Sydney, School of Mathematics and Statistics, for their intellectual engagement and constructive feedback. This study was made possible in part by the Australia National Health and Medical Research Council (NHMRC) Investigator Grant (APP1173469) to P.Y.; NHMRC CRE Grant (APP1135285) to J.Y.H.Y.; AIR@innoHK programme of the Innovation and Technology Commission of Hong Kong to P.Y. and J.Y.H.Y.; Research Training Program Tuition Fee Offset and University of Sydney Postgraduate Award Stipend Scholarship to Y.C.
Author information
Authors and Affiliations
Contributions
J.Y.H.Y. and P.Y. conceived the study. Y.C. performed the experiments and interpreted the results with input from J.Y.H.Y. and P.Y. All authors wrote, read and approved the final paper.
Corresponding authors
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Peer review information Nature Communications thanks Olivier Thas and the other, anonymous, reviewer(s) for their contribution to the peer review of this work. Peer reviewer reports are available.
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Cao, Y., Yang, P. & Yang, J.Y.H. A benchmark study of simulation methods for singlecell RNA sequencing data. Nat Commun 12, 6911 (2021). https://doi.org/10.1038/s4146702127130w
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s4146702127130w
This article is cited by

Feature selection followed by a novel residualsbased normalization that includes variance stabilization simplifies and improves singlecell gene expression analysis
BMC Bioinformatics (2024)

Systematic evaluation with practical guidelines for singlecell and spatially resolved transcriptomics data simulation under multiple scenarios
Genome Biology (2024)

BIDCell: Biologicallyinformed selfsupervised learning for segmentation of subcellular spatial transcriptomics data
Nature Communications (2024)

Challenges and perspectives in computational deconvolution of genomics data
Nature Methods (2024)

Challenges and best practices in omics benchmarking
Nature Reviews Genetics (2024)
Comments
By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.