get_modelinfo: Retrieve information describing how httk interacts with a...

View source: R/get_modelinfo.R

get_modelinfoR Documentation

Retrieve information describing how httk interacts with a model

Description

For each model we create a modelinfo_[MODEL].R file (which we refer to as a "modelinfo" file for short) describing how the core httk functions should interact with the model.

Usage

get_modelinfo(
  descriptor,
  model = "sumclearancesplus",
  suppress.messages = FALSE
)

Arguments

descriptor

The descriptor to retrieve. See Table 5 and Supplemental Information in \insertCitedavidson2025enablinghttk for a full list as of 2025.

model

The model for which to retrieve the descriptor. See list_models for available models. Default is "sumclearancesplus".

suppress.messages

Whether or not the output messages are suppressed (default FALSE).

Details

The modelinfo file acts as a reference guide for each HTTK model providing model-specific global variables, mappings between R and C variables and functions, as well as criteria indicating data that are relevant for model evaluation.

Each modelinfo file saves the standard set of descriptors to the ‘model.list’ object within httk, which holds the model-specific information for all models in the package. The ‘model.list’ object allows the ‘core’ functions to identify and interact with all models in a standardized manner using standardized descriptors.

Beyond basic definitions for the relevant functions, the modelinfo file describes the default units and state of matter (“gas” or “liquid”) for each compartment in the model.

The variable “param.names” lists all the parameters used by R, which sometimes includes things such as logP, which underle the parameters used by the ODE system but are not directly needed by the model. The “Rtosolvermap” variable identifies which R parameters link to C parameters described by the “compiled.param.names” variable in the modelinfo file

See Table 5 and Supplemental Information in \insertCitedavidson2025enablinghttk for a description of the standard descriptors included in modelinfo files.

list_models

Value

The entry from model.list corresponding to arguments descriptor and model.

Author(s)

John Wambaugh

References

\insertRef

davidson2025enablinghttk

See Also

list_models

Examples

get_modelinfo("param.names")
get_modelinfo("DOI",model="dermal_1subcomp")


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