setInitValues: Generic for altering the initValues slot

Description Usage Arguments Value Methods (by class) Examples

Description

Updates the value of the initValues slot for the readsData object supplied.

Usage

1
2
3
4
setInitValues(object, initval)

## S4 method for signature 'readsData'
setInitValues(object, initval)

Arguments

object

a readsData object

initval

A list of initial values for each of the parameters.

Value

The same readsData object with the initValues slot updated.

Methods (by class)

Examples

1
2
3
4
RD <- new("readsData", counts = ERCC)
initvals <- list(N_A = rep(2, 92), N_B = rep(1.5, 92), p = 0.0005, f = 0.03)
RD <- setInitValues(RD, initvals)
RD@initValues

denoiSeq documentation built on May 2, 2019, 9:33 a.m.