Skip to contents

Calculates the traditional GSEA enrichment score

Usage

rs_calc_es(stats, pathway_r)

Arguments

stats

Named numerical vector. Needs to be sorted. The gene level statistics.

pathway_r

String vector. The genes in the pathway.

Value

The enrichment score