R Under development (unstable) (2024-09-04 r87094 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # R CMD BATCH --no-timing --no-restore --no-save 1comp_test.R 1comp_test.Rout > > # Get rid of anything in the workspace: > rm(list=ls()) > > library(httk) > > #calc_analytic_css(chem.name="bisphenol a",model="1compartment") > calc_analytic_css(chem.cas="80-05-7",model="1compartment") Human volume of distribution returned in units of L/kg BW. Plasma concentration returned in uM units. [1] 1.185 Warning messages: 1: In get_fup(dtxsid = dtxsid, chem.name = chem.name, chem.cas = chem.cas, : Fraction unbound is provided as a distribution. 2: In apply_fup_adjustment(fup.point, fup.correction = fup.adjustment, : Fup adjusted for in vivo lipid partitioning (Pearce, 2017), see calc_fup_correction. 3: In available_rblood2plasma(chem.cas = chem.cas, chem.name = chem.name, : Human in vivo measured Rblood2plasma used. > calc_analytic_css(chem.cas="80-05-7",parameters=parameterize_1comp(chem.cas="80-05-7"),model="1compartment") Human volume of distribution returned in units of L/kg BW. Plasma concentration returned in uM units. [1] 1.185 Warning messages: 1: In get_fup(dtxsid = dtxsid, chem.name = chem.name, chem.cas = chem.cas, : Fraction unbound is provided as a distribution. 2: In apply_fup_adjustment(fup.point, fup.correction = fup.adjustment, : Fup adjusted for in vivo lipid partitioning (Pearce, 2017), see calc_fup_correction. 3: In available_rblood2plasma(chem.cas = chem.cas, chem.name = chem.name, : Human in vivo measured Rblood2plasma used. > #calc_analytic_css(chem.cas="80-05-7",model="1compartment",tissue="liver") > calc_analytic_css(chem.cas="80-05-7",model="1compartment",tissue="brain") Human volume of distribution returned in units of L/kg BW. Plasma concentration for brain returned in uM units. [1] 6.917 Warning messages: 1: In get_fup(dtxsid = dtxsid, chem.name = chem.name, chem.cas = chem.cas, : Fraction unbound is provided as a distribution. 2: In apply_fup_adjustment(fup.point, fup.correction = fup.adjustment, : Fup adjusted for in vivo lipid partitioning (Pearce, 2017), see calc_fup_correction. 3: In available_rblood2plasma(chem.cas = chem.cas, chem.name = chem.name, : Human in vivo measured Rblood2plasma used. > > ##head(solve_1comp(chem.name="bisphenol a")) > #head(solve_1comp(chem.cas="80-05-7")) > head(solve_1comp(parameters=parameterize_1comp(chem.cas="80-05-7"),days=1)) Human volume of distribution returned in units of L/kg BW. None of the monitored components undergo unit conversions (i.e. conversion factor of 1). AUC is area under the plasma concentration curve in uM*days units with Rblood2plasma = 0.795. The model outputs are provided in the following units: umol: Agutlumen, Ametabolized uM: Ccompartment uM*days: AUC time Agutlumen Ccompartment Ametabolized AUC [1,] 0.0000 175.80 0.000000 0.000000 0.000000 [2,] 0.0001 174.90 0.002068 0.000019 0.000000 [3,] 0.0104 102.00 0.165900 0.175700 0.000941 [4,] 0.0208 59.21 0.261500 0.599000 0.003210 [5,] 0.0312 34.36 0.316200 1.165000 0.006240 [6,] 0.0416 19.94 0.347300 1.811000 0.009706 Warning messages: 1: In get_fup(dtxsid = dtxsid, chem.name = chem.name, chem.cas = chem.cas, : Fraction unbound is provided as a distribution. 2: In apply_fup_adjustment(fup.point, fup.correction = fup.adjustment, : Fup adjusted for in vivo lipid partitioning (Pearce, 2017), see calc_fup_correction. 3: In available_rblood2plasma(chem.cas = chem.cas, chem.name = chem.name, : Human in vivo measured Rblood2plasma used. 4: In solve_model(chem.name = chem.name, chem.cas = chem.cas, dtxsid = dtxsid, : Rblood2plasma not recalculated. Set recalc.blood2plasma to TRUE if desired. 5: In solve_model(chem.name = chem.name, chem.cas = chem.cas, dtxsid = dtxsid, : Clearance not recalculated. Set recalc.clearance to TRUE if desired. > > calc_vdist(chem.name="triclosan") Human volume of distribution returned in units of L/kg BW. [1] 2.327 Warning messages: 1: In calc_ma(chem.cas = chem.cas, chem.name = chem.name, dtxsid = dtxsid, : Membrane affintity (MA) predicted with method of Yun and Edginton (2013), see calc_ma. 2: In get_fup(dtxsid = dtxsid, chem.name = chem.name, chem.cas = chem.cas, : Fraction unbound is provided as a distribution. 3: In apply_fup_adjustment(fup.point, fup.correction = fup.adjustment, : Fup adjusted for in vivo lipid partitioning (Pearce, 2017), see calc_fup_correction. > calc_vdist(chem.cas="80-05-7") Human volume of distribution returned in units of L/kg BW. [1] 6.337 Warning messages: 1: In get_fup(dtxsid = dtxsid, chem.name = chem.name, chem.cas = chem.cas, : Fraction unbound is provided as a distribution. 2: In apply_fup_adjustment(fup.point, fup.correction = fup.adjustment, : Fup adjusted for in vivo lipid partitioning (Pearce, 2017), see calc_fup_correction. > params <- parameterize_schmitt(chem.name="triclosan") Warning messages: 1: In calc_ma(chem.cas = chem.cas, chem.name = chem.name, dtxsid = dtxsid, : Membrane affintity (MA) predicted with method of Yun and Edginton (2013), see calc_ma. 2: In get_fup(dtxsid = dtxsid, chem.name = chem.name, chem.cas = chem.cas, : Fraction unbound is provided as a distribution. 3: In apply_fup_adjustment(fup.point, fup.correction = fup.adjustment, : Fup adjusted for in vivo lipid partitioning (Pearce, 2017), see calc_fup_correction. > params <- c(params, predict_partitioning_schmitt(parameters = params)) > calc_vdist(parameters=params) Volume of distribution returned in units of L/kg BW. [1] 2.327 > params <- parameterize_3comp(chem.name="triclosan") Warning messages: 1: In get_clint(dtxsid = dtxsid, chem.name = chem.name, chem.cas = chem.cas, : Clint is provided as a distribution. 2: In apply_clint_adjustment(Clint.point, Fu_hep = Fu_hep, suppress.messages = suppress.messages) : Clint adjusted for in vitro partitioning (Kilford, 2008), see calc_hep_fu. 3: In calc_ma(chem.cas = chem.cas, chem.name = chem.name, dtxsid = dtxsid, : Membrane affintity (MA) predicted with method of Yun and Edginton (2013), see calc_ma. 4: In get_fup(dtxsid = dtxsid, chem.name = chem.name, chem.cas = chem.cas, : Fraction unbound is provided as a distribution. 5: In apply_fup_adjustment(fup.point, fup.correction = fup.adjustment, : Fup adjusted for in vivo lipid partitioning (Pearce, 2017), see calc_fup_correction. 6: In available_rblood2plasma(chem.cas = chem.cas, species = species, : Human in vivo measured Rblood2plasma used. 7: In get_caco2(chem.cas = chem.cas, chem.name = chem.name, dtxsid = dtxsid, : Default value of 1.6 used for Caco2 permeability. > calc_vdist(parameters=params) Volume of distribution returned in units of L/kg BW. [1] 2.327 > params <- parameterize_pbtk(chem.name="triclosan") Warning messages: 1: In get_clint(dtxsid = dtxsid, chem.name = chem.name, chem.cas = chem.cas, : Clint is provided as a distribution. 2: In apply_clint_adjustment(Clint.point, Fu_hep = Fu_hep, suppress.messages = suppress.messages) : Clint adjusted for in vitro partitioning (Kilford, 2008), see calc_hep_fu. 3: In calc_ma(chem.cas = chem.cas, chem.name = chem.name, dtxsid = dtxsid, : Membrane affintity (MA) predicted with method of Yun and Edginton (2013), see calc_ma. 4: In get_fup(dtxsid = dtxsid, chem.name = chem.name, chem.cas = chem.cas, : Fraction unbound is provided as a distribution. 5: In apply_fup_adjustment(fup.point, fup.correction = fup.adjustment, : Fup adjusted for in vivo lipid partitioning (Pearce, 2017), see calc_fup_correction. 6: In available_rblood2plasma(chem.cas = chem.cas, species = species, : Human in vivo measured Rblood2plasma used. 7: In get_caco2(chem.cas = chem.cas, chem.name = chem.name, dtxsid = dtxsid, : Default value of 1.6 used for Caco2 permeability. > calc_vdist(parameters=params) Volume of distribution returned in units of L/kg BW. [1] 2.327 > > p <- parameterize_1comp(chem.name="Aminopterin")[sort(names(parameterize_1comp(chem.name="Aminopterin")))] Human volume of distribution returned in units of L/kg BW. Human volume of distribution returned in units of L/kg BW. There were 12 warnings (use warnings() to see them) > # Try to standardize order of variable names > for (this.param in names(p)[order(toupper(names(p)))]) cat(paste(this.param,": ",p[[this.param]],"\r\n",sep="")) BW: 70 Caco2.Pab: 1.6 Caco2.Pab.dist: NA Clint: 0 Clint.dist: NA Fabsgut: 0.6448 Fhep.assay.correction: 0.9561 Funbound.plasma: 0.747 Funbound.plasma.adjustment: 0.996 Funbound.plasma.dist: NA hematocrit: 0.44 hepatic.bioavailability: 1 kelim: 0.1091 kgutabs: 2.18 liver.density: 1.05 MA: 19 million.cells.per.gliver: 110 MW: 440.4 pKa_Accept: 8.09 pKa_Donor: 2.81 plasma.vol: 0.04286 Pow: 0.8903 Rblood2plasma: 0.8419 Vdist: 0.7338 > > quit("no") > proc.time() user system elapsed 15.15 0.51 15.65