gnsLOD: To compute the LOB, LOD and LOQ of combined replicates of...

Description Usage Arguments Details Value Author(s) Examples

Description

Function gnsLOD works on the output of the function CRepsd, which is an object of class gnsdt and computes limit of blank (LOB), limit of detection (LOD) and limit of quantification (LOQ), by two different methods and save the results in the slot lodData of an object of class gnsdt

Usage

1
2
## S4 method for signature 'gnsdt'
gnsLOD(gnsdt, LOB = FALSE)

Arguments

gnsdt

an output of function CRepsd, which is an object of class gnsdt

LOB

it can be either TRUE or FALSE. The default is FALSE. When FALSE, then returns LOD and LOQ, computed by method 1 and when TRUE, then, returns the results of LOB, LOD and LOQ, computed by method 2.

Details

Allows the user to compute LOB, LOD and LOQ of combined replicates of normalized and standardized intensities and populate an object of class gnsdt

Value

object of Class "gnsdt" and save the results in slot lodData of an object of class gnsdt

Author(s)

Navneet Phogat, Matthias Kohl, Matthias.Kohl@stamats.de

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
##To read the .csv file
file1 <- system.file("exData", "Imager.csv", package = "ReadqPCR")
data <- readGNS(file = file1)
## to combine the replicates of standardized and normalized intensities
crep1 <- CRepsd(data)
## to get the results of LOD and LOQ by method 1
lod1 <- gnsLOD(crep1)
## to visualize the overall results
lod1
## to visualize the results of slot lodData
lod_new <- slot(lod1,"lodData")
lod_new
## to visualize the results of LOD and LOQ of normalized Intensity
lod_new[,c("lod_ni","loq_ni")]
## to visualize the results of LOB, LOD and LOQ of normalized Intensity
lod_new[,c(lod_si","loq_si")]
## to compute LOB, LOD and LOQ by Method 2
lod2 <- gnsLOD(crep1,LOB = TRUE
## to visualize the overall results
lod2
## to visualize the results of slot lodData
lod2_new <- slot(lod2,"lodData")
## to visualize the results of LOB, LOD and LOQ of normalized intensity
lod2_new[,c("lob_ni",""lod_ni","loq_ni")]
## to visualize the results of LOB, LOD and LOQ of standardized intensity
lod2_new[,c("lob_si","lod_si","loq_si")]
## all these calculated values are in terms of intensties (Normalized or standardized
##intensities, obtained after combining the replicates. These intensities can be
##used to calculate the respective concentration, by using the linear model equation
##of lm(Normalized intensity ~ Concentration) or lm(Standardized intensity ~ Concentration)
##to compute the respective concetration to get the lob, lod and loq in terms of
##concentration)

NPhogat/GNSplex documentation built on May 8, 2020, 9:28 p.m.