sc1: Perform level 1 single-concentration processing

View source: R/sc1.R

sc1R Documentation

Perform level 1 single-concentration processing

Description

sc1 loads level 0 data from the tcpl database for the given id and performs level 1 single-concentration processing. The processed data is then loaded into the sc1 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

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

Details

Level 1 single-concentration processing includes mapping assay component to assay endpoint, duplicating the data when the assay component has multiple assay endpoints, and any normalization of the data. Data normalization based on methods listed in sc1_aeid and sc1_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 indicating the success of processing and the second element is a data.table containing the processed data

See Also

Method functions, SC1_Methods

Other single-concentration: sc2()


tcpl documentation built on Oct. 7, 2023, 1:06 a.m.