Learn R Programming

RGSEA (version 1.6.2)

RGSEApredict: Predict the class of the query data with the result of RGSEA functions

Description

Predict the class of the query data with the result of RGSEA functions--RGSEAfix or RGSEAsd

Usage

RGSEApredict(RGSEAresult, refclasses)

Arguments

RGSEAresult
The first item of the results generated by RGSEA functions.
refclasses
A character vector. The classes of the reference data.

Examples

Run this code
if(interactive()) {
    data(e1)
    data(e2)
    RGSEAfix(e1,e2, queryclasses=colnames(e1), refclasses=colnames(e2),   
random=20000, featurenum=1000, iteration=100)->test
    RGSEApredict(test[[1]], colnames(e2))
}

Run the code above in your browser using DataLab