filterPeaks: filterPeaks

Description Usage Arguments Value Examples

View source: R/global_processing.R

Description

Given a set of peak calls for different marks and samples, filter peaks according to values in numeric

Usage

1
filterPeaks(peaks, columns, thresholds)

Arguments

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 columns

Value

A list of GRanges objects storing peak calls for each sample, with peaks filtered according to the columns and thresholds specified.

Examples

1
2
3
filterPeaks(peaks = H3K4me3,
    columns = c("signalValue", "pValue"),
    thresholds = c(4, 10))

chromswitch documentation built on Nov. 8, 2020, 5:24 p.m.