Learn R Programming

Welcome to the Official Git Repository of ToxicR!

What is ToxicR?

ToxicR is an R package that utilizes the core functionality of the US EPA's Benchmark Dose Software and the NTP's BMDexpress, which was developed in unison with researchers from the National Institute of Environmental Health. Unlike those packages, ToxicR is fully interactive and can be used to create custom analysis pipelines within the R programming environment.

Current Release

Version 1.0.4 is the most recent release. For precompiled binaries of this release type "install.packages('ToxicR')" inside R.

Installation

For Windows, the .zip file is compiled in R 4.2. For macOS, the .tgz file is compiled in R 4.2. For Linux, the package must be compiled. For more information, please visit the instructions on the Wiki.

Citing ToxicR

All dose-response methodologies used in ToxicR were developed in the following manuscripts:

Wheeler, M.W., Blessinger, T., Shao, K., Allen, B.C., Olszyk, L., Davis, J.A. and Gift, J.S. (2020), Quantitative Risk Assessment: Developing a Bayesian Approach to Dichotomous Dose–Response Uncertainty. Risk Analysis, 40: 1706-1722. https://doi.org/10.1111/risa.13537

Wheeler, M. W., Cortiñas Abrahantes, J., Aerts, M., Gift, J. S., & Allen Davis, J. (2022). Continuous model averaging for benchmark dose analysis: Averaging over distributional forms. Environmetrics, e2728. https://doi.org/10.1002/env.2728

Copy Link

Version

Install

install.packages('ToxicR')

Monthly Downloads

5

Version

22.12.1.0.7

License

LGPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Matt Wheeler

Last Published

December 13th, 2022

Functions in ToxicR (22.12.1.0.7)

ntp_dunnett

ntp_dunett Dunnett's test
ntp_jonckeere

ntp_jonckeere Jonckherre's test for significant differences from background dose
ntp_shirley

ntp_shirley Shirley's test as programmed at the NTP
ntp_599_female

Long term Thyroid Adenoma data from NTP Report 599
ntp_polyk

Poly-k test This function implements the NTP's polyK trend test.
ntp_williams

Wiliam's trend test
ntp_dunn

ntp_dunn Dunn's test
ntp_weight_data

Short term terminal body-weight data from NTP Report 599
ntp_599_hemotology

Clinical Chemistry data from NTP Report 599
single_dichotomous_fit

Fit a single dichotomous dose-response model to data.
single_continuous_fit

single_continuous_fit - Fit a single continuous BMD model.
ma_dichotomous_fit

ma_dichotomous_fit - Fit a model averaged dichotomous BMD model.
normprior

normprior - create a normal prior object
dichotomousDR

733 unique dose-response datasets
create_continuous_prior

create_continuous_prior Given priorlist, a model, and a distribution. Create a prior for a given analysis.
lnormprior

lnormprior - create a lognormal prior.
create_dichotomous_prior

create_dichotomous_prior Given priorlist, a model, and a distribution. Create a prior for a given analysis.
MAdensity_plot

MAdensity_plot - Create a density plot from a model averaged model.
ma_continuous_fit

ma_continuous_fit - Fit a model averaged continuous BMD model.
cleveland_plot

cleveland_plot - Create a Cleveland plot from a model averaged model.
create_prior_list

create_prior_lists .. Given priors created using the ToxicR prior functions, create a list of priors for a model.