mmc.Hierarchy.drop_threshold()

Hierarchy.drop_threshold(marker, name=None, batch=None)

Remove thresholds from the database. Pass slice(None)to drop all thresholds matching the other batches (batch) or classification layers (name).

Parameters:
  • marker (str) – Marker to remove thresholds for.

  • name (Optional[str] (default: None)) – Name of the classification layer to remove thresholds for. Use slice(None) for all.

  • batch (Optional[str] (default: None)) – Batch to remove thresholds for. Use slice(None) for all.