mmc.Hierarchy.set_threshold()
- Hierarchy.set_threshold(marker, thresholds, interactive, name=None, batch=None)
Sets a threshold in the Hierarchy for one marker
- Parameters:
marker (
str) – Marker to set threshold onthresholds (
Tuple[float]) – List of thresholds (pos and neg) to use for that nodeinteractive (
bool) – Whether to interactively set thresholdsname (
Optional[str] (default:None)) – Name of the classification layer to define on. Use None for all.batch (
Optional[str] (default:None)) – Batch to threshold. Use None for all.