Description Usage Arguments Value Author(s)
View source: R/functions_main.R
This function will assign the reads within a certain PCR pre-amplification region to different bins, depending on whether they do/do not/or partly overlap with the ROI. A read will be classified as 'A' if it is within the PCR amplification range (pcrrange). A read will be classified as 'B' or 'C' if it lies upstream and partly overlaps OR lies downstream and partly overlaps with the region of interest (range). Finally, a read will be flagged as 'D' if it fully overlaps with the ROI.
1 | AlleleProfileR.binreads(bamtable, chr, pcrrange, range, purify = T)
|
bamtable |
Data.frame containing the reads, as generated by AlleleProfileR.bam. |
chr |
Chromosome |
pcrrange |
Genomic range of that was pre-amplified by PCR before sequencing. |
range |
Genomic range of interest, where variants will be called. |
purify |
If set to TRUE, low qual reads will be discarded. Can be executed separately by AlleleProfileR.qc.simple. |
Bam data.frame with added columns 'bin', 'select', 'lower', and 'upper'.
Arne Bruyneel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.