readIGNScutprocess: To read the .jpeg image of lateral flow assay and apply cuts...

Description Usage Arguments Details Value Author(s) Examples

View source: R/readIGNScutprocess.R

Description

Function readIGNScutprocess will provide the values, which can be used to extract the intensities of control line and test line peaks

Usage

1
2
readIGNScutprocess(imagefile, fp = TRUE, cut1 = 2, cut2 = 18,
  pi = 1.56)

Arguments

imagefile

the .jpeg file of lateral flow assay

fp

either TRUE or FALSE

cut1

the first value on x-axis (index) to cut the peak

cut2

the second value on x-axis (index) to cut the peak

pi

the intensity (y-axis) to get the processed signal. It's a cutoff intensity to do the baseline correction

Details

Allows the user to read in the .jpeg image of lateral flow assay and returns the cutted and baseline corrected plots of signals of control line and test line.

Value

The plots of control line and test line peaks

Author(s)

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

Examples

1
2
3
4
5
6
7
8
9
## to read and see complete plot of signal
file3 <- system.file("exData", "Serum30nM_2.JPG", package = "GNSplex")
readIGNSplot(file3)
## to read and cut the first peak (control line signal) and to do baseline
##correction
file3 <- system.file("exData", "Serum30nM_2.JPG", package = "GNSplex")
readIGNScutprocess(imagefile = file3, fp = TRUE, cut1 = 3, cut2 = 13, pi = 2.0)
## To cut the second peak (test line signal) and to do baseline correction
readIGNScutprocess(imagefile = file3, fp = FALSE, cut1 = 17, cut2 = 30, pi = 2.0)

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