Description Usage Arguments Details Value Author(s) Examples
The function extractBamRegions
writes aligns or
some part of the stored aligns in a BAM file as reads into a
BAM output file.
1 | extractBamRegions(bamFiles, ranges, idxFiles, outFiles)
|
bamFiles |
|
ranges |
|
idxFiles |
|
outFiles |
|
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.
No return value given
Wolfgang Kaisers
1 2 3 | bam<-system.file("extdata","accepted_hits.bam",package="rbamtools")
gene_pos <- data.frame(seqid="chr1", start=15e3, end=20e3)
extractBamRegions(bam, gene_pos)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.