Learn R Programming

MetaboAnalystR (version 2.0.0)

PerformCV.test: Perform MCCV for manually selected features

Description

MCCV for manually selected features (no additional feature selection)

Usage

PerformCV.test(mSetObj, method, lvNum, propTraining=2/3, nRuns=100)

Arguments

mSetObj

Input the name of the created mSetObj (see InitDataObjects)

method

Select the classification method, "rf" for random forest classification, "pls" for PLS-DA, and "svm" for support vector machine

lvNum

Input the number of latent variables to include in the analyis, only for PLS-DA classification

propTraining

Input the proportion of samples to use for training, by default it is 2/3

nRuns

Input the number of MCCV runs, by default it is 100