datadir <- system.file("extdata", package = "PGSEA")
sample <- readGmt(file.path(datadir, "sample.gmt"))
str(sample)
## Not run:
# writeGmt(paste(datadir,"/output.gmt",sep=""),sample)
# ## End(Not run)
Run the code above in your browser using DataLab