GSEA analysis

gsea(expr, condition, cmp, geneset, plot = FALSE, power = 1)

gsea_gene_perm(s, geneset, perm = FALSE, power = 1)

Arguments

expr

The complete expression matrix

condition

The condition labels of samples

cmp

A vector of two, cmp[1] - cmp[2] > 0 means up-regulation

geneset

A vector of genes

plot

Whether to make the GSEA plot?

power

Power added to the weight.

s

A pre-sorted gene-level scores.

perm

Whether to perform gene-permutation?