Truth.isolate

Contents

Truth.isolate#

missionbio.demultiplex.protein.truth.Truth.isolate

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

Isolate the truth to only contain the given cell and its descendants.

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

  • include – If True, the given cell type is also kept.

  • 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.del_cell to delete only one cell type.

Returns:

The isolated truth.

Return type:

Truth


< Class Truth