mc4: Perform level 4 multiple-concentration processing

View source: R/mc4.R

mc4R Documentation

Perform level 4 multiple-concentration processing

Description

mc4 loads level 3 data from the gtox database for the given id and performs level 4 multiple-concentration processing. The processed data is then loaded into the mc4 table and all subsequent data is deleted with gtoxCascade. See details for more information.

The individual processing functions are no longer exported, as it is typically more convenient and suggested to use the gtoxRun wrapper function.

Usage

mc4(ae, wr = FALSE)

Arguments

ae

Integer of length 1, assay endpoint id (aeid) for processing.

wr

Logical, whether the processed data should be written to the gtox database

Details

Level 4 multiple-concentration modeling takes the dose-response data for chemical-assay pairs, and fits three models to the data: constant, hill, and gain-loss. For more information about the models see Models. When a chemical has more than one sample, the function fits each sample seperately.

Value

A boolean of length 1, indicating the success of the processing, or when 'wr' is FALSE, a list where the first element is a boolean indiciating the success of processing and the second element is a data.table containing the processed data

See Also

gtoxFit, Models

Other multiple-concentration data processing functions: mc1, mc2, mc3, mc5, mc6


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