writeFeaturelist | R Documentation |
MS2spectrum
objectswriteFeaturelist
uses featureList
to generate a
data.frame
that contains feature ID, precurosur m/z and
retention time for all features contained in a list of MS2spectrum
objects as produced by extractMS2spectra
and mergeSpecList
and
writes it to a csv file.
writeFeaturelist(featlist, filename = "pre_anno.csv")
featlist |
A list of |
filename |
The desired file name of the csv file, default is
|
Although originally designed for lists of MS2spectrum
objects, the function also works with lists of pseudospectrum
objects. In this case, NA
is given for precursor m/z.
A csv file that contains feature ID, precurosur m/z and
retention time. The file has a header but no row names and is separated by
','
.
load(file = system.file("extdata", "featlist.RData", package = "CluMSIDdata")) writeFeaturelist(featlist, filename = "pre_anno.csv")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.