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
Truth.trim to remove the given cell type and its descendants.
Truth.isolate to keep only the given cell type and its descendants.
- Returns:
The truth with the deleted cell type.
- Return type:
< Class Truth