generateFormulasDA | R Documentation |
Uses Bruker DataAnalysis to generate chemical formulae.
generateFormulasDA(fGroups, ...)
## S4 method for signature 'featureGroups'
generateFormulasDA(
fGroups,
MSPeakLists,
precursorMzSearchWindow = 0.002,
MSMode = "both",
adduct = NULL,
featThreshold = 0,
featThresholdAnn = 0.75,
absAlignMzDev = 0.002,
save = TRUE,
close = save
)
## S4 method for signature 'featureGroupsSet'
generateFormulasDA(
fGroups,
MSPeakLists,
precursorMzSearchWindow = 0.002,
MSMode = "both",
adduct = NULL,
...,
setThreshold = 0,
setThresholdAnn = 0,
setAvgSpecificScores = FALSE
)
fGroups |
|
... |
\setsWF Further arguments passed to the non-sets workflow method. |
MSPeakLists |
An |
precursorMzSearchWindow |
Search window for m/z values (+/- the feature m/z) used to find back
feature data of precursor/parent ions from MS/MS spectra (this data is not readily available from
|
MSMode |
Whether formulae should be generated only from MS data ( |
adduct |
An The |
featThreshold |
If |
featThresholdAnn |
As |
absAlignMzDev |
When the group formula annotation consensus is made from feature annotations, the m/z
values of annotated MS/MS fragments may slightly deviate from those of the corresponding group MS/MS peak list. The
|
close , save |
If |
setThreshold |
\setsWF Minimum abundance for a candidate among all sets (‘0-1’). For instance, a value of ‘1’ means that the candidate needs to be present in all the set data. |
setThresholdAnn |
\setsWF As |
setAvgSpecificScores |
\setsWF If |
This function uses bruker to generate formula candidates. This function is called when calling generateFormulas
with
algorithm="bruker"
.
This method supports scoring based on overlap between measured and theoretical isotopic patterns (both MS
and MS/MS data) and the presence of 'fitting' MS/MS fragments. The method will iterate through all features (or
"Compounds" in DataAnalysis terms) and call SmartFormula
(and SmartFormula3D
if MS/MS data is
available) to generate all formulae. Parameters affecting formula calculation have to be set in advance within the
DataAnalysis method for each analysis (e.g. by setDAMethod
).
This method requires that features were obtained with findFeaturesBruker
. It is recommended, but not
mandatory, that the MSPeakLists
are also generated by DataAnalysis.
Calculation of formulae with DataAnalysis always occurs with the 'feature approach' (see Candidate
assignment
in generateFormulas
).
A formulas
object containing all generated formulae.
If any errors related to DCOM
appear it might be necessary to
terminate DataAnalysis (note that DataAnalysis might still be running as a
background process). The ProcessCleaner
application installed
with DataAnalayis can be used for this.
generateFormulas
for more details and other algorithms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.