makeModelRates {INSPEcT} | R Documentation

## Calculate modeled rates and concentrations

### Description

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, ...)

    ## S4 method for signature 'INSPEcT_model'
    makeModelRates(object, ...)

    ## S4 method for signature 'INSPEcT'
    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

    nascentInspObj10 <- readRDS(system.file(package='INSPEcT', 'nascentInspObj10.rds'))
    tpts <- tpts(nascentInspObj10)
    eSet <- makeModelRates(getModel(nascentInspObj10), tpts=tpts)
    exprs(eSet)
    nascentInspObj10 <- readRDS(system.file(package='INSPEcT', 'nascentInspObj10.rds'))
    viewModelRates(nascentInspObj10, 'degradation')
    ## force every degradation rate to be accepted as variable
    modelSelection(getModel(nascentInspObj10))$thresholds$brown <- c(synthesis=.01, degradation=1, processing=.01)
    nascentInspObj10 <- makeModelRates(nascentInspObj10)
    viewModelRates(nascentInspObj10, 'degradation')

[Package INSPEcT version 1.12.2 Index]