Description Usage Arguments Author(s) See Also Examples
View source: R/Utils_formula_parser.R
Create chemical formula from parsed list
This function creates a chemical formula from a parsed list
This function generates a chemical chem_formula from a named vector of elemental counts
1 | list_to_formula(formula_list)
|
formula_list |
Named list containing the elements as names and their abudance as values |
Michael Witting, michael.witting@helmholtz-muenchen.de
1 2 3 4 5 | library(metabolomicsUtils)
chem_formula <- list("C" = 6,
"H" = 12,
"O" = 6)
list_to_formula(chem_formula)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.