writeToBEDFile: Write peaks to BED6+3/4 format

Description Usage Arguments Details Value Author(s)

View source: R/peakCalling.R

Description

A function to write the data.table of peaks into a narrowPeaks or broadPeaks file

Usage

1

Arguments

peaks

A data.table or data.frame of peaks as produced by 'callPeaks'

file

A file name without suffix. It will be determined automatically. If no file is given, it will be written to a generic 'peaks_[timestamp]' file in the current working directory

Details

Note, the narrow peak calling process does not yet implement any functionality for estimating the start and end of a peak region. Thus the start and end is taken as -100 and +100 around the peak summit. This is mostly an arbitrary choice. A more statistical approach is in development.

Value

Nothing. A narrowPeaks or broadPeaks file written to 'file'

Author(s)

Georg Stricker georg.stricker@in.tum.de


GenoGAM documentation built on Nov. 8, 2020, 7:45 p.m.