shiftCor {statTarget}R Documentation

shiftCor for GUI

Description

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

Usage

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

An object of shiftCor

Examples

datpath <- system.file("extdata",package = "statTarget")
samPeno <- paste(datpath,"MTBLS79_sampleList.csv", sep="/")
samFile <- paste(datpath,"MTBLS79.csv", sep="/")
shiftCor(samPeno,samFile)

[Package statTarget version 1.10.0 Index]