Dulce_AnnotateMS1 | R Documentation |
This function constitutes the complete MS Data Annotation Pipeline. It is robust and smart enough to understand what kind of data is being inputed and continue the pipeline from the appropriate step. It is constructed in such a way that when an error occurs, the last correctly executed product is saved and returned.
Dulce_AnnotateMS1( data, cwp = NULL, pdp = NULL, names = NULL, classes = "Unclassified", perfwhm = 0.5, cor_eic_th = 0.75, polarity = NULL, rtmin = 0, rtmax = Inf, pgp = NULL, ppm = NULL, mzabs = NULL, output = "all" )
data |
Object of any of these classes: MSnExp, OnDiskMSnExp, XCMSnExp, xcmsSet, xsAnnotate, data.frame. |
cwp |
CentWaveParam() object. If not given, default CentWaveParam() values are used. |
pdp |
PeakDensityParam() object. If not given, default PeakDensityParam() values are used. |
names |
Character vector with length equals to the amount of samples. It defines
the identifier of each sample. If |
classes |
Character vector with length equals to the amount of samples. It defines the main grouping of the samples. If |
perfwhm |
numeric value. It will be passed into |
cor_eic_th |
numeric value. It will be passed into |
polarity |
character value, either "positive" or "negative". It will be passed into |
rtmin |
Numeric value specifying the lower retention time boundary. |
rtmax |
Numeric value specifying the higher retention time boundary. |
pgp |
|
ppm |
M/z range for putative glycans in ppm units. |
mzabs |
M/z range for putative glycans in absolute units. Changed to |
output |
Character object that determines what the function will return.
If |
If no errors occurs during the execution of the function, then the output depends on th
output
argument. If all
, the function will return every partial product achieved. If main
,
XCMSnExp object (with peaks picked and grouped) and an annotated putative glycans data.frame
are
returned. If last
, only the annotated putative glycans data.frame
is returned. If an error occur
during the execution of the function, it saves the last partial product achieved, and tries to return
the specified output option.
# Examples have to be made with a toy data object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.