View source: R/compute_afthreshold.R
compute_afthreshold | R Documentation |
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))
outdir |
The folder where outputs will be saved. |
pbem_dir |
The folder with outputs generated by the |
outdir.afth.name |
The subfolder name that will be created in the |
coverage_binning |
Bins of coverage into which divide AFs. default: 50 |
probs |
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
outdir <- tempdir() pbem_dir <- system.file("extdata", "BaseErrorModel", package = "abemus") outafth <- compute_afthreshold(outdir = outdir,pbem_dir = pbem_dir)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.