| readSmc {PGSEA} | R Documentation |
This function reads in SMCs (simple molecular concepts) from individual text files.
readSmc(files)
files |
a character vector of file names |
A list of SMC objects
Kyle Furge <kyle.furge@vai.org> and Karl Dykema <karl.dykema@vai.org>
??
datadir <- system.file("data", package = "PGSEA")
sample <- readGmt(file.path(datadir, "sample.gmt"))
str(sample)
sample[[1]]@reference <- "fileName"
## Not run:
writeSmc(sample[[1]])
smc <- readSmc("fileName-0.txt")
## End(Not run)