mc2: Perform level 2 multiple-concentration processing

Description Usage Arguments Details Value See Also

View source: R/mc2.R

Description

mc2 loads level 1 data from the gtox database for the given id and performs level 2 multiple-concentration processing. The processed data is then loaded into the mc2 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

1
mc2(ac, wr = FALSE)

Arguments

ac

Integer of length 1, assay component id (acid) for processing.

wr

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

Details

Level 2 multiple-concentration processing includes defining the corrected value, cval, based on the correction methods listed in the mc2_acid and mc2_methods tables.

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

Method functions, MC2_Methods

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


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