Title: | Normalize Metabolomic Data using QC Signal |
---|---|
Description: | Takes QC signal for each day and normalize metabolomic data that has been acquired in a certain period of time. At least three QC per day are required. |
Authors: | Monica Calderon-Santiago |
Maintainer: | Monica Calderon-Santiago <[email protected]> |
License: | GPL-2 |
Version: | 1.1 |
Built: | 2025-02-15 04:54:49 UTC |
Source: | https://github.com/cran/MetaboQC |
Export graphs for each compound included in LCdata matrix in which the area of the specified compound is represented vs the injection order.
graphQC(LCdata, g, NameDataSet)
graphQC(LCdata, g, NameDataSet)
LCdata |
Matrix of data obtained (mainly by LC-MS) that included four data columns ("Compound Name","Order","QC","Day") and then one coulm for each compound or entity detected (normalized or not). |
g |
Number of compounds for which the graph should be obtained |
NameDataSet |
A name for the data set that is going to be used for the pdf file name. It must be given in quotes |
Multiple graphs of the compounds area (normalized or not) vs the injection order.
## Not run: graphQC(LCdata,3,"datasetName") ## End(Not run)
## Not run: graphQC(LCdata,3,"datasetName") ## End(Not run)
According to the area of QC along each day, this function generates values for each sample injected along the day that are going to be used for data normalization.
QCcorrectionLOESS(LCdata)
QCcorrectionLOESS(LCdata)
LCdata |
Matrix of data obtained (mainly by LC-MS) that included four data columns ("Compound Name","Order","QC","Day") and then one coulm for each compound or entity detected. |
A data set similar to LCdata matrix but with duplicated columns for each compound or entity with the area needed to normalize each of them.
## Not run: correctedLCdata<-QCcorrectionLOESS(LCdata) ## End(Not run)
## Not run: correctedLCdata<-QCcorrectionLOESS(LCdata) ## End(Not run)
According to the area of QC along each day, this function generates values for each sample injected along the day that are going to be used for data normalization.
QCcorrectionMultiLOESS(LCdata)
QCcorrectionMultiLOESS(LCdata)
LCdata |
Matrix of data obtained (mainly by LC-MS) that included four data columns ("Compound Name","Order","QC","Day") and then one coulm for each compound or entity detected. |
A data set similar to LCdata matrix but with duplicated columns for each compound or entity with the area needed to normalize each of them.
## Not run: correctedLCdata<-QCcorrectionMultiLOESS(LCdata) ## End(Not run)
## Not run: correctedLCdata<-QCcorrectionMultiLOESS(LCdata) ## End(Not run)
According to the area of QC along each day, this function generates values for each sample injected along the day that are going to be used for data normalization.
QCcorrectionMultiPoly3(LCdata)
QCcorrectionMultiPoly3(LCdata)
LCdata |
Matrix of data obtained (mainly by LC-MS) that included four data columns ("Compound Name","Order","QC","Day") and then one coulm for each compound or entity detected. |
A data set similar to LCdata matrix but with duplicated columns for each compound or entity with the area needed to normalize each of them.
## Not run: correctedLCdata<-QCcorrectionMultiPoly3(LCdata) ## End(Not run)
## Not run: correctedLCdata<-QCcorrectionMultiPoly3(LCdata) ## End(Not run)
According to the area of QC along each day, this function generates values for each sample injected along the day that are going to be used for data normalization.
QCcorrectionMultiPoly4(LCdata)
QCcorrectionMultiPoly4(LCdata)
LCdata |
Matrix of data obtained (mainly by LC-MS) that included four data columns ("Compound Name","Order","QC","Day") and then one coulm for each compound or entity detected. |
A data set similar to LCdata matrix but with duplicated columns for each compound or entity with the area needed to normalize each of them.
## Not run: correctedLCdata<-QCcorrectionMultiPoly4(LCdata) ## End(Not run)
## Not run: correctedLCdata<-QCcorrectionMultiPoly4(LCdata) ## End(Not run)
According to the area of QC along each day, this function generates values for each sample injected along the day that are going to be used for data normalization.
QCcorrectionMultiPoly6(LCdata)
QCcorrectionMultiPoly6(LCdata)
LCdata |
Matrix of data obtained (mainly by LC-MS) that included four data columns ("Compound Name","Order","QC","Day") and then one coulm for each compound or entity detected. |
A data set similar to LCdata matrix but with duplicated columns for each compound or entity with the area needed to normalize each of them.
## Not run: correctedLCdata<-QCcorrectionMultiPoly6(LCdata) ## End(Not run)
## Not run: correctedLCdata<-QCcorrectionMultiPoly6(LCdata) ## End(Not run)
According to the area of QC along each day, this function generates values for each sample injected along the day that are going to be used for data normalization.
QCcorrectionSinglePoly3(LCdata)
QCcorrectionSinglePoly3(LCdata)
LCdata |
Matrix of data obtained (mainly by LC-MS) that included four data columns ("Compound Name","Order","QC","Day") and then one coulm for each compound or entity detected. |
A data set similar to LCdata matrix but with duplicated columns for each compound or entity with the area needed to normalize each of them.
## Not run: correctedLCdata<-QCcorrectionSinglePoly3(LCdata) ## End(Not run)
## Not run: correctedLCdata<-QCcorrectionSinglePoly3(LCdata) ## End(Not run)
According to the area of QC along each day, this function generates values for each sample injected along the day that are going to be used for data normalization.
QCcorrectionSinglePoly4(LCdata)
QCcorrectionSinglePoly4(LCdata)
LCdata |
Matrix of data obtained (mainly by LC-MS) that included four data columns ("Compound Name","Order","QC","Day") and then one coulm for each compound or entity detected. |
A data set similar to LCdata matrix but with duplicated columns for each compound or entity with the area needed to normalize each of them.
## Not run: correctedLCdata<-QCcorrectionSinglePoly4(LCdata) ## End(Not run)
## Not run: correctedLCdata<-QCcorrectionSinglePoly4(LCdata) ## End(Not run)
According to the area of QC along each day, this function generates values for each sample injected along the day that are going to be used for data normalization.
QCcorrectionSinglePoly6(LCdata)
QCcorrectionSinglePoly6(LCdata)
LCdata |
Matrix of data obtained (mainly by LC-MS) that included four data columns ("Compound Name","Order","QC","Day") and then one coulm for each compound or entity detected. |
A data set similar to LCdata matrix but with duplicated columns for each compound or entity with the area needed to normalize each of them.
## Not run: correctedLCdata<-QCcorrectionSinglePoly6(LCdata) ## End(Not run)
## Not run: correctedLCdata<-QCcorrectionSinglePoly6(LCdata) ## End(Not run)
Equation to be used internally to predict values from a regression curve of grade 3
QCregression(b, c, d, e, x)
QCregression(b, c, d, e, x)
b |
coefficient from order 0 part of the equation |
c |
coefficient from order 1 part of the equation |
d |
coefficient from order 2 part of the equation |
e |
coefficient from order 3 part of the equation |
x |
the x-axis value from which the y-axis value wanted to be predicted for the equation given by the coefficients |
A y-value calculated for the x-value especified, taking into account the curve described by the coefficients given
## Not run: prediction<-QCregression(b,c,d,e,x) ## End(Not run) #' @export
## Not run: prediction<-QCregression(b,c,d,e,x) ## End(Not run) #' @export
Equation to be used internally to predict values from a regression curve of grade 4
QCregression4(b, c, d, e, f, x)
QCregression4(b, c, d, e, f, x)
b |
coefficient from order 0 part of the equation |
c |
coefficient from order 1 part of the equation |
d |
coefficient from order 2 part of the equation |
e |
coefficient from order 3 part of the equation |
f |
coefficient from order 4 part of the equation |
x |
the x-axis value from which the y-axis value wanted to be predicted for the equation given by the coefficients |
A y-value calculated for the x-value especified, taking into account the curve described by the coefficients given
## Not run: prediction<-QCregression4(b,c,d,e,f,x) ## End(Not run)
## Not run: prediction<-QCregression4(b,c,d,e,f,x) ## End(Not run)
Equation to be used internally to predict values from a regression curve of grade 6
QCregression6(b, c, d, e, f, g, h, x)
QCregression6(b, c, d, e, f, g, h, x)
b |
coefficient from order 0 part of the equation |
c |
coefficient from order 1 part of the equation |
d |
coefficient from order 2 part of the equation |
e |
coefficient from order 3 part of the equation |
f |
coefficient from order 4 part of the equation |
g |
coefficient from order 5 part of the equation |
h |
coefficient from order 6 part of the equation |
x |
the x-axis value from which the y-axis value wanted to be predicted for the equation given by the coefficients |
A y-value calculated for the x-value especified, taking into account the curve described by the coefficients given
## Not run: prediction<-QCregression4(b,c,d,e,f,g,h,x) ## End(Not run)
## Not run: prediction<-QCregression4(b,c,d,e,f,g,h,x) ## End(Not run)