bam_to_insertions_bw: Write a bigwig file of Tn5 insertion depth

Description Usage Arguments Value

View source: R/bam_to_insertions_bigwig.R

Description

Write a bigwig file of Tn5 insertion depth

Usage

1
2
bam_to_insertions_bw(bam_file, file, yieldSize = 1e+06, scale_cpm = FALSE,
  ...)

Arguments

bam_file

Path to an ATAC-seq paired-end BAM file.

file

Path for output bigwig file. Extension should be .bw or .bigwig.

yieldSize

Number of records to yield each time the file is read from with scanBam. See ?BamFile

scale_cpm

Logical. Should the output be scaled to number of million mapped reads?

...

Arguments for ScanBamParam.

Value

No object is returned. A file is written.


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