LikelihoodMethod.__init__

LikelihoodMethod.__init__#

missionbio.demultiplex.dna.likelihood.LikelihoodMethod.__init__

LikelihoodMethod.__init__(truth: DataFrame, het_mismatch_penalty: float = 0.75, nocall_mismatch_penalty: float = 0.15, **kwargs: Any) None#
Parameters:
  • truth – The truth used to label the cells. It must be filtered to all the relevant variants and contain the signature for doublets as well. The only check that is performed is the overlap with the DNA variants when label_cells is called.

  • het_mismatch_penalty – The penalty for a mismatch in a HET call. The lower the value the more lineant is the filter towards HET calls being called as WT / HOM due to ADO.

  • nocall_mismatch_penalty – The penalty for a mismatch in a missing call. The lower the value the more lineant is the filter towards cells with missing data. Increasing this value will reduce the miscalling in incomplete cells.

  • **kwargs – Passed to GTModel. Model parameters can be changed using these arguments.


< Class LikelihoodMethod