
Evaluate Single-Cell ATAC Peak Co-Accessibility Fidelity (SCRIP)
Source:R/07_multiomics_coupling.R
calc_peak_coaccessibility_fidelity.RdEvaluates the preservation of chromatin peak-to-peak co-accessibility correlation matrices (cis-regulatory interactions) between reference and simulated scATAC-seq datasets.
Usage
calc_peak_coaccessibility_fidelity(
ref_atac,
sim_atac,
top_n_peaks = 300,
method = c("spearman", "pearson")
)Examples
data(example_scrna, package = "scSimEval")
calc_peak_coaccessibility_fidelity(example_scrna$ref, example_scrna$sim)
#> $rv_coefficient
#> [1] 0.5649862
#>
#> $coaccessibility_pearson
#> [1] -0.01444
#>
#> $coaccessibility_spearman
#> [1] -0.01044432
#>
#> $frobenius_distance
#> [1] 0.005401201
#>
#> $coaccessibility_mae
#> [1] 0.1283634
#>