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 on

  • thresholds (Tuple[float]) – List of thresholds (pos and neg) to use for that node

  • interactive (bool) – Whether to interactively set thresholds

  • name (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.