getParam: Get a parameter

getParamR 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")


Oshlack/splatter documentation built on Dec. 10, 2024, 3:48 p.m.