RSVM: R-SVM core code

Description Usage Arguments Author(s)

View source: R/stats_classification.R

Description

Core code to perform R-SVM

Usage

1
RSVM(x, y, ladder, CVtype, CVnum = 0)

Arguments

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

Author(s)

Jeff Xiajeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)


xia-lab/MetaboAnalystR3.0 documentation built on May 6, 2020, 11:03 p.m.