View source: R/initializeElements.R
initializeElements | R Documentation |
Initialize the information about name, mass and isotopes. To reduce the number of decomposition hypotheses, subsets of elements can be created.
initializeElements(names)
.getElement(name, elements = NULL)
initializeCHNOPS()
initializeCHNOPSMgKCaFe()
initializeCHNOPSNaK()
initializePSE()
initializeCharges()
names |
Vector of element names within PSE. |
name |
Chemical element name (abbr.). |
elements |
Character vector of chemical element names. |
These functions return full, pre-defined or user-defined (sub-) lists of elements.
A list with the elements 'name' repeated sum formula, 'mass' nominal mass of molecule, 'isotope' a list of isotopes. The function 'initializeCharges' is special, since it allows to parse charges as shown in examples.
Steffen Neumann <sneumann@IPB-Halle.DE>
For a description of the underlying IMS see citation("Rdisop"). Isotope patterns were obtained through wikipedia.org
initializeCHNOPS()
getMolecule("H3O+", elements=c(initializeCHNOPS(),initializeCharges()))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.