Retrieves the K/L, model priors (e.g. alpha, beta), and count matrix checksum parameters provided during the creation of the provided celdaModel.

params(celdaMod)

# S4 method for celdaModel
params(celdaMod)

Arguments

celdaMod

celdaModel. Options available in celda::availableModels.

Value

List. Contains the model-specific parameters for the provided celda model object depending on its class.

Examples

data(celdaCGMod) params(celdaCGMod)
#> Error in (function (classes, fdef, mtable) { methods <- .findInheritedMethods(classes, fdef, mtable) if (length(methods) == 1L) return(methods[[1L]]) else if (length(methods) == 0L) { cnames <- paste0("\"", vapply(classes, as.character, ""), "\"", collapse = ", ") stop(gettextf("unable to find an inherited method for function %s for signature %s", sQuote(fdef@generic), sQuote(cnames)), domain = NA) } else stop("Internal error in finding inherited methods; didn't return a unique method", domain = NA)})(list(structure("celda_CG", package = "celda")), new("standardGeneric", .Data = function (x, ...) standardGeneric("params"), generic = structure("params", package = "S4Vectors"), package = "S4Vectors", group = list(), valueClass = character(0), signature = "x", default = NULL, skeleton = (function (x, ...) stop("invalid call in method dispatch to 'params' (no default method)", domain = NA))(x, ...)), <environment>): unable to find an inherited method for function ‘params’ for signature ‘"celda_CG"’