data.frame: Must contain three columns
seqid, start and end. The seqid
idxFiles
character: Vector of BAM index file names.
outFiles
character: Vector of output file names.
Value
No return value given
Details
bamFiles, idxFiles and outFiles are checked for equal length.
bamFiles and idxFiles are checked for existance.
There are sensible default values given for idxFiles and outFiles. The
default location for writing output files is the current working
directory.
# NOT RUN {bam<-system.file("extdata","accepted_hits.bam",package="rbamtools")
gene_pos <- data.frame(seqid="chr1", start=15e3, end=20e3)
# }# NOT RUN {extractBamRegions(bam, gene_pos)
# }