numReadsInBed: Count the number of reads in a given GRanges

Description Usage Arguments Value

View source: R/utils.R

Description

Count the number of reads in a given GRanges

Usage

1
numReadsInBed(regions, bams = NA, countall = FALSE)

Arguments

regions

The GRanges object to count reads in.

bams

character. path to bam files from where the reads have to be counted

countall

logical. whether to keep both reads of paired-end data

Value

Total counts within given ranges per BAM file.


vivekbhr/icetea documentation built on June 8, 2020, 4:45 a.m.