count_reads-GRanges-character-BSgenome-method: Count reads

count_reads,GRanges,character,BSgenome-methodR Documentation

Count reads

Description

Count how many reads fall into a specific fragment size range

Usage

## S4 method for signature 'GRanges,character,BSgenome'
count_reads(x, filenames, genome, fragment_size_range = c(0L, 320))

Arguments

x

a GRanges object defining the peaks; the width must be the same for all peaks.

filenames

BAM file name(s).

genome

a BS genome object such as BSgenome.Mmusculus.UCSC.mm10

fragment_size_range

fragment size ranges (default: c(80, 320))

Value

read counts

Author(s)

Wuming Gong (gongx030@umn.edu)


gongx030/seatac documentation built on April 15, 2023, 5:53 a.m.