Run a single ABC simulation and compute distance to observed data
run_ABC.RdRun a single ABC simulation and compute distance to observed data
Arguments
- cna_data
Observed CNA data frame (cell_id, chr, start, end, CN, A, B).
- allele
Allele column to use ("A", "B", or "CN").
- chromosome
Chromosome name as it appears in cna_data$chr (e.g. "7").
- params
Named list of simulation parameters from
sample_priors().- pos
Optional integer bin index for the BFB hotspot. Derived automatically from the observed data if NULL (default).
- bin_length
Optional bin size in bp. Inferred from observed data if NULL.