Prepare gene sets for GSEA
Usage
prepare_gene_sets(
pathway_type = "KEGG",
organism = "ko",
go_category = "all",
filter_for_prokaryotes = TRUE
)Arguments
- pathway_type
A single character string specifying the pathway type: "KEGG", "MetaCyc", or "GO"
- organism
Deprecated and has no effect; gene sets are KO-based for both KEGG and GO. See
pathway_gseafor details. Retained for signature compatibility only.- go_category
A single character string specifying the GO category to use. "all" (default) uses all categories. Valid values are determined by the reference data; see
table(ko_to_go_reference$category).- filter_for_prokaryotes
Logical. For
pathway_type = "KEGG", TRUE (default) keeps maps that KEGG draws for prokaryotic genomes and removes Organismal Systems and Human Diseases maps, except bacterial infection and antimicrobial resistance, using the same rule asko2kegg_abundance. Ignored for MetaCyc and GO.
