powered by
track
importBam(file, file2, ranges=GRanges(), pairs=FALSE)
GRanges
readGAlignments
importScore
viewTracks
bamfile <- system.file("extdata", "ex1.bam", package="Rsamtools", mustWork=TRUE) dat <- importBam(file=bamfile, ranges=GRanges("seq1", IRanges(1, 50), strand="+"))
Run the code above in your browser using DataLab