scSimEval provides a unified,
standardized benchmarking suite to evaluate how closely synthetic
single-cell datasets reproduce empirical biological references across
scRNA-seq, scATAC-seq, and
paired/unpaired single-cell multiomics.
scSimEval is built directly on Bioconductor core data
structures and statistical infrastructure:
SingleCellExperiment (and multi-modal
SingleCellExperiment objects with altExp()),
reading cell-type (cell_type) and replicate/batch
(batch) annotations directly from
SummarizedExperiment::colData(). Users starting from Seurat
objects can convert in one line via
Seurat::as.SingleCellExperiment().BiocParallel and Matrix sparse S4 methods for
scalable memory-efficient evaluation.edgeR (pseudobulk quasi-likelihood differential
expression/accessibility), CDI (Clustering Deviation
Index), scater and scuttle (QC and
normalization utilities), and CellMixS (cell-specific batch
mixing).Install the package from Bioconductor with:
if (!requireNamespace("BiocManager", quietly = TRUE)) {
install.packages("BiocManager")
}
BiocManager::install("scSimEval")All top-level scSimEval evaluation entry points center
on SingleCellExperiment objects containing
raw counts (assays(sce)$counts) and cell metadata columns
(cell_type and batch in
colData(sce)):
# Optional conversion if starting from Seurat:
# ref_sce <- Seurat::as.SingleCellExperiment(ref_seurat)
# sim_sce <- Seurat::as.SingleCellExperiment(sim_seurat)For multiomics studies, pass either a named list
list(RNA = rna_sce, ATAC = atac_sce) or a single
SingleCellExperiment containing the secondary assay in
altExp(sce, "ATAC").
First, load scSimEval and the bundled
example_scrna dataset (ref and
sim are SingleCellExperiment objects with
cell_type and batch already stored in
colData):
library(scSimEval)
library(SingleCellExperiment)
data("example_scrna", package = "scSimEval")
example_scrna$ref
#> class: SingleCellExperiment
#> dim: 100 100
#> metadata(0):
#> assays(1): counts
#> rownames(100): Os05g0257100 Os06g0142400 ... Os05g0550300 Os12g0181500
#> rowData names(0):
#> colnames(100): GTACTTAAGCTCAATA-1 CTTGACGAGTAGCGGG-1 ...
#> GTCAGGCTCCTCACAC-1 TAATTGCCAGCATGGA-1
#> colData names(5): orig.ident nCount_RNA nFeature_RNA cell_type batch
#> reducedDimNames(1): PCA
#> mainExpName: NULL
#> altExpNames(0):
head(colData(example_scrna$ref), 3)
#> DataFrame with 3 rows and 5 columns
#> orig.ident nCount_RNA nFeature_RNA cell_type batch
#> <character> <numeric> <integer> <factor> <factor>
#> GTACTTAAGCTCAATA-1 Rice_Bud_Ref 54 28 Bud_axis Bud_21
#> CTTGACGAGTAGCGGG-1 Rice_Bud_Ref 53 20 Bud_axis Bud_21
#> AAAGCACCAACCCTCC-1 Rice_Bud_Ref 39 21 Bud_axis Bud_21Run evaluate_simulation_accuracy() on
ref_sce and sim_sce. Here we include timing
and memory metadata to compute Category VIII scalability metrics
(compute_bivariate = FALSE and
include_trajectory = FALSE keep this quick-start vignette
fast):
scrna_res <- evaluate_simulation_accuracy(
ref_sce = example_scrna$ref,
sim_sce = example_scrna$sim,
cell_type_col = "cell_type",
batch_col = "batch",
modality = "scRNA-seq",
compute_bivariate = FALSE,
include_trajectory = FALSE,
elapsed_time = 12.4,
memory_mb = 420,
sim_cores = 2L,
threads = 1L,
verbose = FALSE
)
head(scrna_res$metrics_summary_table, 10)
#> Category Property Metric
#> 1 Distributional Properties library_size Wasserstein
#> 2 Distributional Properties library_size KS
#> 3 Distributional Properties library_size MAD
#> 4 Distributional Properties library_size Bhattacharyya
#> 5 Distributional Properties library_size Runs_Statistic
#> 6 Distributional Properties library_size NN_Mismatch
#> 7 Distributional Properties library_size Between_Dataset_Silh_Global
#> 8 Distributional Properties library_size MAE
#> 9 Distributional Properties library_size RMSE
#> 10 Distributional Properties library_size KDE_ISE
#> Value Modality Sim_Cores
#> 1 15.5100000000 scRNA-seq 2
#> 2 0.1500000000 scRNA-seq 2
#> 3 8.0000000000 scRNA-seq 2
#> 4 0.0254983351 scRNA-seq 2
#> 5 -0.1843114404 scRNA-seq 2
#> 6 0.0150000000 scRNA-seq 2
#> 7 0.0104231754 scRNA-seq 2
#> 8 15.5100000000 scRNA-seq 2
#> 9 22.4661968299 scRNA-seq 2
#> 10 0.0005628587 scRNA-seq 2We can summarize overall category scores or inspect distributional Q-Q / density concordance directly from the returned evaluation object:
plot_distribution_qc(
ref_data = example_scrna$ref,
sim_data = example_scrna$sim,
layout = "qq",
properties = c("library_size", "zero_fraction_cell", "mean_expression")
)For simultaneous co-assay simulations,
evaluate_multiomics_accuracy() jointly evaluates both
unimodal layers plus Category VI cross-modal alignment:
data("example_multiomics", package = "scSimEval")
multi_res <- evaluate_multiomics_accuracy(
ref_multi = example_multiomics$ref_multi,
sim_multi = example_multiomics$sim_multi,
pairing = "paired",
elapsed_time = 28.5,
memory_mb = 1024,
sim_cores = 2L,
threads = 1L,
verbose = FALSE
)
table(multi_res$benchmark_summary_table$Category)
#>
#> (VI) Multiomics Integration & Alignment
#> 5
#> (VII) Trajectory & Lineage Topology
#> 5
#> (VIII) Computational Scalability & Efficiency
#> 2
#> Biological Signal & Differential Fidelity
#> 12
#> Cellular Manifold & Clustering Concordance
#> 16
#> Distributional Properties
#> 302
#> Sparsity & Zero-Inflation Dynamics
#> 7
#> Technical Variation & Batch Mixing Dynamics
#> 10We can also compute normalized scores ([0, 1], where
1 is best) via normalize_bubble_scores() and
summarize multiple simulators with
plot_benchmark_bubble_matrix().
vignette("metrics-catalog", package = "scSimEval") for
definitions, formulas, and optimization directions for every measure
across Categories I–VIII..rds
aggregation vignettes.scSimEvalStudio
(scSimEvalStudio::launch_scSimEval_app()).sessionInfo()
#> R version 4.6.2 (2026-10-29)
#> Platform: x86_64-pc-linux-gnu
#> Running under: Ubuntu 26.04.1 LTS
#>
#> Matrix products: default
#> BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3
#> LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.32.so; 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: Etc/UTC
#> tzcode source: system (glibc)
#>
#> attached base packages:
#> [1] stats4 stats graphics grDevices utils datasets methods
#> [8] base
#>
#> other attached packages:
#> [1] SingleCellExperiment_1.37.0 SummarizedExperiment_1.45.0
#> [3] Biobase_2.75.0 GenomicRanges_1.67.0
#> [5] Seqinfo_1.5.0 IRanges_2.49.0
#> [7] S4Vectors_0.53.0 BiocGenerics_0.61.0
#> [9] generics_0.1.4 MatrixGenerics_1.27.0
#> [11] matrixStats_1.5.0 scSimEval_0.99.18
#> [13] rmarkdown_2.32
#>
#> loaded via a namespace (and not attached):
#> [1] RColorBrewer_1.1-3 sys_3.4.3
#> [3] jsonlite_2.0.0 magrittr_2.0.5
#> [5] SuppDists_1.1-9.9 ggbeeswarm_0.7.3
#> [7] farver_2.1.2 vctrs_0.7.3
#> [9] htmltools_0.5.9 S4Arrays_1.15.0
#> [11] BiocNeighbors_2.9.0 SparseArray_1.15.0
#> [13] sass_0.5.0 sctransform_0.4.3
#> [15] parallelly_1.50.0 KernSmooth_2.23-27
#> [17] bslib_0.12.0 ica_1.0-3
#> [19] plyr_1.8.9 cachem_1.1.0
#> [21] buildtools_1.0.0 igraph_2.3.4
#> [23] lifecycle_1.0.5 pkgconfig_2.0.3
#> [25] rsvd_2.0.0 Matrix_1.7-6
#> [27] R6_2.6.1 fastmap_1.2.0
#> [29] future_1.82.0 digest_0.6.39
#> [31] patchwork_1.3.2 Seurat_6.0.1
#> [33] scater_1.43.0 RSpectra_0.16-2
#> [35] irlba_2.4.1 beachmat_2.31.0
#> [37] labeling_0.4.3 progressr_1.1.0
#> [39] httr_1.4.9 abind_1.4-8
#> [41] compiler_4.6.2 proxy_0.4-29
#> [43] fasano.franceschini.test_2.2.2 withr_3.0.3
#> [45] S7_1.0.0 BiocParallel_1.49.0
#> [47] viridis_0.6.5 fastDummies_1.7.6
#> [49] MASS_7.3-66 DelayedArray_0.41.0
#> [51] ggsci_5.2.0 tools_4.6.2
#> [53] ranger_0.18.0 vipor_0.4.7
#> [55] otel_0.3.0 beeswarm_0.4.0
#> [57] future.apply_1.21.0 glue_1.8.1
#> [59] grid_4.6.2 Rtsne_0.17
#> [61] cluster_2.1.8.3 reshape2_1.4.5
#> [63] gtable_0.3.6 class_7.3-24
#> [65] data.table_1.18.6.1 BiocSingular_1.31.0
#> [67] ScaledMatrix_1.23.0 sp_2.2-4
#> [69] XVector_0.55.0 RcppAnnoy_0.0.23
#> [71] ggrepel_0.9.8 RANN_2.6.3
#> [73] pillar_1.11.1 stringr_1.6.0
#> [75] spam_2.11-4 RcppHNSW_0.7.0
#> [77] limma_4.1.0 splines_4.6.2
#> [79] dplyr_1.2.1 lattice_0.23-1
#> [81] emdist_0.3-3 tidyselect_1.2.1
#> [83] CDI_1.11.0 maketools_1.3.2
#> [85] scuttle_1.25.0 pbapply_1.7-5
#> [87] knitr_1.52 gridExtra_2.3.1
#> [89] edgeR_5.1.0 scattermore_1.2
#> [91] RhpcBLASctl_0.23-42 xfun_0.62
#> [93] pls_2.9-0 statmod_1.5.2
#> [95] stringi_1.8.9 yaml_2.3.12
#> [97] evaluate_1.0.5 codetools_0.2-20
#> [99] kSamples_1.2-12 tibble_3.3.1
#> [101] cli_3.6.6 uwot_0.2.5
#> [103] RcppParallel_6.2.1 jquerylib_0.1.4
#> [105] Rcpp_1.1.2 globals_0.20.0
#> [107] png_0.1-9 parallel_4.6.2
#> [109] ggplot2_4.0.4 dotCall64_1.2
#> [111] mclust_6.1.4 listenv_1.1.0
#> [113] viridisLite_0.4.3 scales_1.4.0
#> [115] ggridges_0.5.7 e1071_1.7-17
#> [117] SeuratObject_5.4.0 rlang_1.3.0
#> [119] cowplot_1.2.0