ReadPeaks reads in peak files and their cognate annotations created by findPeaks and annotatePeaks.pl. Returns a data.table combining the peak and annotation information for use in R. Works with all findPeaks output types (super, his

ReadPeaks(peaks, peaks.anno)

Arguments

peaks

Output from HOMER findPeaks utility.

peaks.anno

Cognate annotation via annotatePeaks.pl of output from findPeaks.

Value

data.table combining peak and annotation info.

Examples

ReadPeaks(TF.peaks, TF.peaks.anno)