Learn R Programming

RobustRankAggreg (version 1.2.1)

rhoScores: Calculate rho scores

Description

Calculate Rho score for normalized rank vector

Usage

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

Value

A rho score for the normalized rank vector.

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)

Author

Raivo Kolde <rkolde@gmail.com>

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.

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

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

Run the code above in your browser using DataLab