Description Usage Arguments Value
loess with n - fold CV function
1 2 | loessFitKfoldCV(x, y, feature, smoothSpan = NULL, folds = 7,
plotFile = NULL, colours = NULL)
|
x |
predictor values |
y |
response values |
feature |
LC-MS feature. |
smoothSpan |
fixed smoothing span. If supplied a this fixed smoothing span parameter will override the cross validated feature-by-feature smoothing span optimization. |
folds |
numeric (default=7, i.e. 7-fold cross validation). |
plotFile |
character full path to plot file png (optional). If supplied a plot file will be generated at this location showing the before and after loess smoothing result. |
colours |
vector of colours for datapoints (i.e. red for QCs and black for samples). (optional if plot file supplied then this argument is required). Argument is passed to plot col. |
vector smoothed feature and smoothing span parameter selected concatenated to end.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.