calcRP | R Documentation |
Calculates the Rank Product from a set of gene rank probabilities
calcRP(x)
x |
numeric vector of gene rank probabilities |
The low level calculation of the RP value, as described in the Rank Product paper by Rainer Breitling. Given an ordering of N genes in a differential expression result, the probability of a gene occuring at position j is given by (j/N). With a set of K replicates, Breitling defines the RP value for a gene as the K'th root of the product of the probabilities from all K replicates.
numeric value of length 1, equivalent to the geometric mean of x
Implemented via log2(x)
for numerical stability, and further
normalized by the number of replicates K to allow comparisons
between datasets.
As implemented, it is equivalent to logmean
. Contrast with
mean
and sqrtmean
.
Breitling, R. FEBS Letters 573 (2004)
rankProduct
, rankProductDiffExpress
, for
the higher level routines based on Rank Product
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.