Filter spots for a single-cell RNA sequencing or sptially-resolved transcriptomics data in the form of a Seurat object.

filter_spot(seu, min_feature = 0, assay = NULL)

Arguments

seu

a Seurat object.

min_feature

a non-negative integer, the least number of nonzero genes for a retained spot.

assay

a string, the assay to perform filtering.

Value

Return a revised Seurat object.