Description Usage Arguments Value Examples
function to do prediction and evaluate based on the results of support vector machine
1 2 | evaluateSVM(caret_fit, testTable, respCol_index, whichRep_int,
whichCVfold_int)
|
caret_fit |
results of random forest or support vector machine |
testTable |
test data frame that each column represents a CpG probe while each row represents a sample, each cell is a M value, first column is phenodata |
respCol_index |
col number of response variable |
whichRep_int |
repetition num in use right now, this decides on the traning data to be used |
whichCVfold_int |
crossvalidation num in use right now, this decides on the traning data to be used |
A data frame of containing the train and test beta matrix
auc_results
: auc value of prediction
Sensitivity
: Sensitivity value of prediction
Specificity
: Specificity value of prediction
...
: more index
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
data(ExampleMvalue_test)
data(svm_Fit)
test <- evaluateSVM(
caret_fit = svm_Fit,
testTable = ExampleMvalue_test,
respCol_index = 1,
whichRep_int = 1,
whichCVfold_int = 1
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.