Truth.del_ab#
missionbio.demultiplex.protein.truth.Truth.del_ab
- Truth.del_ab(antibody: str, cell: Optional[str] = None) Truth #
Delete an antibody from the truth.
‘ab+’ and ‘ab-’ will be discarded from the expression of the cells. After this deletion, the truth is trimmed to remove any cells that have the same expression as another cell. The cells with only negative expressors left will also be removed.
- Parameters:
antibody – The name of the antibody to delete.
cell – The name of the cell type to delete the antibody from. The deletion is propagated to all descendants of the cell type. If None, the antibody is deleted from all cell types.
- Returns:
The truth with the deleted antibody.
- Return type:
< Class Truth