writeResult {SIMAT} | R Documentation |
This funtion gets the anaylsis results and writes them in a csv format.
writeResult(runPeaks = list(), output.file.name = 'results.csv')
runPeaks |
a list including the analysis results and targets information, e.g. acquired by |
output.file.name |
a character object, i.e. string, of the name of the output file in csv format. |
As an input, the runPeaks
object is a list of lists where each list, is the information for one run. The information for each run includes target information, and analysis results, e.g. apex and area location in time and their related intensities as well as estimated RI.
A logical value
Mo R. Nezami Ranjbar
http://omics.georgetown.edu/SIMAT.html
# load an RData file including a single run data acquired by readCDF data(Run) # load targets information data(Targets) # get all the corresponding peaks of the target list runPeaks <- getPeak(Run = Run, Targets = Targets) # write analysis results into a csv file writeResult(runPeaks = runPeaks)