outputPeakTable: output peak table from AdductQuantif object

Description Usage Arguments Value Examples

View source: R/outputPeakTable.R

Description

output peak table from AdductQuantif object

Usage

1
outputPeakTable(object = NULL, outputDir = NULL)

Arguments

object

a 'AdductQuantif' class object

outputDir

character full path to a directory to output the peak to default is the current working directory

Value

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.

Examples

1
2
3
eh = ExperimentHub();
Temp = query(eh, c("adductData", "adductQuant", "Rda"))[[1]];
outputPeakTable(object=Temp)

adductomicsR documentation built on Nov. 8, 2020, 4:49 p.m.