Description Usage Arguments Value
View source: R/Functions_calcMZs.R
Calculate charge-to-mass ratios for charge states of ions
1 2 |
MF |
character vector with molecular formulas (MFs) |
charges |
vector of positive or negative integers indicating the charge states to calculate |
carrier |
charge carrier - Molecular formula will be added to or removed from MFs for each charge |
monoisotopic |
if true, will calculate the monoisotopic mass m/z values, will calculate m/z of the most abundant isotope peak otherwise (preferrable e.g. for large organic molecules) |
mf_column |
name of column in result data.frame that will contain the molecular formulas |
adduct |
an adduct, e.g. "Na" or "Cl". If the charge is positive, each adduct replaces one charge carrier. |
a data.frame with columns mz
, charge
, ion
and the mf_column
as specified
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.