read_atac_frags: Read BAM file aligned fragments into GRanges object

Description Usage Arguments Value

View source: R/read_atac_frags.R

Description

Read BAM file aligned fragments into GRanges object

Usage

1
read_atac_frags(bam_file, max_insert = 2000, yieldSize = 1e+06, ...)

Arguments

bam_file

Path to a BAM formatted file.

max_insert

Maximum insert size allowed. Default is reccomended.

yieldSize

The number of reads retreived from the BAM file in each chunk. See ?BamFile in Rsamtools.

...

Arguments passed to ScanBamParam.

Value

A GRanges object of aligned fragments


SamBuckberry/RunATAC documentation built on Aug. 2, 2021, 9:54 a.m.