powered by
Compute coverage-based and not-coverage-based allelic fraction thresholds
compute_afthreshold(outdir, pbem_dir = file.path(outdir, "BaseErrorModel"), outdir.afth.name = "Controls", coverage_binning = 50, probs = seq(0.9, 1, 1e-04))
The folder where outputs will be saved.
The folder with outputs generated by the compute_pbem function. default: file.path(outdir, "BaseErrorModel")
compute_pbem
The subfolder name that will be created in the outdir. default: "Controls"
outdir
Bins of coverage into which divide AFs. default: 50
Quantiles dividing the distribution of allelic fractions.
A matrix with allelic fraction thresholds. Rows are quantiles as set by probs and columns are coverage bins as set by coverage_binning
probs
coverage_binning
# NOT RUN { outdir <- tempdir() pbem_dir <- system.file("extdata", "BaseErrorModel", package = "abemus") outafth <- compute_afthreshold(outdir = outdir,pbem_dir = pbem_dir) # }
Run the code above in your browser using DataLab