generateFormulasSIRIUS | R Documentation |
Uses SIRIUS to generate chemical formulae candidates.
generateFormulasSIRIUS(fGroups, ...)
## S4 method for signature 'featureGroups'
generateFormulasSIRIUS(
fGroups,
MSPeakLists,
relMzDev = 5,
adduct = NULL,
projectPath = NULL,
elements = "CHNOP",
profile = "qtof",
database = NULL,
noise = NULL,
cores = NULL,
getFingerprints = FALSE,
topMost = 100,
login = FALSE,
alwaysLogin = FALSE,
extraOptsGeneral = NULL,
extraOptsFormula = NULL,
calculateFeatures = TRUE,
featThreshold = 0,
featThresholdAnn = 0.75,
absAlignMzDev = 0.002,
verbose = TRUE,
splitBatches = FALSE,
dryRun = FALSE
)
## S4 method for signature 'featureGroupsSet'
generateFormulasSIRIUS(
fGroups,
MSPeakLists,
relMzDev = 5,
adduct = NULL,
projectPath = NULL,
...,
setThreshold = 0,
setThresholdAnn = 0,
setAvgSpecificScores = FALSE
)
fGroups |
|
... |
\setsWF Further arguments passed to the non-sets workflow method. |
MSPeakLists |
An |
relMzDev |
Maximum relative deviation between the measured and candidate formula m/z values (in ppm). Sets the --ppm-max command line option. |
adduct |
An The |
projectPath , dryRun |
These are mainly for internal purposes.
|
elements |
Elements to be considered for formulae calculation. This will heavily affects the number of
candidates! Always try to work with a minimal set by excluding elements you don't expect. The minimum/maximum
number of elements can also be specified, for example: a value of |
profile |
Name of the configuration profile, for example: "qtof", "orbitrap", "fticr". Sets the --profile commandline option. |
database |
If not |
noise |
Median intensity of the noise ( |
cores |
The number of cores |
getFingerprints |
Set to |
topMost |
Only keep this number of candidates (per feature group) with highest score. Sets the --candidates command line option. |
login , alwaysLogin |
Specifies if and how account logging of SIRIUS should be handled:
if See the SIRIUS website and patRoon handbook for more information. |
extraOptsGeneral , extraOptsFormula |
a |
calculateFeatures |
If |
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
|
verbose |
If |
splitBatches |
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 sirius to generate formula candidates. This function is called when calling generateFormulas
with
algorithm="sirius"
.
Similarity of measured and theoretical isotopic patterns will be used for scoring candidates. Note that
SIRIUS
requires availability of MS/MS data.
A formulasSIRIUS
object.
generateFormulasSIRIUS uses multiprocessing to parallelize computations. Please see the parallelization section in the handbook for more details and patRoon options for configuration options.
For annotations performed with SIRIUS
it is often the fastest to keep the default
splitBatches=FALSE
. In this case, all SIRIUS
output will be printed to the terminal (unless
verbose=FALSE
or patRoon.MP.method="future"). Furthermore, please note that only annotations to be
performed for the same adduct are grouped in a single batch execution.
Dhrkop2019patRoon
\insertRefDuhrkop2015patRoon
\insertRefDuhrkop2015-2patRoon
\insertRefBcker2008patRoon
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.