Computation of r-values for ranking in high-dimensional