readPooledBamGaps: readPooledBamGaps: Position data for alignments gaps from...

Description Usage Arguments Value Author(s) Examples

View source: R/rbamtools.R

Description

The function takes vectors of BAM-file names (plus accompanying names of BAM-index-files) and return a bamGapList object. The bamGapList object can be merged with other bamGapList objects and data can be extracted with the 'as.data.frame' method.

Usage

1
readPooledBamGaps(infiles,idxInfiles=paste(infiles,".bai",sep=""))

Arguments

infiles

Filenames of BAM-files to be opened for data extraction.

idxInfiles

Optional: Name of BAM-index files

Value

bamGapList

Author(s)

Wolfgang Kaisers

Examples

1
2
3
4
bam<-system.file("extdata","accepted_hits.bam",package="rbamtools")
rpb<-readPooledBamGaps(bam)
rpdf<-readPooledBamGapDf(bam)
hist(rpdf$gqs)

rbamtools documentation built on Nov. 11, 2019, 5:09 p.m.