Retrieve gene sets from MSigDB

list_msigdb_versions()

list_msigdb_collections(version = NULL)

get_msigdb(
  version = choose_msigdb_version(),
  collection = choose_msigdb_collection(version),
  gene_id_type = c("entrez", "symbols"),
  as_table = FALSE
)

Arguments

version

The MSigDB version. The value can be obtained by list_msigdb_versions(). If this argument is not specified, a menu will be printed to let users to select.

collection

The gene set collection. The values can be obtained by list_msigdb_collections().

gene_id_type

One of "entrez" and "symbols".

as_table

Whether to return a list or a table.