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")

Arguments

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

Value

Boolean filter with TRUE for cells and FALSE for outliers. Contains attribute with number of median absolute deviations specified.

Examples

NULL
#> NULL