Learn R Programming

spp (version 1.16.0)

write.narrowpeak.binding: Write out determined binding peaks using narrowPeak format

Description

Writes out determined binding positions into a narrowPeak file. The region will correspond to associated broad enrichment region, if such were added using add.broad.peak.regions method. Otherwise the region size will be determined using margin (which defaults to the window half size that was used to determine binding positions) Note: since v1.13, FDR is written out in -log10() scale.

Usage

write.narrowpeak.binding(bd, fname, margin=bd$whs, npeaks)

Arguments

bd
fname

file name

margin

explicit value of the margin to be used if the broad region information is absent (defaults to peak detection window half-size

npeaks

optionally, limit the output to the specified number of top peaks