export one of 'SpecAbund', 'SpecAbundAve', 'MSdata' or 'MSMSdata' from an RC object to csv
exportDataset(
ramclustObj = NULL,
which.data = "SpecAbund",
label.by = "ann",
appendFactors = TRUE
)
nothing is returned. file exported as csf to 'datasets/*.csv'
ramclustR object to export from
name of dataset to export. SpecAbund, SpecAbundAve, MSdata, or MSMSdata
either 'ann' or 'cmpd', generally. name of ramclustObj slot used as csv header for each column (compound)
logical. If TRUE (default) the factor data frame is appended to the left side of the dataset.
Corey Broeckling
Useful for exporting the processed signal intensity matrix to csv for analysis elsewhere.
Broeckling CD, Afsar FA, Neumann S, Ben-Hur A, Prenni JE. RAMClust: a novel feature clustering method enables spectral-matching-based annotation for metabolomics data. Anal Chem. 2014 Jul 15;86(14):6812-7. doi: 10.1021/ac501530d. Epub 2014 Jun 26. PubMed PMID: 24927477.