DnaAssignment.__init__

DnaAssignment.__init__#

missionbio.mosaic.algorithms.dna_assignment.DnaAssignment.__init__

DnaAssignment.__init__(truth: DataFrame, add_doublets: bool = True) None#
Parameters:
truthpd.DataFrame.

DataFrame with the cell lines in the index and the variants in the columns. The values should be NGT-like {0, 1, 2, 3} or AF-like {0, 50, 100, -50}. When add_doublets is False, the AF values can also contain {25, 75} i.e. the values for mixed cells.

add_doubletsbool

Whether to add doublets to the truth


< Class DnaAssignment