gtoxCalcVmad: Calculate and update the assay endpoint cutoff values

Description Usage Arguments Details Value Examples

View source: R/gtoxCalcVmad.R

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

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## 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)

GladiaTOX documentation built on Nov. 15, 2020, 2:07 a.m.