Learn R Programming

GeneSelector (version 2.22.0)

AggregateSimple: Simple aggregation of repeated rankings

Description

All obtained rankings are aggregated by a genewise summary measure.

Usage

AggregateSimple(RR, measure = c("mode", "mean", "trimmed.mean", "median", "quantile"), q=NULL, trim = NULL)

Arguments

RR
An object of class RepeatedRanking
measure
The statistic to be used as basis for the aggregated ranking.
mode
The rank occuring most frequently. If several ranks occur equally often, the lowest one is used.

mean
The mean of the ranks.

trimmed.mean
The trimmed mean of the ranks, i.e. the mean resulting when throwing away the trim*100 percent most extreme observations at both tails.

median
The median of the ranks.

quantile
The q-quantile, 0 <= q="" <="1, of the ranks.

q
Only specified if measure="quantile".
trim
s. trimmed.mean.

Value

AggregatedRanking.

See Also

RepeatRanking, AggregateSVD, AggregatePenalty, AggregateMC

Examples

Run this code
## Load toy gene expression data
data(toydata)
### class labels
yy <- toydata[1,]
### gene expression
xx <- toydata[-1,]
### run RankingTstat
ordT <- RankingTstat(xx, yy, type="unpaired")
### Generate Leave-one-out Foldmatrix
loo <- GenerateFoldMatrix(y = yy, k=1)
### Get all rankings
loor_ordT <- RepeatRanking(ordT, loo)
### aggregate rankings
agg_simple_ordT <- AggregateSimple(loor_ordT, measure ="mean")
toplist(agg_simple_ordT)

Run the code above in your browser using DataLab