gtoxCalcVmad: Calculate and update the assay endpoint cutoff values

View source: R/gtoxCalcVmad.R

gtoxCalcVmadR Documentation

Calculate and update the assay endpoint cutoff values

Description

gtoxCalcVmad takes the input aeid values and uses them to calculate the assay endpoint cutoff based on the median absolute deviation of vehicle values across the given assay endpoints.

Usage

gtoxCalcVmad(inputs, aeid = NULL, notes = NULL)

Arguments

inputs

integer, the aeid(s) used to calculate the cutoff values

aeid

integer, the aeid(s) to be updated in the database

notes

character of length 1, (optional) comments/justification

Details

If 'aeid' is NULL, the value will be returned with no changes made to the database.

Cutoffs are caluted as the median absolute value of the vehicle values across the assay endpoints given by 'inputs'.

Value

None

Examples

## Store the current config settings, so they can be reloaded at the end 
## of the examples
conf_store <- gtoxConfList()
gtoxConfDefault()

## Prepare for analysis before QC + process data
gtoxCalcVmad(inputs = 10L)

## Reset configuration
options(conf_store)


philipmorrisintl/GladiaTOX documentation built on Aug. 27, 2023, 9:07 p.m.