R Under development (unstable) (2024-08-23 r87049 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 other_tests.R other_tests.Rout > > # Get rid of anything in the workspace: > rm(list=ls()) > > library(httk) > > #calc_css(chem.name='nicotine') > > calc_css(chem.name='nicotine', model="1compartment") Human volume of distribution returned in units of L/kg BW. $avg [1] 0.5621 $frac [1] 0.7526 $max [1] 1.371 $the.day [1] 0 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_css(chem.name='nicotine', model="3compartment") $avg [1] 0.5757 $frac [1] 0.9574 $max [1] 0.8508 $the.day [1] 1 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 get_fup(dtxsid = dtxsid, chem.name = chem.name, chem.cas = chem.cas, : Fraction unbound is provided as a distribution. 4: In apply_fup_adjustment(fup.point, fup.correction = fup.adjustment, : Fup adjusted for in vivo lipid partitioning (Pearce, 2017), see calc_fup_correction. 5: In available_rblood2plasma(chem.cas = chem.cas, species = species, : Human in vivo measured Rblood2plasma used. 6: In get_caco2(chem.cas = chem.cas, chem.name = chem.name, dtxsid = dtxsid, : Default value of 1.6 used for Caco2 permeability. > > calc_css(chem.name="endrin") $avg [1] 681.8 $frac [1] 0.9299 $max [1] 681.8 $the.day [1] 3273 Warning messages: 1: 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. 2: 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. 3: In apply_fup_adjustment(fup.point, fup.correction = fup.adjustment, : Fup adjusted for in vivo lipid partitioning (Pearce, 2017), see calc_fup_correction. 4: 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. 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 calc_rblood2plasma(chem.cas = chem.cas, species = species, adjusted.Funbound.plasma = adjusted.Funbound.plasma, : Rblood2plasma has been recalculated. 7: In available_rblood2plasma(chem.cas = chem.cas, species = species, : Human Rblood2plasma calculated with calc_rblood2plasma. 8: In get_caco2(chem.cas = chem.cas, chem.name = chem.name, dtxsid = dtxsid, : Default value of 1.6 used for Caco2 permeability. > > calc_tkstats(chem.name='nicotine',days=10) Human plasma concentrations returned in uM units. AUC is area under plasma concentration curve in uM * days units with Rblood2plasma = 0.8238 . $AUC [1] 5.981 $peak [1] 1.981 $mean [1] 0.5981 > > calc_tkstats(dtxsid="DTXSID0020442",days=1) Plasma values returned in uM units. AUC is area under plasma concentration curve in uM * days units with Rblood2plasma = 2.11 . $AUC [1] 8.599 $peak [1] 9.607 $mean [1] 8.599 > > calc_tkstats(dtxsid="DTXSID0020442",days=10) Plasma values returned in uM units. AUC is area under plasma concentration curve in uM * days units with Rblood2plasma = 2.11 . $AUC [1] 272.2 $peak [1] 40.64 $mean [1] 27.22 > > calc_tkstats(dtxsid="DTXSID0020442",days=100) Plasma values returned in uM units. AUC is area under plasma concentration curve in uM * days units with Rblood2plasma = 2.11 . $AUC [1] 3909 $peak [1] 44.4 $mean [1] 39.09 > > calc_analytic_css( + chem.name='Bisphenol-A', + tissue='liver', + species='rabbit', + parameterize.args = list( + default.to.human=TRUE, + adjusted.Funbound.plasma=TRUE, + regression=TRUE, + minimum.Funbound.plasma=1e-4), + daily.dose=2) Plasma concentration for liver returned in uM units. [1] 30.96 There were 14 warnings (use warnings() to see them) > > predict_partitioning_schmitt(chem.name='nicotine') $Kadipose2pu [1] 2.89 $Kbone2pu [1] 0.9906 $Kbrain2pu [1] 1.451 $Kgut2pu [1] 2.537 $Kheart2pu [1] 3.165 $Kkidney2pu [1] 5.149 $Kliver2pu [1] 6.176 $Klung2pu [1] 1.502 $Kmuscle2pu [1] 1.458 $Kskin2pu [1] 1.87 $Kspleen2pu [1] 1.662 $Krbc2pu [1] 0.802 $Krest2pu [1] 2.153 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. > > quit("no") > proc.time() user system elapsed 15.62 0.64 16.26