Usage
fgsea2(
pathways,
stats,
gene_column = "entrez_gene",
adjust.method = "BH",
adjust.globally = TRUE,
seed = NULL,
...
)
Arguments
- pathways
output of
msigdbr2
.- stats
output of
rank_genes
.- gene_column
character; the name of a column in
pathways
containing the genes in each pathway.- adjust.method
character; the p-value correction method. Can be abbreviated. See
p.adjust.methods
.- adjust.globally
logical; should p-values from all contrasts be adjusted together using
adjust.method
? Set toFALSE
if the contrasts being tested are not closely related.- seed
numeric or
NULL
; passed toset.seed
.- ...
additional arguments passed to
fgseaMultilevel
.
Value
A data.table
with results for each
contrast. See fgsea
for more details.