# shiftCor for GUI

### Description

shiftCor provide the QC-RLS correction for large scale metabolomics.

### Usage

1 2 | ```
shiftCor(samPeno, samFile, Frule = 0.8, QCspan = 0.75, degree = 2,
imputeM = "KNN")
``` |

### Arguments

`samPeno` |
The file with the meta information including the sample name, batches, class and order. |

`samFile` |
The file with the expression information. |

`Frule` |
The cut-off value for missing value filter function. |

`QCspan` |
The smoothing parameter which controls the bias-variance tradeoff. if the QCspan is set at '0', the generalised cross-validation will be performed to avoid overfitting the observed data. |

`degree` |
Lets you specify local constant regression (i.e., the Nadaraya-Watson estimator, degree=0), local linear regression (degree=1), or local polynomial fits (degree=2, the default). |

`imputeM` |
The parameter for imputation method.(i.e., nearest neighbor averaging, "KNN"; minimum values for imputed variables, "min", median values for imputed variables (Group dependent) "median"). |

### Value

A objects of shiftCor

### Examples

1 2 3 4 | ```
datpath <- system.file("extdata",package = "statTarget")
samPeno <- paste(datpath,"MTBLS79_sampleList.csv", sep="/")
samFile <- paste(datpath,"MTBLS79.csv", sep="/")
shiftCor(samPeno,samFile)
``` |