LikelihoodMethod.log_likelihood

LikelihoodMethod.log_likelihood#

missionbio.demultiplex.protein.pace.likelihood.LikelihoodMethod.log_likelihood

LikelihoodMethod.log_likelihood(likelihood: ndarray) ndarray#

Calculate the log-likelihood of the data.

The 0 likelihood values are assigned the minimum log-likelihood value to avoid -inf values

Parameters:

likelihood – The likelihood values

Returns:

np.ndarray

The log-likelihood values


< Class LikelihoodMethod