generateTPsLogic | R Documentation |
Automatically calculate potential transformation products with metabolic logic.
generateTPsLogic(fGroups, minMass = 40, ...)
## S4 method for signature 'featureGroups'
generateTPsLogic(fGroups, minMass = 40, adduct = NULL, transformations = NULL)
## S4 method for signature 'featureGroupsSet'
generateTPsLogic(fGroups, minMass = 40, transformations = NULL)
fGroups |
A |
minMass |
A |
... |
Further arguments specified to the methods. |
adduct |
An The |
transformations |
A |
This function uses metabolic logic to obtain transformation products. This function is called when calling generateTPs
with
algorithm="logic"
.
With this algorithm TPs are predicted from common (environmental) chemical reactions, such as hydroxylation, demethylation etc. The generated TPs result from calculating the mass differences between a parent feature after it underwent the reaction. While this only results in little information on chemical properties of the TP, an advantage of this method is that it does not rely on structural information of the parent, which may be unknown in a full non-target analysis.
A transformationProducts
(derived) object containing all generated TPs.
The transformations
argument specifies custom rules to calculate
transformation products. This should be a data.frame
with the following columns:
transformation
The name of the chemical transformation
add
The elements that are added by this reaction (e.g. "O"
).
sub
The elements that are removed by this reaction (e.g. "H2O"
).
retDir
The expected retention time direction relative to the parent (assuming a reversed phase like LC
separation). Valid values are: ‘-1’ (elutes before the parent), ‘1’ (elutes after the parent) or ‘0’
(no significant change or unknown).
The algorithms using transformation reactions are directly based on the work done by Schollee et al. (see references).
Scholle2015patRoon
generateTPs
for more details and other algorithms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.