toxEval

The toxEval R-package includes a set of functions to analyze, visualize, and organize measured concentration data as it relates to chosen biological effects benchmarks. See https://doi-usgs.github.io/toxEval/ for more details

https://github.com/doi-usgs/toxeval

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    3 of 10 committers (30.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (17.7%) to scientific vocabulary

Keywords

r r-package rstats toxicity water-quality

Keywords from Contributors

interactive serializer packaging network-simulation shellcodes hacking autograding observability embedded optim
Last synced: 6 months ago · JSON representation

Repository

The toxEval R-package includes a set of functions to analyze, visualize, and organize measured concentration data as it relates to chosen biological effects benchmarks. See https://doi-usgs.github.io/toxEval/ for more details

Basic Info
Statistics
  • Stars: 21
  • Watchers: 9
  • Forks: 11
  • Open Issues: 9
  • Releases: 35
Topics
r r-package rstats toxicity water-quality
Created almost 11 years ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog License

README.Rmd

---
title: "README"
output:
  md_document:
    variant: markdown_github
---


```{r, echo = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-"
)
```
# toxEval 


[![CRAN version](http://www.r-pkg.org/badges/version/toxEval)](https://cran.r-project.org/package=toxEval)
[![](http://cranlogs.r-pkg.org/badges/toxEval)](https://cran.r-project.org/package=toxEval)
[![](http://cranlogs.r-pkg.org/badges/grand-total/toxEval)](https://cran.r-project.org/package=toxEval)

The `toxEval` R-package includes a set of functions to analyze, visualize, and organize measured concentration data as it relates to [https://www.epa.gov/comptox-tools/toxicity-forecasting-toxcast](https://www.epa.gov/comptox-tools/toxicity-forecasting-toxcast) or other user-selected chemical-biological interaction benchmark data such as water quality criteria. The intent of these analyses is to develop a better understanding of the potential biological relevance of environmental chemistry data. Results can be used to prioritize which chemicals at which sites may be of greatest concern. These methods are meant to be used as a screening technique to predict potential for biological influence from chemicals that ultimately need to be validated with direct biological assays. 

The functions within this package allow great flexibly for exploring the potential biological affects of measured chemicals. Also included in the package is a browser-based application made from the `Shiny` R-package (the app). The app is based on functions within the R-package and includes many convenient analyses and visualization options for users to choose. Use of the functions within the R-package allows for additional flexibility within the functions beyond what the app offers and provides options for the user to interact more directly with the data. The overview in this document focuses on the R-package. 

## Installation of toxEval

To install the toxEval package, you must be using R 3.0 or greater and run the following command:

```{r eval=FALSE}
install.packages("toxEval")
```

To get cutting-edge changes, install from GitHub using the `remotes` packages:

```{r eval=FALSE}
library(remotes)
install_gitlab("water/toxEval",
               host = "code.usgs.gov",
               build_vignettes = TRUE, 
               build_opts = c("--no-resave-data",
                              "--no-manual"),
               dependencies = TRUE)
```

## Quickstart

Installation instructions are below. To quickly get going in `toxEval`, run:

```{r} 
library(toxEval)
```

```{r eval=FALSE}
explore_endpoints()
```

app_demo

Then click on the "Load Example Data" in the upper right corner. This loads the example data that is found here: ```{r eval=FALSE} file.path(system.file("extdata", package="toxEval"), "OWC_data_fromSup.xlsx") ``` Once the data is loaded in the app, sample R code is shown below each tab. This can be copied into the R console (once the app is stopped...) to use as a base for exploring the package directly in R. Alternatively, an example workflow is shown here (also using example data provided in the package): ```{r warning=FALSE, fig.width=8} library(toxEval) path_to_file <- file.path(system.file("extdata", package="toxEval"), "OWC_data_fromSup.xlsx") tox_list <- create_toxEval(path_to_file) ACClong <- get_ACC(tox_list$chem_info$CAS) ACClong <- remove_flags(ACClong) cleaned_ep <- clean_endPoint_info(end_point_info) filtered_ep <- filter_groups(cleaned_ep, groupCol = 'intended_target_family', remove_groups = c('Background Measurement','Undefined')) chemicalSummary <- get_chemical_summary(tox_list, ACClong, filtered_ep) ###################################### chem_class_plot <- plot_tox_boxplots(chemicalSummary, category = 'Chemical Class') chem_class_plot ###################################### plot_stacks <- plot_tox_stacks(chemicalSummary, tox_list$chem_site, category = "Chemical Class") plot_stacks ###################################### plot_heat <- plot_tox_heatmap(chemicalSummary, tox_list$chem_site, category = "Chemical Class", font_size = 7) plot_heat ``` This code opens up the example file, loads it into a `toxEval` object, grabs the pertinent ToxCast information, and creates a "chemicalSummary" data frame that is used in many of the plot and table functions. There are 4 vignettes to help introduce and navigate the `toxEval` package: |Name|R command|Description | |----------|------------|-----------------------------------------| |[Introduction](https://doi-usgs.github.io/toxEval/articles/Introduction.html) | `vignette("Introduction", package="toxEval")`|Introduction to the toxEval | |[Basic Workflow](https://doi-usgs.github.io/toxEval/articles/basicWorkflow.html) | `vignette("basicWorkflow", package="toxEval")`|Quickstart guide to get overview of available functions | |[Prepare Data](https://doi-usgs.github.io/toxEval/articles/PrepareData.html) | `vignette("PrepareData", package="toxEval")`|Guide to preparing your data for toxEval analysis| |[Shiny App Guide](https://doi-usgs.github.io/toxEval/articles/shinyApp.html) | `vignette("shinyApp", package="toxEval")`|Guide to the toxEval shiny application| ### Reporting bugs Please consider reporting bugs and asking questions on the Issues page: [https://github.com/DOI-USGS/toxEval/issues](https://github.com/DOI-USGS/toxEval/issues) ### Code of Conduct We want to encourage a warm, welcoming, and safe environment for contributing to this project. See the [code of conduct](https://github.com/DOI-USGS/toxEval/blob/main/CONDUCT.md) for more information. ### Package Support The Water and Environmental Health Mission Areas of the USGS, as well as the Great Lakes Restoration Initiative (GLRI) has supported the development of the `toxEval` R-package. Further maintenance is expected to be stable through September 2025. Resources are available primarily for maintenance and responding to user questions. Priorities on the development of new features are determined by the `toxEval` development team. ### Sunset date Funding for `toxEval` is secured through summer 2025, after which bug fixes & new features will be minimal. ## Run toxEval To run the toxEval app: 1. Open RStudio 2. In the Console (lower-left window of RStudio) paste the following: ```{r eval=FALSE} library(toxEval) explore_endpoints() ``` ## Citing toxEval ```{r cite} citation(package = "toxEval") ```

Owner

  • Name: U.S. Geological Survey
  • Login: DOI-USGS
  • Kind: organization
  • Email: gs_help_git@usgs.gov
  • Location: United States of America

By integrating our diverse scientific expertise, we understand complex natural science phenomena and provide scientific products that lead to solutions.

GitHub Events

Total
  • Watch event: 2
  • Push event: 1
  • Pull request event: 2
Last Year
  • Watch event: 2
  • Push event: 1
  • Pull request event: 2

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 1,274
  • Total Committers: 10
  • Avg Commits per committer: 127.4
  • Development Distribution Score (DDS): 0.058
Past Year
  • Commits: 72
  • Committers: 1
  • Avg Commits per committer: 72.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Laura DeCicco l****o@u****v 1,200
Steve Corsi s****i@u****v 63
Oliver s****r@u****v 4
dependabot[bot] 4****] 1
Luke Loken l****n@g****m 1
runner r****r@M****l 1
runner r****r@M****l 1
runner r****r@M****l 1
runner r****r@M****l 1
runner r****r@M****l 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 27
  • Total pull requests: 81
  • Average time to close issues: 4 months
  • Average time to close pull requests: 2 days
  • Total issue authors: 7
  • Total pull request authors: 4
  • Average comments per issue: 0.7
  • Average comments per pull request: 0.44
  • Merged pull requests: 80
  • Bot issues: 0
  • Bot pull requests: 1
Past Year
  • Issues: 0
  • Pull requests: 3
  • Average time to close issues: N/A
  • Average time to close pull requests: 7 days
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • ldecicco-USGS (14)
  • limnoliver (6)
  • srcorsi-USGS (3)
  • jesse-ross (1)
  • DrBlackwell (1)
  • lukeloken (1)
  • ccchatman (1)
Pull Request Authors
  • ldecicco-USGS (84)
  • lukeloken (2)
  • dependabot[bot] (1)
  • srcorsi-USGS (1)
Top Labels
Issue Labels
enhancement (2)
Pull Request Labels
dependencies (1)

Packages

  • Total packages: 1
  • Total downloads:
    • cran 188 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 8
  • Total maintainers: 1
cran.r-project.org: toxEval

Exploring Biological Relevance of Environmental Chemistry Observations

  • Versions: 8
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 188 Last month
Rankings
Forks count: 6.5%
Stargazers count: 16.3%
Average: 29.4%
Dependent packages count: 29.8%
Dependent repos count: 35.5%
Downloads: 59.0%
Maintainers (1)
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.5.0 depends
  • DT >= 0.1.24 imports
  • RColorBrewer * imports
  • dplyr * imports
  • ggplot2 >= 3.0.0 imports
  • leaflet imports
  • magrittr * imports
  • readxl * imports
  • shiny * imports
  • shinyAce * imports
  • shinycssloaders * imports
  • shinydashboard * imports
  • tidyr * imports
  • tools * imports
  • covr * suggests
  • here * suggests
  • knitr * suggests
  • openxlsx * suggests
  • rmarkdown * suggests
  • tcpl * suggests
  • testthat * suggests
.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v3 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action v4.4.1 composite
  • actions/checkout v3 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/test-coverage.yaml actions
  • actions/cache v1 composite
  • actions/checkout v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
docker/Dockerfile docker
  • code.chs.usgs.gov 5001/ctek/docker/r-lang/r-base build