View source: R/exportDataset.R
exportDataset | R Documentation |
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
)
ramclustObj |
ramclustR object to export from |
which.data |
name of dataset to export. SpecAbund, SpecAbundAve, MSdata, or MSMSdata |
label.by |
either 'ann' or 'cmpd', generally. name of ramclustObj slot used as csv header for each column (compound) |
appendFactors |
logical. If TRUE (default) the factor data frame is appended to the left side of the dataset. |
Useful for exporting the processed signal intensity matrix to csv for analysis elsewhere.
nothing is returned. file exported as csf to 'datasets/*.csv'
Corey Broeckling
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.