ESscore: Enrichment Score Calculation

View source: R/GSEA.R

ESscoreR Documentation

Enrichment Score Calculation

Description

Calculates the enrichment score (ES) for a given set of labels and correlation vector.

Usage

ESscore(labels.list, correl.vector = NULL)

Arguments

labels.list

A binary vector indicating membership in a gene set (1 for inclusion, 0 for exclusion).

correl.vector

A vector of correlation values (e.g., gene expression correlations).

Value

The enrichment score (ES) for the given labels and correlation vector.


iPRISM documentation built on Sept. 11, 2024, 7:14 p.m.