View source: R/alignment-utils.R
get_readpairs | R Documentation |
All reads aligned to the intervals given by
queryRanges(object)
are identified by the low-level function
.scan_all_readpairs
. This function reads alignments by
readGAlignments
and then makes pairs of the alignments by
makeGAlignmentPairs2
. The latter function is an adaption of
the function makeGAlignmentPairs
implemented in the
GenomeAlignments
package but allows for the read pairs to be
improper.
get_readpairs(object, bam.file, flags = scanBamFlag())
object |
Typically an |
bam.file |
character-vector providing valid complete path to a bam file |
flags |
length-two integer vector as given by |
A GAlignmentPairs
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.