readGmtFile {BioNetStat} | R Documentation |
'readGmtFile' reads a tab-delimited text file containing a collection of gene sets.
readGmtFile(fileName)
fileName |
a string containing the file name |
a list of gene sets. Each element of the list is a character vector v, where v[1] contains the gene set name, v[2] descriptions about the set, v[3..length(v)] the genes that belong to the set.
# Read example gmt file gmt_fname <- system.file("extdata", "c2.cp.v5.2.symbols.gmt", package = "BioNetStat") deneSets <- readGmtFile(gmt_fname)