Description Usage Arguments Value Examples
Filter output of importCount.
1 | filterCount(se, subset)
|
se |
a SummarizedExperiment object from importCount. |
subset |
filter condition for rows. |
a SummarizedExperiment object
1 2 3 4 5 6 7 8 | file <- system.file("extdata", "count.gz", package= "deepToolsDownstream")
se <- importCount(file)
library(SummarizedExperiment)
keep <- rowMeans(assays(se)[[1]], na.rm = TRUE) < 2 ## arbitory number
nrow(se)
se <- filterCount(se, subset=keep)
nrow(se)
table(keep)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.