powered by
Reads a .gmt gene set file and returns a named list, where each list element is a gene set.
gmt2list(file, verbose = TRUE)
A named list where each element is a character vector of gene symbols.
Character. Path to a .gmt file.
Logical. Whether to print message. Default is TRUE.
if (FALSE) { # Requires a GMT file to run: gmt_file <- "path/to/geneset.gmt" gene_sets <- gmt2list(gmt_file) length(gene_sets) names(gene_sets)[1:3] }
Run the code above in your browser using DataLab