
Evaluate the 5 SimBench Biological Signal Proportions
Source:R/05_metrics_de_signal.R
evaluate_simbench_signals.RdCompares proportions of genes exhibiting DE, DV, DD, DP, and BD between empirical reference and simulated datasets.
Usage
evaluate_simbench_signals(
ref_mat,
sim_mat,
ref_celltypes,
sim_celltypes,
p_sig = 0.05,
bi_cutoff = 0.3
)Examples
data(example_scrna, package = "scSimEval")
evaluate_simbench_signals(example_scrna$ref, example_scrna$sim,
ref_celltypes = example_scrna$cell_types,
sim_celltypes = example_scrna$cell_types)
#> Signal_Type Reference_Prop Simulation_Prop Absolute_Error
#> 1 DE (Mean Shift) 0.0000000 0.08333333 0.08333333
#> 2 DV (Variability) 0.2500000 0.25000000 0.00000000
#> 3 DD (Distribution) 0.0000000 0.03333333 0.03333333
#> 4 DP (Proportion/Dropout) 0.0000000 0.00000000 0.00000000
#> 5 BD (Bimodal Index) 0.3333333 0.31666667 0.01666667