getParam {splatter} | R Documentation

## Get a parameter

### Description

Accessor function for getting parameter values.

### Usage

    getParam(object, name)

    ## S4 method for signature '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")

[Package splatter version 1.2.2 Index]