Skip to contents

This function ranks genes or proteins using a percentile ranking for a selected variable (for example, fold change or pvalue)

Usage

percentile_rank(df, symbol, metric, desc = FALSE)

Arguments

df

dataframe that contains genes/proteins to rank (tidy format)

symbol

column name that contains the gene/protein symbols

metric

column name to be used as the metric to rank

desc

boolean, ranking in a descending or ascending order. Default = FALSE

Value

dataframe with percentile ranking

Examples

TRUE
#> [1] TRUE