Add new relations to an IQR model

Adds new parameter and variable relations to the model.

addRelations_IQRmodel(
  model,
  variables,
  notes = NULL,
  regenerateModel = TRUE,
  verbose = TRUE
)

Arguments

model

IQR model

variables

named character vector, e.g. c(kD_2 = "kD*f_kD").

notes

named character vector, e.g. c(kD_2 = "Second binding affinity").

regenerateModel

logical (default is FALSE). Re-compile the model if TRUE.

verbose

logical (default is TRUE). Show verbose information documenting what is happening.

Value

IQRmodel object.

Details

The function adds the new definitions in the beginning of the variable sections. If by the replacement parameters become obsolete, they will be removed from the model. Newly introduced symbols will be interpreted as parameters and will be added to the model as such with a value of 0.

Multiple relations can be introduced at the same time. However, the new relations need to be self-contained, not using variables defined in the original model.

See also

Other IQRmodel: IQRmodel(), addOutputs_IQRmodel(), createSimIQRmodelSpec(), exportSBML_IQRmodel(), exportVariant_IQRmodel(), export_IQRmodel(), getPars_IQRmodel(), hasCcodeFunctions_IQRmodel(), hasInitialAssignments_IQRmodel(), importSBML_IQRmodel(), importVariant_IQRmodel(), is_IQRmodel(), new_IQRmodel(), print.IQRmodel(), print.IQRsensitivity(), regenerate_IQRmodel(), replaceTerms_IQRmodel(), sensitivity_IQRmodel(), setParameters_IQRmodel(), setPars_IQRmodel(), sim_IQRmodel(), sim_IQRmodel_strict(), simbio_CSV2namedVector(), simbio_updateParamIC_IQRmodel(), stoichiometry_IQRmodel(), strReplace_IQRmodel()

Other QSP: IQRsysEst(), IQRsysModel(), IQRsysProject(), addOutputs_IQRmodel(), as_IQRsysEst(), as_IQRsysProject(), as_IQRsysProjectMulti(), comparePars_IQRsysModel(), duplicate_IQRsysProject(), exportVariant_IQRmodel(), exportVirtualSubjects_IQRnlmeProject(), export_IQRsysData(), getDosing_IQRsysModel(), getEmpiricalETACovarianceMatrix_IQRsysProject(), getOptTrace_IQRsysProject(), getPars_IQRoptTrace(), getPars_IQRsysModel(), getPrediction_IQRsysModel(), hasrun_IQRsysProject(), importVariant_IQRmodel(), import_IQRsysData(), is_IQRsysEst(), is_IQRsysModel(), is_IQRsysProject(), is_IQRsysProjectMulti(), load_IQRsysProject(), modelSpec_IQRsysEst(), model_IQRsysModel(), offsetTIME_IQRsysData(), plotDVPRED_IQRsysModel(), plotFit_IQRsysModel(), plotPars_IQRsysModel(), plotPred_IQRsysModel(), plotProfile_IQRsysModel(), plotWRES_IQRsysModel(), plotWaterfall_IQRsysModel(), plot_IQRoptTrace(), plot_IQRsysModel(), print.IQRsensitivity(), print.IQRsysProject(), profile_IQRsysModel(), replaceTerms_IQRmodel(), run_IQRsysProject(), run_IQRsysProjectMulti(), sample_IQRsysModel(), sensitivity_IQRmodel(), setPars_IQRsysModel(), sim_IQRsysModel(), sim_IQRvirtualSubjects(), simbio_CSV2namedVector(), simbio_updateParamIC_IQRmodel(), spmIIV_IQRsysProject(), spm_IQRsysProject(), switchOpt_IQRsysModel(), tablePars_IQRsysModel()

Author

Daniel Kaschek, IntiQuan