LikelihoodMethod#
missionbio.demultiplex.protein.pace.likelihood.LikelihoodMethod
- class LikelihoodMethod(protein: Assay, truth: Truth, min_distance_for_doublet: int = 3, **kwargs: Any)#
A PACE method to categorize the cells into the most likely category based on the given truth.
Functions#
Adds the LABEL row attribute based on the maximum likelihood method of assignment
- param protein:
The protein assay
- param truth:
A Truth object
- param min_distance_for_doublet:
The minimum number of antibodies that must be different between two clones for their doublet to be considered.
- param kwargs:
The other parameters passed to PACEModel.