getParam: Get a parameter

Description Usage Arguments Value Examples

Description

Accessor function for getting parameter values.

Usage

1
2
3
4
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

1
2
params <- newSimpleParams()
getParam(params, "nGenes")

splatter documentation built on Dec. 3, 2020, 2:01 a.m.