setParam {splatter} | R Documentation

## Set a parameter

### Description

Function for setting parameter values.

### Usage

    setParam(object, name, value)

    ## S4 method for signature 'BASiCSParams'
    setParam(object, name, value)

    ## S4 method for signature 'Lun2Params'
    setParam(object, name, value)

    ## S4 method for signature 'LunParams'
    setParam(object, name, value)

    ## S4 method for signature 'Params'
    setParam(object, name, value)

    ## S4 method for signature 'PhenoParams'
    setParam(object, name, value)

    ## S4 method for signature 'SCDDParams'
    setParam(object, name, value)

    ## S4 method for signature 'SplatParams'
    setParam(object, name, value)

    ## S4 method for signature 'ZINBParams'
    setParam(object, name, value)

### Arguments

`object` | object to set parameter in.
`name` | name of the parameter to set.
`value` | value to set the paramter to.

### Value

Object with new parameter value.

### Examples

    params <- newSimpleParams()
    setParam(params, "nGenes", 100)

[Package splatter version 1.6.1 Index]