Calculate GSEA ranking metric values for fgsea2
.
Arguments
- x
object of class
data.frame
. Typically results fromlimma_full
.- genes
character; the name of a column in
x
. A ranking metric value will be calculated for each unique entry. Usually gene symbols, Entrez IDs, or Ensembl genes to work with the output ofmsigdbr2
.- metric
character; specifies how the ranking metric will be calculated from
x
. Can be the name of a single column.- contrast_column
character; the name of a column in
x
. Entries in this column will be set as the names of the output list.