getcsv {enviGCMS}R Documentation

Convert an list object to csv file.

Description

Convert an list object to csv file.

Usage

getcsv(list, name, mzdigit = 4, rtdigit = 1, type = "o", ...)

Arguments

list

list with data as peaks list, mz, rt and group information

name

result name for csv and/or eic file, default NULL

mzdigit

m/z digits of row names of data frame, default 4

rtdigit

retention time digits of row names of data frame, default 1

type

csv formate for furthor analysis, m means Metaboanalyst, a means xMSannotator, p means Mummichog(NA values are imputed by 'getimputation', and F test is used here to generate stats and p vlaue), o means full infomation csv (for 'pmd' package), default o. mapo could output all those format files.

...

other parameters for 'write.table'

Value

NULL, csv file

References

Li, S.; Park, Y.; Duraisingham, S.; Strobel, F. H.; Khan, N.; Soltow, Q. A.; Jones, D. P.; Pulendran, B. PLOS Computational Biology 2013, 9 (7), e1003123. Xia, J., Sinelnikov, I.V., Han, B., Wishart, D.S., 2015. MetaboAnalyst 3.0—making metabolomics more meaningful. Nucl. Acids Res. 43, W251–W257.

Examples

## Not run: 
data(list)
getcsv(list,name='demo')

## End(Not run)

[Package enviGCMS version 0.6.6 Index]