Description Usage Arguments Value Author(s) References See Also Examples
Writes the ScanAlyzeData object to a file with the ScanAlyze file format.
1 2 |
filename |
The filename of the file to be read. |
path |
The path to the file. |
slide |
An |
... |
Arguments passed to |
Returns nothing.
Henrik Bengtsson (http://www.braju.com/R/)
The data file in the example above was contributed by Michael Stadler, Bioinformatics Group, Swiss Institute for Experimental Cancer Research.
To read one or more ScanAlyze Results files
see *read()
.
For more information see ScanAlyzeData
.
1 2 3 4 5 6 7 8 9 10 11 12 13 | sa <- ScanAlyzeData$read("group4.dat", path=system.file("data-ex", package="aroma"))
# Writes the ScanAlyzeData to a temporary file. Note that this
# file won't be exactly the same since a few lines, specifying
# for instance the creator of the file, will be added. The data,
# however, will be the same.
filename <- paste(tempfile("ScanAlyzeData"), ".dat", sep="")
write(sa, filename)
sa2 <- ScanAlyzeData$read(filename)
print(equals(sa, sa2)) # TRUE
unlink(filename)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.