Learn R Programming

FourCSeq (version 1.6.2)

addPeaks: Add peaks based on z-scores and adjusted p-values

Description

Fragments are annotated to be a z-score peak (TRUE or FALSE) based on z-scores and fdr values for the given fragment

Usage

addPeaks(object, zScoreThresh = 2, fdrThresh = 0.1)

Arguments

object
FourC object for which z-scores have been calculated.
zScoreThresh
Threshold on z-score that has to met by all replicates of a condition.
fdrThresh
Threshold on adjusted p-value that has to be met in at least one replicated of a condition.

Value

FourC object with an additional assay 'peaks' of boolean values. The parameters of the call to addPeaks are stored as DataFrame peakParameter in the metadata slot.