| GSEA_score | R Documentation | 
In this specific implementation, we modified two aspects: (1) the stats_vector takes the absolute value of the t-statistics; This ensures that the GSEA works for the case where part of genes are up-regulated and others are down-regulated. (2) permutation of the gene symbols of the ranking vector, instead of gene expression values.
GSEA_score(gene_list, gene_set, stats_vector)
gene_list | 
 a vector of genes in the expression data  | 
gene_set | 
 a vector of genes in the gene set  | 
stats_vector | 
 a vector of DEG statistics for every gene in gene_list (rank_vector in the DEG results) Absolute values of the t-statistics are required for the desired performance.  | 
ES: enrichment score
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.