Assigns phenotype labels to cells based on marker intensity thresholds.
Uses the normalised data slot.
Arguments
- object
An
SpatialCellData-classobject.- thresholds
Named list of thresholds (marker name = value).
- labels
Named character vector mapping signatures to labels, or
NULLfor automatic labelling.
Value
An SpatialCellData-class with a phenotype
column in meta_data.