Learn R Programming

CrispRVariants (version 1.0.2)

addClipped: Extrapolates mapping location from clipped, aligned reads

Description

Extrapolates the mapping location of a read by assuming that the clipped regions should map adjacent to the mapped locations. This is not always a good assumption, particularly in the case of chimeric reads!

Usage

addClipped(bam, ...)
"addClipped"(bam, ...)

Arguments

bam
A GAlignments object
...
additional arguments

Value

A GRanges representation of the extended mapping locations