rhoScores: Calculate rho scores

View source: R/aggregateRanks.R

rhoScoresR Documentation

Calculate rho scores

Description

Calculate Rho score for normalized rank vector

Usage

rhoScores(r, topCutoff = NA, exact = FALSE)

Arguments

r

vector of values in [0, 1]

topCutoff

a vector of cutoff values used to limit the number of elements in the input lists

exact

indicator if exact p-values should be calculated (Warning: it is computationally unstable and does to give considerable gain)

Details

Takes in a vector with values in [0, 1]. Applies betaScores to the vector, takes the minimum of the beta scores and converts it to a valid p-value.

Value

A rho score for the normalized rank vector.

Author(s)

Raivo Kolde <rkolde@gmail.com>

References

Raivo Kolde, Sven Laur, Priit Adler, Jaak Vilo, Robust rank aggregation for gene list integration and meta-analysis, Bioinformatics, 2012,, https://doi.org/10.1093/bioinformatics/btr709

Examples

 rhoScores(c(runif(15)))
 rhoScores(c(runif(10), rbeta(5, 1, 50)))


RobustRankAggreg documentation built on Oct. 3, 2022, 5:05 p.m.