Calculates the weighted enrichment score (ES) for a given set of labels and correlation vector.
ESscore_weighted(labels.list, correl.vector = NULL)The weighted enrichment score (ES) for the given labels and correlation vector.
A binary vector indicating membership in a gene set (1 for inclusion, 0 for exclusion).
A vector of correlation values (e.g., gene expression correlations).