View source: R/single_sample_input_qc.R
get_gene_filter | R Documentation |
A gene is considered expressed when number of its UMIs across all cells is greater than min_umi
and
at the same time it is expressed in at least min_ratio_cells
ratio of cells.
get_gene_filter(sce, min_ratio_cells, min_umi)
sce |
A |
min_ratio_cells |
A numeric scalar: minimum ratio of cells expressing a gene. |
min_umi |
A numeric scalar: minimum number of UMI per gene across all cells. |
A logical vector of length nrow(sce)
: TRUE
for genes not passing the filter, FALSE
otherwise.
This is for consistency with cell filters, e.g. the qc_filter
target, where TRUE
means the same as here,
i.e. a cell is not passing the filter.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.