GSEA framework
Usage
gene_level_log2fc(mat, condition)
gene_level_s2n(mat, condition)
gene_level_tvalue(mat, condition)
gene_level_sam(mat, condition)
gene_level_log_p(mat, condition)
set_level_mean(s, l)
set_level_median(s, l)
set_level_maxmean(s, l)
set_level_wilcox(s, l)
set_chi_square(s, l)
set_level_ks(s, l)Details
There are the following gene-level statistics
log2fc
signal to noise ratio
t-value
SAM t-value
-log(p)
There are the following gene set level statistics:
mean
median
maxmean
wilcox ranksum
ks. Since we only support one-side test, the ES is defined as
max(abs(f2 - f1)).chi-square. Only works when gene-level scores are binary.