Retrieves the complete log-likelihood from all iterations of Gibbs sampling used to generate a celda model.
logLikelihoodHistory(x, altExpName = "featureSubset") # S4 method for SingleCellExperiment logLikelihoodHistory(x, altExpName = "featureSubset") # S4 method for celdaModel logLikelihoodHistory(x)
x | A SingleCellExperiment object returned by celda_C, celda_G, or celda_CG, or a celda model object. |
---|---|
altExpName | The name for the altExp slot to use. Default "featureSubset". |
Numeric. The log-likelihood at each step of Gibbs sampling used to generate the model.
#> [1] -1212891 -1212891 -1212891 -1212891 -1212891 -1212891 -1212891 -1212891 #> [9] -1212891 -1212891 -1212891 -1212891#> [1] -1215541 -1215541 -1215541 -1215541 -1215541 -1215541 -1215541 -1215541 #> [9] -1215541 -1215541 -1215541 -1215541