View source: R/stats_classification.R
RSVM | R Documentation |
Core code to perform R-SVM
RSVM(x, y, ladder, CVtype, CVnum = 0)
x |
Row matrix of data |
y |
Class label: 1 / -1 for 2 classes |
ladder |
Input the ladder |
CVtype |
Integer (N fold CV), "LOO" leave-one-out CV, "bootstrape" bootstrape CV |
CVnum |
Number of CVs, LOO: defined as sample size, Nfold and bootstrape: user defined, default as sample size outputs a named list Error: a vector of CV error on each level SelFreq: a matrix for the frequency of each gene being selected in each level with each column corresponds to a level of selection and each row for a gene The top important gene in each level are those high-freqent ones |
Jeff Xiajeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.