ProbabilityMethod.assignment_probabilities#
missionbio.demultiplex.protein.pace.probability.ProbabilityMethod.assignment_probabilities
- ProbabilityMethod.assignment_probabilities(expression: DataFrame, truth: Truth) DataFrame #
Compute the probability of each cell type for each row in the expression matrix
- Parameters:
expression – The clipped NSP counts for the cluster or cells
truth – The truth object. It can contain doublets as well.
- Returns:
- pd.DataFrame
The probability of each cell type for each row in the expression matrix. The index is the index of expression and the columns are the various cell types in truth
< Class ProbabilityMethod