Accessor function for getting parameter values.

getParam(object, name)

# S4 method for Params
getParam(object, name)

Arguments

object

object to get parameter from.

name

name of the parameter to get.

Value

The extracted parameter value

Examples

params <- newSimpleParams() getParam(params, "nGenes")
#> [1] 10000