Filters lowly expressed peaks from down-stream analyses
filterConsensus(
cp,
filter.method = "custom",
library.threshold = 2,
cpm.threshold = 1
)
consensus peak matrix, with unique ids at rownames.
filtering method for low expressed peaks
number of libraries a peak occurs so that it is not filtered default set to 2
count per million threshold for not to filter a peak
returns differentially accessible peaks
# NOT RUN {
set.seed(123)
cp <- matrix(rexp(200, rate=.1), ncol=20)
## using cpm function from `edgeR` package
cp.filtered <- filterConsensus(cp)
# }
Run the code above in your browser using DataLab