Skip to contents

Remove cells if not enough or too many in one image

Usage

removeOutliers(sce, min, max)

Arguments

sce

SingleCellExperiment object

min

numeric(1), remove the cells of images with fewer cells

max

numeric(1), remove the cells of images with more cells

Value

SingleCellExperiment object

Examples

set.seed(23)
cell_file <- generateData()
sce <- loadData(cell_file)
sce <- removeOutliers(sce, min = 0, max = 300)