Description Usage Arguments Details Value Author(s) Examples
View source: R/readIGNScutprocess.R
Function readIGNScutprocess
will provide the values, which can be
used to extract the intensities of control line and test line peaks
1 2 | readIGNScutprocess(imagefile, fp = TRUE, cut1 = 2, cut2 = 18,
pi = 1.56)
|
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 |
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.
The plots of control line and test line peaks
Navneet Phogat, Matthias Kohl, Matthias.Kohl@stamats.de
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.