olink_lod {OlinkAnalyze} | R Documentation |
Calculate LOD using Negative Controls or Fixed LOD
Description
Calculate LOD using Negative Controls or Fixed LOD
Usage
olink_lod(data, lod_file_path = NULL, lod_method = "NCLOD")
Arguments
data |
npx data file |
lod_file_path |
location of lod file from Olink. Only needed if lod_method = "FixedLOD". Default 'NULL'. |
lod_method |
method for calculating LOD using either "FixedLOD" or negative controls ("NCLOD"). Default 'NCLOD'. |
Value
A dataframe with 2 additional columns, LOD and PCNormalizedLOD. When 'Normalization = "Plate Control"', LOD and PCNormalizedLOD are identical.
Examples
## Not run:
\donttest{
try({ # This will fail if the files do not exist.
# Import NPX data
npx_data <- read_NPX("path/to/npx_file")
# Estimate LOD from negative controls
npx_data_lod_NC <- olink_lod(data = npx_data, lod_method = "NCLOD")
# Estimate LOD from fixed LOD
## Locate the fixed LOD file
lod_file_path <- "path/to/lod_file"
npx_data_lod_Fixed <- olink_lod(data = npx_data,
lod_file_path = lod_file_path,
lod_method = "FixedLOD")
})
}
## End(Not run)
[Package OlinkAnalyze version 3.8.2 Index]