loadBam | R Documentation |
Load a BAM file. This function is essentially a wrapper of
readGAlignments
. Note that paried-end reads will be treated as single-end.
loadBam( bamFile, param = ScanBamParam(flag = scanBamFlag(isUnmappedQuery = FALSE, isSecondaryAlignment = FALSE, isNotPassingQualityControls = FALSE), mapqFilter = 0) )
bamFile |
The path of a BAM file. Note that the BAM index file must also exist in the same folder and have the same prefix. For example, if the BAM file is aln.bam, then the BAM index file should be aln.bam.bai. (Required). |
param |
A |
A GAlignments
object of the aligned reads.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.