Truth.del_cell

Contents

Truth.del_cell#

missionbio.demultiplex.protein.truth.Truth.del_cell

Truth.del_cell(name: str, check_valid: bool = True) Truth#

Delete a clone from the truth.

This sets the parents of the children to be the parent of the deleted clone.

Parameters:
  • name – The name of the cell type to delete.

  • check_valid – If True, the truth is checked for validity.

See also

  1. Truth.trim to remove the given cell type and its descendants.

  2. Truth.isolate to keep only the given cell type and its descendants.

Returns:

The truth with the deleted cell type.

Return type:

Truth


< Class Truth