R/filter_gex_outliers.R
filter_n_genes_expr.Rd
Wrapper around scater::isOutlier, arguments type and nmads refer to the same thing. For number of genes expressed, uses log transformed values for deciding cutoffs.
filter_n_genes_expr(sce, nmads, type, column = "n_genes_expr")
sce | SingleCellExperiment object |
---|---|
nmads | Number of median absolute deviations from the median for cutoff |
type | Either "both", "lower", or "higher", referring to which side to filter on |
column | column in colData containing number of genes expressed |
Boolean filter with TRUE for cells and FALSE for outliers. Contains attribute with number of median absolute deviations specified.
NULL#> NULL