Get the csv files from xcmsset/XCMSnExp/list object
Usage
getupload(
xset,
method = "medret",
value = "into",
name = "Peaklist",
type = "m",
mzdigit = 4,
rtdigit = 1
)
Arguments
- xset
the xcmsset/XCMSnExp/list object which you want to submitted to Metaboanalyst
- method
parameter for groupval function
- value
parameter for groupval function
- name
file name
- type
m means Metaboanalyst, a means xMSannotator, o means full information csv
- mzdigit
m/z digits of row names of data frame
- rtdigit
retention time digits of row names of data frame
Value
dataframe with data needed for Metaboanalyst/xMSannotator/pmd if your want to perform local analysis.
Examples
if (FALSE) { # \dontrun{
library(faahKO)
cdfpath <- system.file('cdf', package = 'faahKO')
xset <- getdata(cdfpath, pmethod = ' ')
getupload(xset)
} # }