keep_cells: keep_cells

Description Usage Arguments Value

View source: R/auto_crop_fast.R

Description

Deletes objects in mask which are too small, large, oblong i.e. unlikely to be a cell

Usage

1
2
3
4
5
6
7
8
keep_cells(
  candidate,
  max_cell_area,
  min_cell_area,
  cell_aspect_ratio,
  crowded_cells,
  annotation
)

Arguments

candidate

Mask of individual cell candidates

max_cell_area,

Maximum pixel area of a cell candidate

min_cell_area,

Minimum pixel area of a cell candidate

cell_aspect_ratio

Maximum aspect ratio of blob to be defined as a cell

crowded_cells

TRUE or FALSE, defaults to FALSE. Set to TRUE if you

annotation,

Choice to output pipeline choices (recommended to knit) have many cells in a frame that almost touch

Value

Mask of cell candidates which meet size criteria


mcneilllucy/synapsis documentation built on Dec. 21, 2021, 3:59 p.m.