dmod_obs_2_petab_obs: dMod Observables to PEtab converter

dmod_obs_2_petab_obsR Documentation

dMod Observables to PEtab converter

Description

Function that takes an eqnvec object from dMod and converts it to the desired PEtab format including renaming of scaling and offset- parameters.

Usage

dmod_obs_2_petab_obs(obs, param_identifier = c("scale", "offset"))

Arguments

obs

eqnvec

param_identifier

vector of strings identifying parameters that should be replaced in the PEtab format. The passed phrases must be appear in all parameters that should be replaced and in none that not. Per default it is assumed that there are (only) scale and offset parameters identifiable by these exact phrases

Value

data.table formatted as required by PEtab

Author(s)

Severin Bang <severin.bang@physik.uni-freiburg.de>

Examples


## generate 'eqnvec' object with four parameters variably formatted 
observ <- eqnvec(test = "parafoo + meter_bar * cyberglarb(zorbhyper)")

## define what the parameter identiyfyers are
identifiers <- c("foo", "bar", "glarb", "zorb")

## execute function
out <- dmod_obs_2_petab_obs(obs = observ, param_identifier = identifiers)


dlill/petab documentation built on Oct. 9, 2022, 3:07 p.m.