Reads a .gmt gene set file and returns a long-format data frame with one row per gene, including the gene set name and optional description.
Examples
if (FALSE) { # \dontrun{
# Requires a GMT file to run:
gmt_file <- "path/to/geneset.gmt"
result <- gmt2df(gmt_file)
head(result, 10)
} # }
