Get GO gene sets from OrgDb object

get_GO_gene_sets_from_orgdb(
  orgdb,
  ontology = "BP",
  gene_id_type = c("ENTREZID", "SYMBOL", "ENSEMBL"),
  as_table = FALSE
)

Arguments

orgdb

An OrgDb object.

ontology

"BP", "CC" or "MF".

gene_id_type

Which gene ID type to use.

as_table

Whether to return a list or a two-column data frame?