Replace terms in ODEs of IQR model

Replacement of character expressions or regular expressions in the ODEs defined in an IQR model.

replaceTerms_IQRmodel(
  model,
  terms,
  regenerateModel = FALSE,
  fixed = TRUE,
  verbose = TRUE
)

Arguments

model

IQR model

terms

named character vector, e.g. c("kD_2*Conc_Blood" = "kD_2_Blood*Conc_Blood").

regenerateModel

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

fixed

logical (defaul is TRUE). Search for expression as it is if TRUE, interpret as regular expression if FALSE. See gsub for more details about the fixed option.

verbose

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

Value

IQRmodel object.

Details

The function replaces expressions by new expressions. If by this procedure new symbols are introduced to the model, they are interpreted as parameters and are added to the list of known parameters being initialized with 0.

See also

Other IQRmodel: IQRmodel(), addOutputs_IQRmodel(), addRelations_IQRmodel(), 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(), sensitivity_IQRmodel(), setParameters_IQRmodel(), setPars_IQRmodel(), sim_IQRmodel(), simbio_CSV2namedVector(), simbio_updateParamIC_IQRmodel(), stoichiometry_IQRmodel(), strReplace_IQRmodel()

Other QSP: IQRsysEst(), IQRsysModel(), IQRsysProject(), addOutputs_IQRmodel(), addRelations_IQRmodel(), as_IQRsysEst(), as_IQRsysProjectMulti(), as_IQRsysProject(), 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_IQRsysProjectMulti(), is_IQRsysProject(), 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(), run_IQRsysProjectMulti(), run_IQRsysProject(), 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