Learn R Programming

Overview

The package provides an R interface for processing concentration-response datasets using Curvep, a response noise filtering algorithm. The algorithm was described in the publications (Sedykh A et al. (2011) doi:10.1289/ehp.1002476 and Sedykh A (2016) doi:10.1007/978-1-4939-6346-1_14).

Other parametric fitting approaches (e.g., Hill equation) are also adopted for ease of comparison. 3-parameter Hill equation from original tcpl package (Filer DL et al., doi:10.1093/bioinformatics/btw680) and 4-parameter Hill equation from Curve Class2 approach (Wang Y et al., doi:10.2174/1875397301004010057) are available.

Also, methods for calculating the confidence interval around the activity metrics are also provided. The methods are based on the bootstrap approach to simulate the datasets (Hsieh J-H et al. doi:10.1093/toxsci/kfy258). The simulated datasets can be used to derive the baseline noise threshold in an assay endpoint. This threshold is critical in the toxicological studies to derive the point-of-departure (POD).

Installation

# the development version from GitHub:
# install.packages("devtools")
devtools::install_github("moggces/Rcurvep")
devtools::install_github("moggces/Rcurvep", dependencies = TRUE, build_vignettes = TRUE)

Package structure

Usage

Run analysis

library(Rcurvep)
data("zfishbeh")
out_curvep <- combi_run_rcurvep(zfishbeh, TRSH = 30)  # using Curvep with BMR = 30
out_fit1 <- run_fit(zfishbeh, modls = "cc2") # using Curve Class2 4-parameter hill
out_fit2 <- run_fit(zfishbeh, modls = c("cnst", "hill")) # using tcpl 3-parameter hill + constant model

Find BMR

data("zfishdev_act")
out_bmr <- estimate_dataset_bmr(zfishdev_act)
## $`1`

More Usage

To learn more about Rcurvep, start with the vignettes: browseVignettes(package = "Rcurvep")

Copy Link

Version

Install

install.packages('Rcurvep')

Monthly Downloads

652

Version

1.3.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Jui-Hua Hsieh

Last Published

January 9th, 2024

Functions in Rcurvep (1.3.1)

zfishdev_act

Activity output based on simulated datasets using zfishdev_all dataset
plot.rcurvep_bmr

Plot BMR diagnostic curves
run_fit

Run parametric fits using types of models on concentration-response datasets
summarize_rcurvep_output

Clean and summarize the output of rcurvep object
merge_rcurvep_objs

Merge results from multiple rcurvep objects
summarize_fit_output

Summarize the results from the parametric fitting using types of models
zfishbeh

Subsets of concentration response datasets from zebrafish neurotoxicity assays
run_rcurvep

Run Curvep on datasets of concentration-response data
zfishdev_all

Full sets of concentration response datasets from zebrafish developmental toxicity assays
zfishdev

Subsets of concentration response datasets from zebrafish developmental toxicity assays
Rcurvep-package

Rcurvep: Concentration-Response Data Analysis using Curvep
cal_knee_point

Calculate the knee point on the exponential-like curve
create_dataset

Create concentration-response datasets that can be applied in the run_rcurvep()
curvep_defaults

Default parameters of Curvep
estimate_dataset_bmr

Estimate benchmark response (BMR) for each dataset
fit_modls

Fit one set of concentration-response data using types of models
curvep

The Curvep function to process one set of concentration-response data
combi_run_rcurvep

Run Curvep on datasets of concentration-response data with a combination of Curvep parameters
fit_cc2_modl

Fit concentration-response data using Curve Class2 approach
get_hill_fit_config

Get the default configurations for the Hill fit