| filterConsensus | R Documentation |
Filters lowly expressed peaks from down-stream analyses
filterConsensus(
cp,
filter.method = "custom",
library.threshold = 2,
cpm.threshold = 1
)
cp |
consensus peak matrix, with unique ids at rownames. |
filter.method |
filtering method for low expressed peaks |
library.threshold |
number of libraries a peak occurs so that it is not filtered default set to 2 |
cpm.threshold |
count per million threshold for not to filter a peak |
returns differentially accessible peaks
set.seed(123)
cp <- matrix(rexp(200, rate=.1), ncol=20)
## using cpm function from `edgeR` package
cp.filtered <- filterConsensus(cp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.