invitroTKstats

Data processing pipeline R package for in vitro HTTK data (raw MS data to HTTK physiological parameters), including both frequentist and Bayesian estimates.

https://github.com/usepa/invitrotkstats

Science Score: 26.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
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (21.3%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

Data processing pipeline R package for in vitro HTTK data (raw MS data to HTTK physiological parameters), including both frequentist and Bayesian estimates.

Basic Info
  • Host: GitHub
  • Owner: USEPA
  • License: other
  • Language: R
  • Default Branch: main
  • Size: 738 MB
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • Open Issues: 2
  • Releases: 0
Created about 1 year ago · Last pushed 11 months ago
Metadata Files
Readme Changelog License

README.Rmd

---
output: github_document
---



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

# invitroTKstats




## Welcome to the GitHub repository for the invitroTKstats package



The `invitroTKstats` R package contains functions to run a standardized data pipeline for processing high-throughput toxicokinetic (HTTK) mass-spectrometry data obtained from a variety of *in vitro* assays. The pipeline includes standardization for data documentation, statistical analyses predicting toxicokinetic parameters characterizing absorption, distribution, metabolism, and elimination of chemicals by the body.

The assays covered by the pipeline include intrinsic clearance after hepatocyte incubation ($Cl_{int}$); two variants of plasma protein binding experiments ($f_{up}$) -- namely Rapid Equilibrium Dialysis (RED) and Ultracentrifugation (UC), CACO-2 membrane permeability, and blood to plasma concentration ratio. Analysis methods include a frequentist point estimation and, in some cases, Bayesian estimations for the distribution of likely parameter values. Data used to derive the estimates are based on mass spectrometry ratios of analyte peak areas to internal standard (ISTD) peak areas.

If you are interested in contributing or want to report a bug, please submit an issue or start a discussion.

### Dependencies

* Users will need the freely available [R statistical computing language](https://www.r-project.org/).
* Users will need the freely available ["Just Another Gibbs Sampler" (JAGS)](https://mcmc-jags.sourceforge.io/).
  * JAGS is a software used for conducting Bayesian hierarchical modeling using Markov Chain Monte Carlo (MCMC) simulation.
  * This software can be downloaded via https://sourceforge.net/projects/mcmc-jags/files/ and installed using the prompts.
  * Users should note that this installation will likely be found in a system location (e.g. "Program Files") - thus users should ensure to identify the installation location, which is necessary when utilizing the software within R.
* Users will need to have the following R packages installed in addition to `invitroTKstats`:
  * `ggplot2`
  * `parallel`
  * `runjags`
  * `stats4`
* Users will likely want a development environment like [RStudio](https://www.rstudio.com/products/rstudio/download/).

## Installation

* Installing the current version of the package from GitHub, run the following command in the R console:

```r
devtools::install_github("https://github.com/USEPA/invitroTKstats.git")
```

* Installing a local clone of the GitHub repo:

  1. Go to the GitHub repo for [`invitroTKstats`](https://github.com/USEPA/invitroTKstats.git).
  2. Choose the "Code" button and copy the repo URL.
  3. In your local command line terminal, navigate to the directory location you wish to store your local copy of the repo.
  4. In your terminal type `git clone https://github.com/USEPA/invitroTKstats.git`.
  5. After cloning completes then open an R session.
  6. In the R console use the following commands:
  
```r
devtools::install_local(
  "/invitroTKstats"
)
```

* Installing a tarball version of the package:

  1. Save the tarball file "invitroTKstats_X.Y.Z.tar.gz" to a local directory location.
  2. Install the package via the RStudio provided 'Install Packages' menu under the 'Tools' tab, or using the command line terminal with the following:
  
```
R CMD INSTALL /invitroTKstats_X.Y.Z.tar.gz
```

*NOTE: "X.Y.Z" in the tarball filename indicates the version number associated with the version of the package you wish to install.* 

### Loading the Package

To load the `invitroTKstats` R package into your local R session via the R console:

```r
library(invitroTKstats)
```

Check the package version installed and in use:

```r
packageVersion(invitroTKstats)
```

## Unprocessed Data

A subset of raw experimental data files are provided as part of the R package for demonstration purposes in the "Data Guide Creation and Level-0 Data Compilation" vignette.  These data files were originally published as part of Kreutz et al. (2023).  Details about these files can be found in the README file under the "inst/extdata/Kreutz-Clint" sub-directory, as well as a separate data processing GitHub repository [invitrotkstats_dataproc](https://github.com/USEPA/invitrotkstats_dataproc) under "working/KreutzPFAS".

## Contributors

* John Wambaugh (Package Creator, Conceptualization, Data Processing, & Subject Matter Expert)
* Sarah E. Davidson-Fritz (Conceptualization & Lead Package Developer)
* Lindsay Knupp (Software Development)
* Barbara A. Wetmore (Raw Data Generation & Subject Matter Expert)
* Nicolas Chantel (Initial Bayesian Model Development for $f_{up}$ RED assay)
* Zhihui Zhao (Software Development)
* Anna Kreutz (Raw Data Generation & Subject Matter Expert)

## Disclaimer

The United States Environmental Protection Agency (EPA) GitHub project code is provided on an "as is" basis and the user assumes responsibility for its use. EPA has relinquished control of the information and no longer has responsibility to protect the integrity, confidentiality, or availability of the information. Any reference to specific commercial products, processes, or services by service mark, trademark, manufacturer, or otherwise, does not constitute or imply their endorsement, recommendation or favoring by EPA. The EPA seal and logo shall not be used in any manner to imply endorsement of any commercial product or activity by EPA or the United States Government.

Owner

  • Name: U.S. Environmental Protection Agency
  • Login: USEPA
  • Kind: organization
  • Location: United States of America

GitHub Events

Total
  • Watch event: 2
  • Issue comment event: 6
  • Public event: 1
  • Push event: 5
  • Pull request review event: 2
Last Year
  • Watch event: 2
  • Issue comment event: 6
  • Public event: 1
  • Push event: 5
  • Pull request review event: 2

Issues and Pull Requests

Last synced: 10 months ago

Packages

  • Total packages: 1
  • Total downloads: unknown
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 1
  • Total maintainers: 1
cran.r-project.org: invitroTKstats

In Vitro Toxicokinetic Data Processing and Analysis Pipeline

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 0 Last month
Rankings
Dependent packages count: 25.7%
Dependent repos count: 31.6%
Average: 47.6%
Downloads: 85.4%
Maintainers (1)
Last synced: 10 months ago

Dependencies

DESCRIPTION cran
  • R >= 2.10 depends
  • Rdpack * imports
  • coda * imports
  • dplyr * imports
  • ggplot2 * imports
  • methods * imports
  • parallel * imports
  • readxl * imports
  • rlang * imports
  • runjags * imports
  • scales * imports
  • stats * imports
  • stats4 * imports
  • utils * imports
  • R.rsp * suggests
  • flextable * suggests
  • gridExtra * suggests
  • gridtext * suggests
  • knitr * suggests
  • magrittr * suggests
  • rmarkdown * suggests
  • stringr * suggests
  • tidyverse * suggests