View source: R/saveSpectraInTime.R
saveSpectra | R Documentation |
SpectraInTime-class
from or to a .txt
fileread or save a SpectraInTime-class
from or to a .txt
file
saveSpectra(object, directory, precision = 32) readSpectra(file)
object |
object to save |
directory |
directory to save object |
precision |
number of significant digits controlling precission |
file |
to be read |
the path to which the file is saved
SpectraInTime-class
experiment name is used to save the experiment
default time formats are assumed to convert to SpectraInTime-class
some data precession is lost because of internal conversion to JSON format
Adriaan Blommaert
spectra <- getSpectraInTimeExample() saveSpectra( spectra , directory ) experimentName <- getExperimentName( spectra ) file <- file.path( directory , paste0( experimentName , ".txt") ) spectraRead <- readSpectra( file )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.