outputPeakTable {adductomicsR} | R Documentation |
output peak table from AdductQuantif object
outputPeakTable(object = NULL, outputDir = NULL)
object |
a 'AdductQuantif' class object |
outputDir |
character full path to a directory to output the peak to default is the current working directory |
a peaktable with number of rows equal to the number of adducts quantified and 14 peak group information columns plus a number of columns equal to the number of samples quantified. The peak table is saved as a csv file in the output directory named: adductQuantif_peakList_'todays date'.csv. The peak table is also returned to the R session and can be assigned to an object.
eh = ExperimentHub(); Temp = query(eh, c("adductData", "adductQuant", "Rda"))[[1]]; outputPeakTable(object=Temp)