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

Description Usage Arguments Value Examples

View source: R/feature_processing.R

Description

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

Usage

1
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

1
2
3
logFC <- rnorm(10)
pvalues <- runif(10)
rankFeatures(logFC, pvalues)

multiGSEA documentation built on Nov. 8, 2020, 8:15 p.m.