ezReadGappedAlignments | R Documentation |
Reads gapped alignments from a bam file.
ezReadGappedAlignments(
bamFile,
seqname = NULL,
start = NULL,
end = NULL,
strand = "*",
tag = character(0),
what = character(0),
use.names = TRUE,
isFirstMateRead = NA,
isSecondMateRead = NA,
isUnmappedQuery = FALSE,
isProperPair = NA,
isSecondaryAlignment = NA,
minMapQuality = 0,
tagFilter = list(),
keepMultiHits = TRUE
)
bamFile |
a character representing the bam file path. |
seqname |
an optional character vector to keep only the specified sequence names in the returned reads. |
start |
an optional integer vector to limit the start position of the range of returned reads. |
end |
an optional integer vector to limit the start position of the range of returned reads. |
strand |
a character specifying which strand to use (+, - or *). |
tag |
passed further to |
what |
passed further to |
use.names |
passed further to |
isFirstMateRead |
passed further to |
isSecondMateRead |
passed further to |
isUnmappedQuery |
passed further to |
isProperPair |
passed further to |
minMapQuality |
an integer specifying the minimal mapping quality to use. |
keepMultiHits |
a logical specifying whether to keep multiple hits. |
Returns an object of the class GAlignments.
Rehrauer, Hubert
Schmid, Peter
scanBam
ScanBamParam
readGAlignments
bamFile <- system.file("extdata", "ex1.bam", package="Rsamtools", mustWork=TRUE)
ga = ezReadGappedAlignments(bamFile)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.