Lineage

class scab.models.lineage.Lineage(adata, name=None)

docstring for Lineage

class scab.models.lineage.LineageAssignment(pair: <MagicMock name='mock.Pair' id='140580214225600'>, assignment_dict: dict)

docstring for LineageAssignment

get(lineage_name: str) <MagicMock name='mock.Pair' id='140580214225600'> | None

Gets the Pair that was assigned to a lineage. Note that if the original Pair object contained multiple heavy chains, a modified Pair is returned containing all light chains from the original Pair but only the heavy chain assigned to the lineage.

Parameters:

lineage_name (str) – Lineage name. Required

Returns:

A Pair that was assigned to the specified lineage. Note that if the original Pair object contained multiple heavy chains, a modified Pair is returned containing all light chains from the original Pair but only the heavy chain assigned to the lineage.

Return type:

abutils.Pair

class scab.models.lineage.LineageSummary(lineage, agbcs=None, specificities=None, extra_blocks=None, dot_alignment=True, in_color=True, pairs_only=False, padding_width=1)

docstring for LineageSummary