exportPeakTable,proFIAset-method {proFIA} | R Documentation |
Export the data from a proFIAset object as a peak table which containes the values of measured for each variables for each samples and supplementary information.
## S4 method for signature 'proFIAset' exportPeakTable(object, colgroup = c("mzMed", "corSampPeakMean", "meanSolvent", "signalOverSolventRatioMean", "timeShifted", "signalOverSolventPvalueMean"), mval = c("NA", "zero"), filename = NULL)
object |
A proFIAset object. |
colgroup |
Labels corresponding to the column names of the group table which will be added to the peak table. |
mval |
How will missing values be treated, in default they will be set to NA, or you can keep 0. |
filename |
The name of the file for the peak table to be exported. |
A dataframe containg the datasets.
if(require("plasFIA")){ data(plasSet) #Creating the peak table ptable<-exportPeakTable(plasSet) head(ptable) #Directly in a file ## Not run: ptable<-exportPeakTable(plasSet,filename="peak_table.tsv") }