parameterize_model: parameterize_model

View source: R/parameterize_model.R

parameterize_modelR Documentation

parameterize_model

Description

This wrapper function allows for a consistent workflow where user can set a variable for the model being used such as MODEL <- "pbtk", then call wrapper function, p <- parameterize_model(chem.name=MY.CHEM, model=MODEL), and then solve for other properties such as Cvt <- solve_model(parameters=p, model=MODEL).

Usage

parameterize_model(
  chem.name = NULL,
  chem.cas = NULL,
  dtxsid = NULL,
  model = "sumclearancesplus",
  ...
)

Arguments

chem.name

Either the chemical name, CAS number, or the parameters must be specified.

chem.cas

Either the chemical name, CAS number, or the parameters must be specified.

dtxsid

EPA's DSSTox Structure ID (https://comptox.epa.gov/dashboard) the chemical must be identified by either CAS, name, or DTXSIDs

model

Specified model to use in simulation: "pbtk", "3compartment", "3compartmentss", "1compartment", "schmitt", ...

...

Additional arguments passed to the model parameterization function.

Value

A matrix of class deSolve with a column for time(in days), each compartment, the area under the curve, and plasma concentration and a row for each time point.

Author(s)

John Wambaugh

See Also

list_models

solve_model


httk documentation built on Nov. 26, 2026, 9:08 a.m.