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.
write.narrowpeak.binding(bd, fname, margin=bd$whs, npeaks)
output of the find.binding.positions
file name
explicit value of the margin to be used if the broad region information is absent (defaults to peak detection window half-size
optionally, limit the output to the specified number of top peaks