percentile_rank: Ranks genes/proteins using a percentile ranking for a...

View source: R/percentile_rank.R

percentile_rankR Documentation

Ranks genes/proteins using a percentile ranking for a selected variable

Description

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

kalganem/Kinograte documentation built on April 27, 2022, 9:03 p.m.