Description Usage Arguments Value Examples
Remove the model from an INSPEcT object. It is required when subsetting an INSPEcT object per time points because when removing time points the modeling is not valid anymore.
1 2 3 4 | removeModel(object)
## S4 method for signature 'INSPEcT'
removeModel(object)
|
object |
An Object of class INSPEcT |
An Object of class INSPEcT
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | nascentInspObj10 <- readRDS(system.file(package='INSPEcT', 'nascentInspObj10.rds'))
nascentInspObj10_5genes <- nascentInspObj10[1:5]
## This will turn out into an error:
## Not run: nascentInspObj10_5genes_5tpts <- nascentInspObj10[1:5, 1:5]
## Before subsetting time points, the model should be removed:
nascentInspObj10_5genes_5tpts <- removeModel(nascentInspObj10)[1:5, 1:5]
## Also this will turn out into an error:
## Not run: nascentInspObj10 <- modelRates(nascentInspObj10)
## Before running the model again, or changing modeling parameters,
## the previous model should be removed:
nascentInspObj10_old <- nascentInspObj10
nascentInspObj10_new <- removeModel(nascentInspObj10)
## Not run: nascentInspObj10_new <- modelRates(nascentInspObj10_new, useSigmoidFun = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.