Learn R Programming

INSPEcT (version 1.2.2)

makeModelRates: Calculate modeled rates and concentrations

Description

Calculate modeled rates and concentrations

This function is used to evaluate rates and concentrations after modeling of the rates has been run with modelRates. The modeled rates are in functional form and can be evaluated at any time points.

This method can be used to regenerate the rates assiciated to the modeling, in case some testing parameters has changed.

Usage

makeModelRates(object, ...)
"makeModelRates"(object, ...)
"makeModelRates"(object, ...)

Arguments

object
An object of class INSPEcT_model
...
additional arguments tpts : A vector of time points where rates and concentrations have to be evaluated

Value

An object of class ExpressionSet containing the modeled rates and concentrations

Examples

Run this code
data('mycerIds10', package='INSPEcT')
tpts <- c(0, 1/6, 1/3, 1/2, 1, 2, 4, 8, 16)
eSet <- makeModelRates(getModel(mycerIds10), tpts=tpts)
exprs(eSet)
data('mycerIds10', package='INSPEcT')
viewModelRates(mycerIds10, 'degradation')
## force every degradation rate to be accepted as variable
thresholds(getModel(mycerIds10))$brown <- c(synthesis=.01, degradation=1, processing=.01)
mycerIds10 <- makeModelRates(mycerIds10)
viewModelRates(mycerIds10, 'degradation')

Run the code above in your browser using DataLab