logLikelihoodHistory {celda} | R Documentation

## Get log-likelihood history

### Description

Retrieves the complete log-likelihood from all iterations of Gibbs sampling used to generate a celda model.

### Usage

    logLikelihoodHistory(x, ...)

    ## S4 method for signature 'SingleCellExperiment'
    logLikelihoodHistory(x, altExpName = "featureSubset")

    ## S4 method for signature 'celdaModel'
    logLikelihoodHistory(x)

### Arguments

`x` | A SingleCellExperiment object returned by celda_C, celda_G, or celda_CG, or a celda model object.
`...` | Ignored. Placeholder to prevent check warning.
`altExpName` | The name for the altExp slot to use. Default "featureSubset".

### Value

Numeric. The log-likelihood at each step of Gibbs sampling used to generate the model.

### Examples

    data(sceCeldaCG)
    logLikelihoodHistory(sceCeldaCG)
    data(celdaCGMod)
    logLikelihoodHistory(celdaCGMod)

[Package celda version 1.6.1 Index]