Skip to contents

Features filtering on fixed criteria. Criteria are, for instance, only the number of cells in which the feature is present

Usage

filter_features(sobj, assay = "RNA", min_cells = 5)

Arguments

sobj

A Seurat object

assay

CHARACTER : the assay to filter features based on the count layer (default to 'RNA')

min_cells

INTEGER : minimum number of cells with expression > 0 to keep a gene (default to 5)

Value

Return the input Seurat object with features (genes) filling in the criteria