Description Usage Arguments Value See Also Examples
Read a track
object from a BAM file
1 |
file |
The path to the BAM file to read. |
file2 |
The path to the second BAM file to read. |
ranges |
An object of |
pairs |
logical object to indicate the BAM is paired or not. See
|
a track
object
See Also as importScore
, track
,
viewTracks
1 2 3 | bamfile <- system.file("extdata", "ex1.bam", package="Rsamtools",
mustWork=TRUE)
dat <- importBam(file=bamfile, ranges=GRanges("seq1", IRanges(1, 50), strand="+"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.