write_insertions_bw: Write a bigwig file of Tn5 insertion depth

Description Usage Arguments

View source: R/write_functions.R

Description

Write a bigwig file of Tn5 insertion depth

Usage

1
write_insertions_bw(gr, file, scale_cpm = FALSE)

Arguments

gr

A GRanges object containing nucleosome positions.

file

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

scale_cpm

Logical. Should the output be scaled to number of nucleosome spanning reads.


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