Description Usage Arguments Details Value See Also Examples
View source: R/mergemodelslists.R
Merges several models lists into one. The models lists must come
from modelTurnover
with the same arguments with the exception
of the input data. This function should be used in cases where a model is
fit for different conditions of an experiment with NO overlap in the samples
and NO missing samples. Otherwise the plotting functions might give
incorrect outputs.
1 |
... |
Lists with model data, output from |
When merging the attributes are also merged. Some of these need to be recalculated since they contain information about the input data positioning (column number). These attributes are used in the plotting functions.
Take this into consideration so that the order of the models lists follows the order of the columns in the original data. This also means no skipped conditions and no skipped samples. If that is the case, build an intermediari object that contains only the samples to be used (see examples).
A list of models.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | data('wormsPE')
wormsPE <- calculateIsotopeFraction(wormsPE, ratioAssay = 'ratio')
modelList1 <- modelTurnover(x = wormsPE[1:10, 1:7],
assayName = 'fraction',
formula = 'fraction ~ 1 - exp(-k*t)',
start = list(k = 0.02),
mode = 'protein',
robust = FALSE,
returnModel = TRUE)
modelList2 <- modelTurnover(x = wormsPE[1:10, 8:14],
assayName = 'fraction',
formula = 'fraction ~ 1 - exp(-k*t)',
start = list(k = 0.02),
mode = 'protein',
robust = FALSE,
returnModel = TRUE)
mergedModelList <- mergeModelsLists(modelList1, modelList2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.