write_nuc_bw: Write bigwig file of nucleosome depth

Description Usage Arguments

View source: R/write_functions.R

Description

Write bigwig file of nucleosome depth

Usage

1
write_nuc_bw(gr, file, scale_cpm = FALSE, nuc_span_size = c(180, 247))

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.

nuc_span_size

Numeric of length 2 specifying the insert size of nucleosome spanning fragnemts.


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