filterPeaks {chromswitch} | R Documentation |
Given a set of peak calls for different marks and samples, filter peaks according to values in numeric
filterPeaks(peaks, columns, thresholds)
peaks |
List of GRanges objects storing peak calls for each sample, where element names correspond to sample IDs |
columns |
Character vector of column names containing stats by which to filter peaks |
thresholds |
Vector of numeric values giving the lower thresholds to use
for each of the columns specified, in the same order as |
A list of GRanges objects storing peak calls for each sample, with peaks filtered according to the columns and thresholds specified.
filterPeaks(peaks = H3K4me3, columns = c("signalValue", "pValue"), thresholds = c(4, 10))