Introduction
Single-cell RNA sequencing (scRNA-seq) simulation algorithms are essential for evaluating computational pipelines, developing clustering methods, and benchmarking differential expression detectors under controlled ground-truth conditions. However, to ensure findings translate reliably to real biological data, researchers must rigorously evaluate how faithfully synthetic datasets replicate empirical experiments.
scSimEval provides a standardized,
reference-based benchmarking framework to systematically quantify
single-cell simulation accuracy. For unimodal
scRNA-seq, scSimEval
evaluates synthetic data across 7 active evaluation categories
comprising 44 curated metrics:
- Category I: Distributional Properties (14 metrics) — Univariate and bivariate statistical distances (Wasserstein, Kolmogorov–Smirnov, MAD, Bhattacharyya, nearest-neighbor divergence) across cell-level and gene-level properties.
- Category II: Sparsity & Zero-Inflation Dynamics (4 metrics) — Logistic dropout curve parameters (midpoint error x_0, slope error k, fit discrepancy R^2) and excess zero proportions.
- Category III: Cellular Manifold & Clustering Concordance (8 metrics) — High-dimensional geometry preservation, Maximum Mean Discrepancy (MMD), Generative Precision & Recall, Average Silhouette Width (ASW), Clustering Deviation Index (CDI), Adjusted Rand Index (ARI), and Normalized Mutual Information (NMI).
- Category IV: Technical Variation & Batch Mixing Dynamics (5 metrics) — Batch Silhouette Width, Principal Component Regression (PCR\ R^2), Cell-Specific Mixing Score (CMS), Inverse Simpson’s Index (ISI), and cross-batch cell-type classification F1.
-
Category V: Biological Signal & Differential Expression
(DEG) Fidelity (6 metrics) — Pseudobulk
edgeR-QLFstatistical testing assessing null p-value uniformity, marker gene detection accuracy, precision, recall, F1-score, and ROC-AUC. - Category VII: Trajectory & Lineage Topology (5 metrics) — HVG-filtered dynverse lineage modeling measuring milestone graph topology similarity (HIM, edge-flip), geodesic distance correlation, branch assignment F1, and Random Forest driver feature importance correlation.
-
Category VIII: Computational Scalability &
Efficiency (2 metrics) — Hardware-normalized execution runtime
(
core_seconds) and resident peak memory per allocated core (memory_per_core_mib).
Note on Category VI: Category VI (Multiomics Integration & Alignment) evaluates cross-modality latent alignment between scRNA-seq and scATAC-seq co-assays, and is naturally inactive for unimodal scRNA-seq evaluations.
Direction-Aware Score Normalization
Raw metrics span diverse physical units (Kolmogorov–Smirnov
distances, runtimes in seconds, RAM in MiB, correlation coefficients).
scSimEval transforms all raw metrics into
standardized, direction-aware fidelity scores in [0, 1], where 1.0 represents ideal concordance with the
biological reference: * For distance or error metrics where
lower values represent superior accuracy (e.g., Wasserstein, MMD,
dropout midpoint error), scores are inverted: \text{Score} = \exp(-\gamma \cdot
\text{distance}). * For bounded correlation and concordance
indices where higher values represent superior fidelity (e.g., ARI, NMI,
Generative Precision, ROC-AUC), scores are scaled linearly to [0, 1]. * For mixing and balance metrics
where values closer to zero indicate optimal batch mixing without
clustering artifacts (e.g., Batch Silhouette), scores are centered
symmetrically.
1. Input Data Requirements & Object Setup
To evaluate any scRNA-seq simulation, scSimEval requires
two primary components alongside cell-level metadata:
-
Empirical Biological Reference
(
ref_sce):- A Bioconductor
SingleCellExperimentcontaining raw scRNA-seq counts (\text{genes} \times \text{cells}). Users starting from Seurat can convert viaSeurat::as.SingleCellExperiment(). -
Cell-Type (
cell_typeincolData): Identifies biological cell identities (Categories III and V). -
Batch (
batchincolData): Identifies technical batches or donor replicates (Categories IV and V).
- A Bioconductor
-
Simulated Datasets (
sim_sce):- One or more synthetic
SingleCellExperimentobjects generated by candidate simulation algorithms withcell_typeandbatchincolData.
- One or more synthetic
-
Computational Resource Logs (Optional / Category
VIII):
- Simulation elapsed wall-clock time (
elapsed_time), peak memory consumption (memory_mb), and the number of CPU cores allocated during simulation (sim_cores).
- Simulation elapsed wall-clock time (
Illustrative Case Study: 6 State-of-the-Art Simulators
In this demonstration, we benchmark 6 representative
single-cell simulators configured to simulate single-cell RNA
data from an empirical biological reference (rice bud tissue: 1,558
genes \times 2,589 single cells across
8 annotated cell types and 2 technical batches): 1.
scMultiSim (Multi-modal kinetic and
spatial simulator) 2. scDesign3 (Unified
probabilistic model with copula framework) 3.
MOSim (Multi-omics simulation with
user-defined differential profiles) 4.
scCross (Cross-modality generative
adversarial network) 5. scMoMtF (Matrix
factorization for single-cell multiomics) 6.
Matilda (Deep generative neural network
for single-cell data)
Empirical execution wall-clock runtimes and peak RAM consumption tracked during data simulation under a 16-core allocation are summarized below:
| Simulator | Wall-Clock Runtime (s) | Peak Resident Memory | Memory Unit | CPU Cores |
|---|---|---|---|---|
| scMultiSim | 191.89 | 1139.00 | MiB | 16 |
| scDesign3 | 87.87 | 5713.90 | MiB | 16 |
| MOSim | 294.45 | 1399.50 | MiB | 16 |
| scCross | 867.68 | 1322.84 | MB | 16 |
| scMoMtF | 13.84 | 339.69 | MB | 16 |
| Matilda | 57.32 | 352.26 | MB | 16 |
2. Running the Unified Benchmarking Pipeline
The master evaluation entrypoint in scSimEval is
evaluate_simulation_accuracy(). It automatically identifies
the analysis modality, validates input dimensions, extracts statistical
distributions, performs pseudobulk differential testing, evaluates
trajectory topologies, and standardizes all scores.
2.1 Benchmarking a Single Simulator
For evaluating a single simulator against an empirical reference:
library(scSimEval)
# Run full evaluation across all active scRNA-seq categories
eval_result <- evaluate_simulation_accuracy(
ref_sce = ref_sce, # Reference SingleCellExperiment
sim_sce = sim_sce, # Simulated SingleCellExperiment
cell_type_col = "cell_type", # colData column for cell types
batch_col = "batch", # colData column for batch replicates
modality = "scRNA-seq", # Analysis modality
elapsed_time = 87.87, # Simulation runtime in seconds
time_unit = "seconds",
memory_mb = 5713.90, # Simulation peak RAM
memory_unit = "MiB",
sim_cores = 16L, # Allocated simulation cores
compute_bivariate = TRUE,
threads = 16, # Multiprocessing threads for evaluation
verbose = TRUE
)
# Inspect tidy metrics summary table
head(eval_result$metrics_summary_table)2.2 Benchmarking Multiple Simulators in Batch Mode
When comparing multiple simulation algorithms, users can iterate over a configured list of simulator outputs:
# Define list of candidate simulators and their scalability parameters
simulator_suite <- list(
scMultiSim = list(obj = obj_scmultisim, time = 191.89, mem = 1139.00, mem_u = "MiB"),
scDesign3 = list(obj = obj_scdesign3, time = 87.87, mem = 5713.90, mem_u = "MiB"),
MOSim = list(obj = obj_mosim, time = 294.45, mem = 1399.50, mem_u = "MiB"),
scCross = list(obj = obj_sccross, time = 867.68, mem = 1322.84, mem_u = "MB"),
scMoMtF = list(obj = obj_scmomtf, time = 13.84, mem = 339.69, mem_u = "MB"),
Matilda = list(obj = obj_matilda, time = 57.32, mem = 352.26, mem_u = "MB")
)
all_benchmark_results <- list()
for (sim_name in names(simulator_suite)) {
cfg <- simulator_suite[[sim_name]]
cat("[scSimEval] Benchmarking:", sim_name, "...\n")
eval_out <- evaluate_simulation_accuracy(
ref_sce = ref_sce,
sim_sce = cfg$obj,
modality = "scRNA-seq",
elapsed_time = cfg$time,
time_unit = "seconds",
memory_mb = cfg$mem,
memory_unit = cfg$mem_u,
sim_cores = 16L,
compute_bivariate = TRUE,
threads = 16,
verbose = FALSE
)
tbl <- eval_out$metrics_summary_table
tbl$Method <- sim_name
tbl$Dataset <- "scRNA-seq Benchmark"
all_benchmark_results[[sim_name]] <- standardize_benchmark_categories(tbl)
}
# Consolidate into unified benchmark data frame
final_benchmark_df <- do.call(rbind, all_benchmark_results)
final_benchmark_df <- standardize_benchmark_categories(final_benchmark_df)
saveRDS(final_benchmark_df, "scSimEval_benchmark_results.rds")3. Inspecting Benchmark Results Across Evaluation Categories
The resulting evaluation table contains standardized columns: *
Dataset: Evaluated biological reference
dataset. * Method: Candidate simulator
evaluated. * Category: One of the 7 active
evaluation categories. * Metric:
Standardized metric identifier. *
Score_Raw: Unnormalized raw empirical
value (physical unit: seconds, MiB, KS statistic, correlation). *
Score: Standardized direction-aware
fidelity score normalized to [0, 1]
(1.0 = \text{best}).
Below we inspect representative metric scores across each evaluated category:
3.1 Category I: Global & Marginal Distributional Properties
Assesses univariate goodness-of-fit across cell library sizes, feature detection frequencies, expression means, and variances:
head(subset(final_benchmark_df, grepl("Distributional", Category))[, c("Method", "Property", "Metric", "Value", "Score")], 5)
#> Method Property Metric Value Score
#> scMultiSim.1 scMultiSim library_size Wasserstein 568.2232522 568.2232522
#> scMultiSim.2 scMultiSim library_size KS 0.9320201 0.9320201
#> scMultiSim.3 scMultiSim library_size MAD 560.0000000 560.0000000
#> scMultiSim.4 scMultiSim library_size Bhattacharyya 1.2751370 1.2751370
#> scMultiSim.5 scMultiSim library_size Runs_Statistic -63.7513911 -63.75139113.2 Category II: Sparsity & Zero-Inflation Dynamics
Quantifies dropout curve fidelity, midpoint shifts, transition slopes, and logistic zero-probability dynamics:
head(subset(final_benchmark_df, grepl("Sparsity", Category))[, c("Method", "Property", "Metric", "Value", "Score")], 5)
#> Method Property Metric
#> scMultiSim.157 scMultiSim dropout_curve slope_error
#> scMultiSim.158 scMultiSim dropout_curve midpoint_error
#> scMultiSim.159 scMultiSim dropout_curve r2_discrepancy
#> scMultiSim.160 scMultiSim excess_zero_weights excess_zero_weight_discrepancy
#> scDesign3.157 scDesign3 dropout_curve slope_error
#> Value Score
#> scMultiSim.157 0.09196064 0.09196064
#> scMultiSim.158 0.74999276 0.74999276
#> scMultiSim.159 0.11003824 0.11003824
#> scMultiSim.160 0.19099177 0.19099177
#> scDesign3.157 0.07187202 0.071872023.3 Category III: Cellular Manifold & Clustering Concordance
Measures Maximum Mean Discrepancy (MMD), generative precision and recall (sample fidelity vs. diversity), cluster separation (ASW), ARI, and NMI:
head(subset(final_benchmark_df, grepl("Manifold", Category))[, c("Method", "Property", "Metric", "Value", "Score")], 5)
#> Method Property Metric Value Score
#> scMultiSim.161 scMultiSim manifold MMD 0.3755185 0.3755185
#> scMultiSim.162 scMultiSim manifold Generative_Precision 0.0000000 0.0000000
#> scMultiSim.163 scMultiSim manifold Generative_Recall 0.0000000 0.0000000
#> scMultiSim.164 scMultiSim clustering silhouette_sim 0.1154894 0.1154894
#> scMultiSim.165 scMultiSim clustering cdi 1.6408140 1.64081403.4 Category IV: Technical Variation & Batch Mixing Dynamics
Evaluates batch silhouette widths, Principal Component Regression (PCR\ R^2), Cell-Specific Mixing Scores (CMS), and cross-batch cell-type classification transfer F1:
head(subset(final_benchmark_df, grepl("Batch", Category))[, c("Method", "Property", "Metric", "Value", "Score")], 5)
#> Method Property Metric Value Score
#> scMultiSim.169 scMultiSim batch_mixing batch_silhouette 0.152331238 0.152331238
#> scMultiSim.170 scMultiSim batch_mixing pcr_r2 0.158801686 0.158801686
#> scMultiSim.171 scMultiSim batch_mixing cms 0.002637605 0.002637605
#> scMultiSim.172 scMultiSim batch_mixing isi 1.317402480 1.317402480
#> scMultiSim.173 scMultiSim batch_mixing cross_batch_F1 0.933905776 0.9339057763.5 Category V: Biological Signal & Differential Expression (DEG) Fidelity
Evaluates pseudobulk edgeR-QLF differential testing,
assessing whether synthetic data preserves genuine marker genes without
inflating false discoveries:
head(subset(final_benchmark_df, grepl("Differential", Category))[, c("Method", "Property", "Metric", "Value", "Score")], 5)
#> Method Property Metric
#> scMultiSim.174 scMultiSim scRNA_differential_expression pval_dist_score
#> scMultiSim.175 scMultiSim scRNA_differential_expression accuracy
#> scMultiSim.176 scMultiSim scRNA_differential_expression precision
#> scMultiSim.177 scMultiSim scRNA_differential_expression recall
#> scMultiSim.178 scMultiSim scRNA_differential_expression f1_score
#> Value Score
#> scMultiSim.174 0.8074297 0.8074297
#> scMultiSim.175 0.8200303 0.8200303
#> scMultiSim.176 0.0000000 0.0000000
#> scMultiSim.177 0.0000000 0.0000000
#> scMultiSim.178 0.0000000 0.00000003.6 Category VII: Trajectory & Lineage Topology
Benchmarks milestone graph topology similarity (HIM, edge flip), geodesic distances, branch assignment F1, and Random Forest feature importance correlation:
head(subset(final_benchmark_df, grepl("Trajectory", Category))[, c("Method", "Property", "Metric", "Value", "Score")], 5)
#> Method Property Metric Value
#> scMultiSim.180 scMultiSim trajectory_topology him 0.4522082
#> scMultiSim.181 scMultiSim trajectory_topology edge_flip 0.4285714
#> scMultiSim.182 scMultiSim geodesic_ordering geodesic_correlation 0.1685611
#> scMultiSim.183 scMultiSim branch_concordance F1_branches 0.1510784
#> scMultiSim.184 scMultiSim dynamic_features wcor_features 0.3963435
#> Score
#> scMultiSim.180 0.4522082
#> scMultiSim.181 0.4285714
#> scMultiSim.182 0.1685611
#> scMultiSim.183 0.1510784
#> scMultiSim.184 0.39634353.7 Category VIII: Computational Scalability & Efficiency
Quantifies hardware-normalized resource expenditure in cumulative core-seconds and resident peak memory per allocated core:
head(subset(final_benchmark_df, grepl("Scalability", Category))[, c("Method", "Property", "Metric", "Value", "Score")], 6)
#> Method Property Metric Value
#> scMultiSim.185 scMultiSim resource_usage core_seconds 3070.24000
#> scMultiSim.186 scMultiSim resource_usage memory_per_core_mib 71.18750
#> scDesign3.185 scDesign3 resource_usage core_seconds 1405.92000
#> scDesign3.186 scDesign3 resource_usage memory_per_core_mib 357.11875
#> MOSim.185 MOSim resource_usage core_seconds 4711.20000
#> MOSim.186 MOSim resource_usage memory_per_core_mib 87.46875
#> Score
#> scMultiSim.185 3070.24000
#> scMultiSim.186 71.18750
#> scDesign3.185 1405.92000
#> scDesign3.186 357.11875
#> MOSim.185 4711.20000
#> MOSim.186 87.468754. Publication-Grade Comparative Visualizations
scSimEval provides an integrated suite of
publication-grade visualization functions designed to compare multiple
simulators across biological and computational dimensions. All figures
below are rendered directly with direction-aware normalized
scores.
4.1 Comparative Bubble Matrix
The comparative bubble matrix provides a high-level overview of the entire benchmarking study. Each column represents an individual evaluation metric, grouped by category, while each row represents a simulator. Bubble size and color gradient encode the normalized fidelity score [0, 1]:
p_bubble <- plot_benchmark_bubble_matrix(final_benchmark_df, assay_modality = "RNA", base_size = 12)
ggsave("figures/scSimEval_benchmark_bubble_matrix.png", plot = p_bubble, width = 26, height = 9, dpi = 300)
Figure 1: Comparative Bubble Matrix across 44 scRNA-seq evaluation metrics. Visualizes normalized fidelity scores across all 7 active categories for the 6 evaluated single-cell simulation algorithms.
4.2 Evaluation Summary Visualization
A synthesized radar/polar overview summarizing mean normalized fidelity scores across all active categories, highlighting the global strengths and trade-offs of each simulator:
p_summary <- plot_evaluation_summary(final_benchmark_df, normalize_scores = TRUE, base_size = 11)
ggsave("figures/scSimEval_evaluation_summary.png", plot = p_summary, width = 14, height = 7, dpi = 300)
Figure 2: Overall Simulator Evaluation Summary. Polar chart displaying category-level composite scores across the 7 evaluated dimensions.
4.3 Distribution QC Diagnostics: Q-Q Plots and Empirical Density
plot_distribution_qc() provides in-depth distributional
diagnostics comparing empirical reference distributions directly against
synthetic data generated by a simulator:
# Quantile-Quantile (Q-Q) plots for marginal properties
p_qc_qq <- plot_distribution_qc(
ref_data = ref_matrix,
sim_data = sim_matrix,
layout = "qq",
title = "Distribution QC Q-Q: Reference vs. Simulator"
)
ggsave("figures/scSimEval_distribution_qc_qq.png", plot = p_qc_qq, width = 13, height = 9, dpi = 300)
# Continuous probability density overlays
p_qc_density <- plot_distribution_qc(
ref_data = ref_matrix,
sim_data = sim_matrix,
layout = "density",
title = "Distribution QC Density: Reference vs. Simulator"
)
ggsave("figures/scSimEval_distribution_qc_density.png", plot = p_qc_density, width = 13, height = 9, dpi = 300)
Figure 3A: Distribution QC Quantile-Quantile (Q-Q) Diagnostics. Aligns quantiles of simulated library size, gene detection frequency, feature means, and feature variances against the reference dataset.

Figure 3B: Distribution QC Empirical Density Overlays. Compares empirical probability density curves between empirical reference and synthetic counts across marginal properties.
4.4 Metric Heatmap
A hierarchically clustered heatmap displaying relative simulator performance across all evaluated metrics:
p_heatmap <- plot_metric_heatmap(final_benchmark_df, scale_fill = "relative", base_size = 10)
ggsave("figures/scSimEval_metric_heatmap.png", plot = p_heatmap, width = 15, height = 10, dpi = 300)
Figure 4: Relative Metric Heatmap. Hierarchically clustered evaluation scores across all 44 metrics, identifying simulator clusters and characteristic performance profiles.
4.5 Metric Score Distributions Across Categories (Multi-Panel Boxplots)
plot_metric_boxplots() combines evaluation scores across
all active categories into a unified multi-panel visualization,
illustrating score distributions, median fidelity, and variance across
candidate simulators:
p_boxplots <- plot_metric_boxplots(final_benchmark_df, base_size = 10)
ggsave("figures/scSimEval_metric_boxplots.png", plot = p_boxplots, width = 14, height = 9, dpi = 300)
Figure 5: Metric Score Distributions Across Evaluation Categories. Multi-panel boxplot displaying the distribution and spread of normalized evaluation scores across all candidate simulators across active evaluation categories.
4.6 Principal Component Analysis (PCA) Ordination
plot_metric_pca() projects simulators and evaluation
metrics onto orthogonal axes of variation, highlighting which metrics
drive divergence among simulation algorithms:
p_pca <- plot_metric_pca(final_benchmark_df, panel = "both", top_n_loadings = 8, base_size = 11)
ggsave("figures/scSimEval_pca_ordination.png", plot = p_pca, width = 13, height = 6.5, dpi = 300)
Figure 6: PCA Ordination Biplot. Joint projection of simulators (sample space) and top 8 influential metric loadings (feature space).
4.7 Multidimensional Scaling (MDS) Metric Space
plot_metric_mds() computes pairwise distances among
simulators across summary metrics to visualize simulator proximity and
family clustering:
p_mds <- plot_metric_mds(final_benchmark_df, ordination_by = "summaries", normalize_scores = TRUE, base_size = 11)
ggsave("figures/scSimEval_mds_metric_space.png", plot = p_mds, width = 12, height = 7, dpi = 300)
Figure 7: Multidimensional Scaling (MDS) Metric Space. Ordination visualizing global similarity among simulation methods based on summary metric profiles.
4.8 UMAP Embeddings Grid Across Simulators
plot_dataset_embeddings() embeds empirical reference
cells and synthetic cells from all candidate simulators into a shared 2D
latent space, colored by cell type:
# Compute unified 2D UMAP coordinates
embedding_df <- compute_dataset_embeddings(
reference = ref_matrix,
simulated = list_of_sim_counts,
reduction = "umap",
cell_types = list_of_cell_types,
seed = 42
)
# Plot faceted comparison grid
p_umap <- plot_dataset_embeddings(
embedding_data = embedding_df,
reduction = "umap",
layout = "facet",
color_by = "cell_type",
base_size = 11
)
ggsave("figures/scSimEval_umap_grid.png", plot = p_umap, width = 15, height = 10, dpi = 300)
Figure 8: Faceted UMAP Embeddings Grid. Compares 2D cellular manifold geometry and cluster separation across the empirical reference and all 6 candidate simulators, colored by cell type.
4.9 Computational Scalability Benchmark (Combined 4-Panel)
plot_scalability_benchmark() generates a standardized
4-panel evaluation assessing core-seconds runtime, peak RAM per
allocated core, cell throughput, and computational efficiency
trade-offs:
p_scalability <- plot_scalability_benchmark(
benchmark_data = final_benchmark_df,
type = "composite",
layout = "4panel",
modality = "total",
time_unit = "core_seconds",
memory_unit = "MiB/core",
base_size = 11
)
ggsave("figures/scSimEval_scalability_benchmark.png", plot = p_scalability, width = 13, height = 8.5, dpi = 300)
Figure 9: Composite 4-Panel Computational Scalability Benchmark. Evaluates execution runtime (core-seconds), peak resident memory (MiB/core), cell throughput, and speed-memory trade-offs across simulators.
5. Session Information
sessionInfo()
#> R version 4.6.2 (2026-10-29)
#> Platform: x86_64-pc-linux-gnu
#> Running under: Ubuntu 24.04.4 LTS
#>
#> Matrix products: default
#> BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.12.0
#> LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.12.0 LAPACK version 3.12.0
#>
#> locale:
#> [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
#> [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
#> [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
#> [7] LC_PAPER=en_US.UTF-8 LC_NAME=C
#> [9] LC_ADDRESS=C LC_TELEPHONE=C
#> [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
#>
#> time zone: Asia/Kolkata
#> tzcode source: system (glibc)
#>
#> attached base packages:
#> [1] stats graphics grDevices utils datasets methods base
#>
#> loaded via a namespace (and not attached):
#> [1] digest_0.6.39 desc_1.4.3 R6_2.6.1 fastmap_1.2.0
#> [5] xfun_0.62 cachem_1.1.0 knitr_1.52 htmltools_0.5.9
#> [9] rmarkdown_2.32 lifecycle_1.0.5 cli_3.6.6 sass_0.5.0
#> [13] pkgdown_2.2.1 textshaping_1.1.0 jquerylib_0.1.4 systemfonts_1.3.4
#> [17] compiler_4.6.2 tools_4.6.2 ragg_1.5.2 bslib_0.12.0
#> [21] evaluate_1.0.5 yaml_2.3.12 otel_0.3.0 jsonlite_2.0.0
#> [25] rlang_1.3.0 fs_2.1.0 htmlwidgets_1.6.4