Description Usage Arguments Details Value Source References Examples
converts ESI adduct names into table of monoisotopic masses
1 | adduct2mass(adductNames = c("[M-H]-", "[2M+2CH3OH]2-", "[M-H+C2H4O2+Na]-"))
|
adductNames |
character vector of ESI adduct names in a specific form for example see default names c('[M-H]-', '[2M+2CH3OH]2-', '[M-H+C2H4O2+Na]-'). The function was developed and tested against the 128 and 133 different ESI adducts and in-source fragment names for accuracy. |
this function can be used to generate a table of ESI adducts for the
metID.dbAnnotate
function.
data.frame of n rows corresponding to each adduct name and 5 columns:
"name" adduct name
"nmol" number of molecules (e.g. 2M-H = 2, M-H = 1)
"Ch" charge state
"massDiff" summed monoisotopic mass difference.
"mode" ion polarity based on adduct name (e.g. "]-" = 'neg", and "]+" = 'pos")
element monoisotopic masses and natural abundances taken from http://www.sisweb.com/referenc/source/exactmas.htm, see ?exactMassEle.
Stanstrup, J., Gerlich, M., Dragsted, L.O. et al. Anal Bioanal Chem (2013) 405: 5037. doi:10.1007/s00216-013-6954-6
1 | massDiffs <- adduct2mass(c('[M-H]-', '[2M+2CH3OH]2-', '[M-H+C2H4O2+Na]-'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.