pasteElements {MetaboCoreUtils} | R Documentation |
pasteElements
creates a chemical formula from element counts (such as
returned by countElements()
).
pasteElements(x)
x |
|
character(1)
with the chemical formula.
Michael Witting
elements <- c("C" = 6, "H" = 12, "O" = 6) pasteElements(elements)