Reads a .gmt
gene set file and returns a named list,
where each list element is a gene set.
Usage
gmt2list(file, verbose = TRUE)
Arguments
- file
Path to a .gmt
file.
- verbose
Logical. Whether to print message. Default = TRUE.
Value
A named list where each element is a character vector of gene symbols.
Examples
# gmt_file <- system.file("extdata", "h.all.v2024.1.Hs.symbols.gmt", package = "evanverse")
# gene_sets <- gmt2list(gmt_file)