writeSmc {PGSEA} | R Documentation |
This function will write out SMC objects to individual text files
writeSmc(x)
x |
an object of class SMC |
The file name is determined by the reference slot of the SMC object.
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]]) ## End(Not run)