Learn R Programming

httk (version 1.3)

export_pbtk_sbml: Export model to sbml.

Description

This function exports the multiple compartment PBTK model to an sbml file.

Usage

export_pbtk_sbml(chem.cas=NULL,chem.name=NULL,species="Human",
                 initial.amounts=list(Agutlumen=0),filename="default.xml",digits = 4)

Arguments

chem.cas
Either the chemical name or CAS number must be specified.
chem.name
Either the chemical name or CAS number must be specified.
species
Species desired (either "Rat", "Rabbit", "Dog", or default "Human").
initial.amounts
Must specify initial amounts in units of choice.
filename
The name of the jarnac file containing the model.
digits
Desired number of decimal places to round the parameters.

Details

Compartments to enter into the initial.amounts list includes Agutlumen, Aart, Aven, Alung, Agut, Aliver, Akidney, and Arest. When species is specified as rabbit, dog, or mouse, the function uses the appropriate physiological data(volumes and flows) but substitues human fraction unbound, partition coefficients, and intrinsic hepatic clearance.

Examples

Run this code
export_pbtk_sbml(chem.name='Nicotine',initial.amounts=list(Agutlumen=1),filename='PBTKmodel.xml')

Run the code above in your browser using DataLab