RGSEApredict {RGSEA} | R Documentation

## 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.

### Author(s)

Chengcheng Ma

### Examples

    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))
    }

[Package RGSEA version 1.21.0 Index]