Description Usage Arguments Value Examples
warpper function of parameters for ramdom forest or suppport vector machine
1 2  | caretWrapper(trainTable_df, respCol_index, predMethod = c("rf",
  "svmLinear"), seed_int, whichCVfold_int, ncores = 2)
 | 
trainTable_df | 
 train data frame that each column represents a CpG probe while each row represents a sample, each cell is a methaylation M value  | 
respCol_index | 
 response variable col number in beta data frame  | 
predMethod | 
 use random forest or svm to do prediction  | 
seed_int | 
 seed.value in use right row  | 
whichCVfold_int | 
 crossvalidation num in use right now, this decides on the traning data to be used  | 
ncores | 
 number of cores to do parallel computing  | 
A list contains results of glmnet
1 2 3 4 5 6 7 8 9 10  | ## Not run: 
 data(ExampleMvalue_train)
 fit <- caretWrapper(trainTable_df = ExampleMvalue_train,
               respCol_index = 1,
               predMethod = "rf",
               seed_int = 120,
               whichCVfold_int = 5,
               ncores = 2)
 
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.