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

Description Usage Arguments Author(s) Examples

View source: R/RGSEApredict.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
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))
}

RGSEA documentation built on Nov. 8, 2020, 8:25 p.m.