runGSEA.Rd
Run gene-set enrichment analysis (GSEA)
runGSEA(
gene,
value,
species,
db = "GO",
my.entrez = NULL,
my.pathway = NULL,
min.size = 3,
max.size = 300,
do.plot = T,
plot.top.n = 10,
path.name.wrap.width = 40,
e2s = F
)
Character vector of gene names
Numeric vector of values used to rank genes (e.g., logFC, expression, etc.). Must be same length as gene argument.
Species. One of "Mm" (mouse) or "Hs" (human)
Data.frame with SYMBOL and ENTREZID columns. Used to relate gene symbols to Entrez IDs. Retrieved internally unless explicitly provided.
Named list of pathways, with each entry containing vector of Entrez IDs. Retrieved internally unless explicitly provided.
Minimum gene set size. Default is 3.
Minimum gene set size. Default is 300.
Logical to return dotplot visualizing top GSEA ranked pathways. Default is T.
Numeric specifying how many top pathways to visualize. Default is 10.
Numeric specifying width of pathway names to wrap around. Argument passed to stringr::str_wrap(..., width = path.name.wrap.width)
entrez to symbol mapping (computationally demanding). Default False.
list of enrichment results