
Master Multiomics Simulation Benchmarking Pipeline
Source:R/09_evaluate_benchmark.R
evaluate_multiomics_accuracy.RdOrchestrates comprehensive benchmarking across all 8 evaluation categories
using SingleCellExperiment inputs (either a multi-modal SCE containing
an altExp for chromatin accessibility, or a named list of two SCE
objects such as list(RNA = rna_sce, ATAC = atac_sce)). Cell-type and
batch labels are read directly from colData via cell_type_col
and batch_col. Users starting from Seurat objects should
convert via Seurat::as.SingleCellExperiment().
Usage
evaluate_multiomics_accuracy(
ref_multi,
sim_multi,
cell_type_col = "cell_type",
batch_col = "batch",
pairing = c("paired", "unpaired"),
memory_mb = NULL,
elapsed_time = NULL,
time_unit = c("seconds", "minutes"),
memory_unit = c("MiB", "MB"),
sim_cores = NULL,
separate_resources = NULL,
feature_pairs = NULL,
compute_bivariate = TRUE,
threads = 1L,
trajectory_num_trees = 10000L,
verbose = TRUE
)Arguments
- ref_multi
Reference multiomics
SingleCellExperiment(withaltExp) or named list of two SCE objects.- sim_multi
Simulated multiomics
SingleCellExperiment(withaltExp) or named list of two SCE objects.- cell_type_col
Column name in
colDatacontaining cell-type labels (default"cell_type").- batch_col
Column name in
colDatacontaining batch/replicate labels (default"batch").- pairing
Character string specifying
"paired"(default) or"unpaired"assay structure.- memory_mb
Optional numeric peak memory allocation (in
memory_unit).- elapsed_time
Optional numeric wall-clock runtime (in
time_unit).- time_unit
Unit of
elapsed_time:"seconds"(default) or"minutes".- memory_unit
Unit of
memory_mb:"MiB"(default) or"MB".- sim_cores
Optional positive integer specifying CPU cores used by the simulator.
- separate_resources
Optional named list (e.g.,
list(rna = list(...), atac = list(...))) giving per-modalityelapsed_time,memory_mb,time_unit,memory_unit, andsim_coreswhen RNA and ATAC layers are simulated separately.- feature_pairs
Optional 2-column data.frame of linked feature pairs.
- compute_bivariate
Logical, whether to compute 2D bivariate tests. Default
TRUE.- threads
Integer number of CPU threads. Default is
1L.- trajectory_num_trees
Number of Random Forest trees for Category VII
wcor_features(default10000L).- verbose
Logical, whether to print progress messages. Default is
TRUE.
Value
A named list containing:
- benchmark_summary_table
Master tidy data frame with columns
Category,Property,Metric,Value,Modality(andSim_Coresif provided).- metrics_summary_table
Alias of
benchmark_summary_table.- summary_table
Alias of
benchmark_summary_table.- pairing
Resolved pairing mode (
"paired"or"unpaired").- mod1_unimodal
Full unimodal evaluation output for modality 1.
- mod2_unimodal
Full unimodal evaluation output for modality 2.
- clustering
List with elements
m1andm2containing Category III results.- batch
Named list of Category IV batch mixing results per modality.
- signal
Named list of Category V differential fidelity results per modality.
- trajectory
Category VII dynverse trajectory results inferred from the scRNA-seq layer.
- cross_modality
List storing Category VI integration output under
correlation.- resource_usage
Normalized Category VIII scalability list supporting both
"combined"and"separate"modes.
Details

Multiomics Metric Measurement Capacity (56 Evaluation Measures Suite):
Paired Multiomics (56 Metrics): Dual unimodal properties (Cat I–II), dual clustering (Cat III), dual batch mixing (Cat IV), dual biological signal (Cat V: 6 DE + 6 DA), cross-modal integration & alignment (Cat VI), scRNA trajectory (Cat VII), and scalability (Cat VIII).
Unpaired Multiomics (56 Metrics): Evaluates both modalities independently across Cat I–V, VII, VIII plus population-level joint integration & alignment (Cat VI).
Examples
data(example_multiomics, package = "scSimEval")
res <- evaluate_multiomics_accuracy(
example_multiomics$ref_multi,
example_multiomics$sim_multi,
verbose = FALSE
)
#> Warning: Zero sample variances detected, have been offset away from zero
#> Warning: Zero sample variances detected, have been offset away from zero
#> Warning: shoving 'interior' knots matching boundary knots to inside
head(res$benchmark_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
#> 1 15.5100000000 rna
#> 2 0.1500000000 rna
#> 3 8.0000000000 rna
#> 4 0.0254983351 rna
#> 5 -0.1843114404 rna
#> 6 0.0150000000 rna
#> 7 0.0104231754 rna
#> 8 15.5100000000 rna
#> 9 22.4661968299 rna
#> 10 0.0005628587 rna