Learn R Programming

GeneSelector (version 2.22.0)

MergeMethods: Merge rankings obtained from different ranking procedures

Description

Converts a list containing objects of class GeneRanking into an object of class RepeatedRanking.

Usage

MergeMethods(Rlist)

Arguments

Rlist
A list consisting of objects of class GeneRanking, obtained by application of different methods to the same dataset.

Value

RepeatedRanking. The slot original is occupied by the first element of Rlist. Note that all information contained in the GeneRanking objects is dropped, except for the ranks.

Examples

Run this code
## Load toy gene expression data
data(toydata)
### class labels
yy <- toydata[1,]
### gene expression
xx <- toydata[-1,]
### Get Rankings from five different statistics
ordinaryT <- RankingTstat(xx, yy, type="unpaired")
baldilongT <- RankingBaldiLong(xx, yy, type="unpaired")
samT <- RankingSam(xx, yy, type="unpaired")
wilc <- RankingWilcoxon(xx, yy, type="unpaired")
wilcebam <- RankingWilcEbam(xx, yy, type="unpaired")
merged <- MergeMethods(list(ordinaryT, baldilongT, samT, wilc, wilcebam))

Run the code above in your browser using DataLab