makeSimDataset {INSPEcT} | R Documentation

## Generate synthetic rates and concentrations

### Description

This method generates rates and concentrations where noise is added according to the desired number of replicates that the user set as an arguments from the INSPEcT_model object that has been created by the method of the class INSPEcT `makeSimModel`. Rates and concentrations can be generated at the time-points of interest within the original time window. This method generates an INSPEcT object that can be modeled and the performance of the modeling can be tested directly aginst the INSPEcT_model object created by `makeSimModel`.

### Usage

    makeSimDataset(object, tpts, nRep, NoNascent = FALSE, seed = NULL)

    ## S4 method for signature 'INSPEcT_model'
    makeSimDataset(object, tpts, nRep,
      NoNascent = FALSE, seed = NULL)

### Arguments

`object` | An object of class INSPEcT_model, usually the output of `makeSimModel`
`tpts` | A numeric vector of time points where rates and concentrations have to be evaluated
`nRep` | Number of replicates to simulate
`NoNascent` | A logical which, if true, makes the output of the method suitable for an analysis wothout Nascent
`seed` | A numeric to obtain reproducible results

### Value

An object of the class ExpressionSet containing rates and concentrations

### See Also

`makeSimModel`

### Examples

    if( Sys.info()["sysname"] != "Windows" ) {
      nascentInspObj <- readRDS(system.file(package='INSPEcT', 'nascentInspObj.rds'))
      simRates<-makeSimModel(nascentInspObj, 1000, seed=1)
      tpts <- tpts(nascentInspObj)
      nascentSim2replicates <- makeSimDataset(object=simRates,tpts=tpts,nRep=3,NoNascent=FALSE,seed=1)
    }

[Package INSPEcT version 1.12.2 Index]