View source: R/noisy_spectra.R
get_undeuterated_mass | R Documentation |
This function gets mass of an undeuterated peptide based on its spectrum.
get_undeuterated_mass(theoretical_spectra)
theoretical_spectra |
a data table or a list of data tables of
theoretical spectra created by the function
|
For the calculations the formula below is used
undeuterated_mass = charge * Mz - p_m
where Mz
is mass-to-charge ratio for the peaks from the provided
theoretical spectrum and p_m is the mass of proton equal to 1.007276.
'data.table' of calculated mass value for the first peak (the smallest one) as it is usually the peak corresponding to the monoisotopic mass.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.