Given a CAS in the HTTK data set, a virtual population from HTTK-Pop, some user specifications on the assumed distributions of Funbound.plasma and Clint, draw "individual" values of Funbound.plasma and Clint from those distributions. The methodology for this function was developed and described by wambaugh2019assessing;textualhttk (tools:::Rd_expr_doi("10.1093/toxsci/kfz205")).
invitro_mc(
parameters.dt = NULL,
samples,
fup.meas.mc = TRUE,
fup.pop.mc = TRUE,
clint.meas.mc = TRUE,
clint.pop.mc = TRUE,
fup.meas.cv = 0.4,
clint.meas.cv = 0.3,
fup.pop.cv = 0.3,
clint.pop.cv = 0.3,
caco2.meas.sd = 0.3,
caco2.pop.sd = 0.3,
Caco2.Fgut = TRUE,
Caco2.Fabs = TRUE,
keepit100 = FALSE,
poormetab = TRUE,
fup.lod = 0.01,
fup.censored.dist = FALSE,
adjusted.Funbound.plasma = TRUE,
adjusted.Clint = TRUE,
clint.pvalue.threshold = 0.05,
minimum.Funbound.plasma = 1e-04
)
A data.table with three columns: Funbound.plasma
and
Clint
, containing the sampled values, and
Fhep.assay.correction
, containing the value for fraction unbound in
hepatocyte assay.
A data table of physiological and chemical-specific parameters
The number of samples to draw.
Logical -- should we perform measurment (uncertainty)
Monte Carlo for Funbound.plasma
values (Default TRUE). If FALSE,
the user may choose to provide columns for "unadjusted.Funbound.plasma" or
"fup.mean" from their own methods.
Logical -- should we perform population (variability)
Monte Carlo for Funbound.plasma
values (Default TRUE)
Logical -- should we perform measurment (uncertainty)
Monte Carlo for Clint
values (Default TRUE)
Logical -- should we perform population (variability)
Monte Carlo for Clint
values (Default TRUE)
Coefficient of variation of distribution of measured
Funbound.plasma
values.
Coefficient of variation of distribution of measured
Clint
values.
Coefficient of variation of distribution of population
Funbound.plasma
values.
Coefficient of variation of distribution of population
Clint
values.
Standard deviation of the measured oral absorption - numeric value (Default 0.3).
Standard deviation of the population level oral absorption - numeric value (Default 0.3).
= TRUE uses Caco2.Pab to calculate
fgut.oral, otherwise fgut.oral = Fgut
.
= TRUE uses Caco2.Pab to calculate
fabs.oral, otherwise fabs.oral = Fabs
.
= TRUE overwrites Fabs and Fgut with 1 (i.e. 100 percent) regardless of other settings.
Logical. Whether to include poor metabolizers in the Clint distribution or not.
The average limit of detection for Funbound.plasma
, below
which distribution will be censored if fup.censored.dist is TRUE. Default 0.01.
Logical. Whether to draw Funbound.plasma
from a
censored distribution or not.
Uses the pearce2017evaluation;textualhttk lipid binding adjustment for Funbound.plasma when set to TRUE (Default).
Uses kilford2008hepatocellular;textualhttk hepatocyte incubation binding adjustment for Clint when set to TRUE (Default).
Hepatic clearance for chemicals where the in vitro clearance assay result has a p-values greater than the threshold are set to zero.
Monte Carlo draws less than this value are set equal to this value (default is 0.0001 -- half the lowest measured Fup in our dataset).
A list of chemical-specific model parameters containing at least Funbound.plasma, Clint, and Fhep.assay.correction.
Caroline Ring and John Wambaugh
The Monte Carlo methods used here were recently updated and described by breen2022simulating;textualhttk.
# \donttest{
#Simply generate a virtual population of 100 individuals,
#using the direct-resampling method
set.seed(42)
# Pull mean chemical=specific values:
chem.props <- parameterize_pbtk(chem.name="bisphenolb")
# Convert to data.table with one row per sample:
parameters.dt <- monte_carlo(chem.props,samples=100)
# Use httk-pop to generate a population:
pop <- httkpop_generate(method='direct resampling', nsamp=100)
# Overwrite parameters specified by httk-pop:
parameters.dt[,names(pop):=pop]
# Vary in vitro parameters:
parameters.dt <- invitro_mc(parameters.dt,samples=100)
# }
Run the code above in your browser using DataLab