Return model with updated parameters and initial conditions defined in a CSV file

This function loads a CSV file that should have at least 2 columns. The first column contains element names, the second element values. These elements can be pretty much anything but ideally they contain names of states or parameters in the provided model. If a match can be made, for states the initial condition and for parameters the value is set to the value defined in the second column. An updated model is returned.

simbio_updateParamIC_IQRmodel(model, filename)

Arguments

model

IQRmodel to update

filename

Path to a CSV file that contains at least 2 "columns". The first contains the name of an element, the second contains the value of the element.

Value

Updated IQRmodel based on information in the CSV file

Details

For handling the weird Simbiology syntax "compartmentName." this "compartmentName." is removed before attempting the matching.

See also

Other IQRmodel: IQRmodel(), addOutputs_IQRmodel(), addRelations_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(), stoichiometry_IQRmodel(), strReplace_IQRmodel()

Other QSP: IQRsysEst(), IQRsysModel(), IQRsysProject(), addOutputs_IQRmodel(), addRelations_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(), spmIIV_IQRsysProject(), spm_IQRsysProject(), switchOpt_IQRsysModel(), tablePars_IQRsysModel()