rankFeatures: Pre-rank features prior to calculating enrichment scores.

View source: R/feature_processing.R

rankFeaturesR Documentation

Pre-rank features prior to calculating enrichment scores.

Description

Rank features based on the direction of their fold change and their magnitude implicated through their assigned p-value.

Usage

rankFeatures(logFC, pvalues, base = 10)

Arguments

logFC

Vector containing the log-transformed fold changes of features.

pvalues

Vector containing the p-values associated with those logFCs.

base

Integer specifying the base of the logarithm. Default: 10

Value

Vector of pre-ranked features, still unsorted

Examples

logFC <- rnorm(10)
pvalues <- runif(10)
rankFeatures(logFC, pvalues)


yigbt/multiGSEA documentation built on Nov. 25, 2024, 9:11 a.m.