Description Usage Arguments Value Author(s) Examples
The function takes a vector of BAM-file names and corresponding BAM-index file names. For each given filename, the BAM-file will be opened. The functions uses the bamGapList
function (rbamtools) to obtain a data.frame
from an bamReader
. Values for 'gptm' and 'rpmg' are added. Both are rounded to the number of given digits. The function tests for open connection to BAM-file and for initialized index.
1 | readMergedBamGaps(infiles,idxInfiles=paste(infiles,".bai",sep=""),digits=3)
|
infiles |
character. Name of BAM-files to be opened. |
idxInfiles |
character. Name of corresponding BAM-index files. Default: paste(infiles,".bai",sep="") |
digits |
numeric. |
gapSites
Wolfgang Kaisers
1 2 3 4 | bam<-character(2)
bam[1]<-system.file("extdata","rna_fem.bam",package="spliceSites")
bam[2]<-system.file("extdata","rna_mal.bam",package="spliceSites")
mbg<-readMergedBamGaps(bam)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.