as.rankPercentile: Convert to Rank Percentiles

as.rankPercentileR Documentation

Convert to Rank Percentiles

Description

Convert a vector of numbers into rank percentiles.

Usage

as.rankPercentile(x)

Arguments

x

numeric vector, usually of gene expression abundance

Details

Converts gene expression onto a uniform 0..100 scale, by expressing all values as rank percentiles. The largest value will become 100, the median value 50, and the minimun value will be 100/length(x)

Value

numeric vector of the same length as x, where each value is the rank percentile of the original.

Examples

as.rankPercentile( rnorm( 10, mean=5, sd=2))

robertdouglasmorrison/DuffyTools documentation built on April 16, 2024, 6:31 a.m.