setInitValues function

Generic for altering the initValues slot

Generic for altering the initValues slot

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

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.

Returns

The same readsData object with the initValues slot updated.

Methods (by class)

  • readsData: Alters the value of the initValues slot of a readsData object.

Examples

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
  • Maintainer: Gershom Buri
  • License: GPL-2
  • Last published: 2018-01-31

Useful links