Filter genes for a single-cell RNA sequencing or sptially-resolved transcriptomics data in the form of a Seurat object.
filter_gene(seu, min_spots = 20, assay = NULL)
a Seurat object.
a non-negative integer, the least number of nonzero spots for a retained gene.
a string, the assay to perform filtering.
Return a revised Seurat object.