Description Usage Arguments Value Note Author(s) Examples
tool.save
saves a given data frame into a specified file within a
given directory.
1 |
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
1 2 3 4 | 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!
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.