tool.save {Mergeomics} | R Documentation |
tool.save
saves a given data frame into a specified file within a
given directory.
tool.save(frame, file, directory = NULL, verbose = TRUE, compression = FALSE)
frame |
data frame to be saved into file |
file |
name of the output file to be written |
directory |
path of the directory for the file |
verbose |
specifies whether the information about file saving process will be displayed to user |
compression |
specifies whether the file is compressed while saving. Applicable for only UNIX-family systems with gzip. |
fname |
returns file name with full path |
Compression only works on UNIX-family systems with gzip.
Ville-Petteri Makinen
aa<- data.frame(MODULE=c("Mod1", "Mod1", "Mod2", "Mod2", "Mod3"), NODE=c("GeneA", "GeneC", "GeneB", "GeneC", "GeneA")) tool.save(aa, "aa.save.txt") file.remove("aa.save.txt") ## delete the saved file!