LikelihoodMethod.cluster_truth#
missionbio.demultiplex.protein.pace.likelihood.LikelihoodMethod.cluster_truth
- LikelihoodMethod.cluster_truth(unassigned: bool = True, trim: bool = True) Truth #
The truth that defines the clusters in the protein assay
This can be used to generate a new truth after clustering the protein assay. This new truth can then be used to label other protein assay assuming that the same cell types are present in that assay.
- Parameters:
unassigned – Whether to add the ‘Unassigned’ cluster to the truth
trim – Whether to trim the truth to only include the cells in the protein assay
- Returns:
Truth object
< Class LikelihoodMethod