Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/formulaCalculator.R
Converts a molecular formula e.g. C15H20 into an upper limit appropriate for
use with Rcdk's generate.formula
function's element
argument.
1 |
formula |
A molecular formula in string or list representation
( |
This helper function is used to make the upper limits for
generate.formula
when finding subformulas to match to a MS2
fragment peak.
An array in the form c( c("C", "0", "12"), c("H", "0", "12"))
(for input of "C12H12").
Michael Stravs
1 2 3 | #
to.limits.rcdk("C6H6")
to.limits.rcdk(add.formula("C6H12O6", "H"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.