sc2: Perform level 2 single-concentration processing

View source: R/sc2.R

sc2R Documentation

Perform level 2 single-concentration processing

Description

sc2 loads level 1 data from the tcpl database for the given id and performs level 2 single-concentration processing. The processed data is then loaded into the sc2 table and all subsequent data is deleted with tcplCascade. See details for more information.

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

Usage

sc2(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 tcpl database

Details

Level 2 single-concentration processing defines the bmad value, and uses the activity cutoff methods from sc2_aeid and sc2_methods to make an activity call.

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 indicating the success of processing and the second element is a data.table containing the processed data

See Also

Method functions, SC2_Methods

Other single-concentration: sc1()


USEPA/CompTox-ToxCast-tcpl documentation built on April 22, 2024, 12:37 p.m.