filterByExpr {edgeR} | R Documentation |
Determine which genes have sufficiently large counts to be retained in a statistal analysis.
## S3 method for class 'DGEList' filterByExpr(y, design = NULL, group = NULL, lib.size = NULL, ...) ## Default S3 method: filterByExpr(y, design = NULL, group = NULL, lib.size = NULL, min.count = 10, min.total.count = 15, ...)
y |
matrix of counts or a |
design |
design matrix. Ignored if |
group |
vector or factor giving group membership for a oneway layout, if appropriate. |
lib.size |
library size, defaults to |
min.count |
numeric. Minimum count required for at least some samples. |
min.total.count |
numeric. Minimum total count required. |
... |
any other arguments.
For the |
Logical vector of length nrow(y)
indicating which rows of y
to keep in the analysis.
Gordon Smyth
## Not run: keep <- filterByExpr(y) y <- y[keep,] ## End(Not run)