mz | R Documentation |
Calculate accurate mass-to-charge ratio (m/z)
mz(m, z, caseSensitive = FALSE)
m |
chemical formula of an ion, case insensitive |
z |
charge |
caseSensitive |
if case sensitive is 'FALSE' (default), the elements are seperated by numbers. for instance, Carbon dioxyde can be written as 'c1o2' or any combination of the two elements in lower or upper cases. However, the number of elements should be clearly stated in the chemical formula. if case sensitive is 'TRUE', the elements are seperated by upper case letters. For instance, Carbon dioxyde must be written as 'C1O2' or ‘CO2'. You don’t meed to write the number of the element if it is 1. |
Yonghui Dong
mz('C7h7o1', z = 1) mz('C7H7O', z = 1, caseSensitive = TRUE) mz(c('C7H7O4', 'C'), z = -1, caseSensitive = TRUE) # vector input mz(c('c7h7O4', 'c1'), z = -1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.