Description Usage Arguments Value Examples
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.
1 2 3 4 5 6 7 8 | ## 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.
1 2 3 4 5 6 7 8 9 10 | 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")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.