Protein.label_sticky_cells

Protein.label_sticky_cells#

missionbio.mosaic.protein.Protein.label_sticky_cells

Protein.label_sticky_cells(sticky_antibodies: Sequence = ('IgG1', 'IgG2a', 'IgG2b'), threshold: float = 0.5) None#

Label cells which are likely to be sticky.

Sticky cells are cells which express a high level of most antibodies. They are usually identified using the isotype controls

Parameters:
sticky_antibodies: Sequence

Antibodies that should be used to identify sticky cells

threshold: float

The probability threshold above which a cell is considered sticky. See the example in assign_from_truth() for more details about the probability calculation.

Notes

This modifies the LABEL attribute of the assay.


< Class Protein