Removes cells that fail quality control criteria based on marker intensity ranges, cell area, or custom filters.
Arguments
- dt
A
data.tableas returned byread_spatial().- min_area
Numeric or
NULL. Minimum cell area. Cells below this threshold are removed.- max_area
Numeric or
NULL. Maximum cell area. Cells above this threshold are removed.- min_intensity
Numeric. Minimum total marker intensity. Cells with total intensity below this value are removed. Default
0.- max_intensity
Numeric or
NULL. Maximum total marker intensity.