You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Define a function that helps identifying/subsetting a Spectra to extract the isotopes.
Have: one spectrum (i.e. a peak matrix with m/z and intensity values).
Want: indices of rows in the matrix that match isotopes (e.g. list(c(4, 5, 6), c(9, 10), c(23, 24, 25)) or c(NA, 1, 1, 1, NA, NA, 2, NA, 2, NA, NA, NA, 3, 3, 3, NA, NA), which would define the grouping of peaks into isotope groups).
Things to consider:
single and double charged molecules.
intensity of isotope peak must be smaller (at least by factor xxx) than main peak.
Approach:
start with smallest m/z peak and iterate over all peaks in a spectrum (skipping the ones included in an isotope group).
The text was updated successfully, but these errors were encountered:
the m/z differences and expected signal proportion should be provided as a list or data.frame (columns mz and intensity). ideally there should be a function isotopes or similar that returns that data.frame and has a parameter to allow defining whether single or double charged ions are expected and other settings (number of isotopes?).
Define a function that helps identifying/subsetting a
Spectra
to extract the isotopes.Have: one spectrum (i.e. a peak matrix with m/z and intensity values).
Want: indices of rows in the matrix that match isotopes (e.g.
list(c(4, 5, 6), c(9, 10), c(23, 24, 25))
orc(NA, 1, 1, 1, NA, NA, 2, NA, 2, NA, NA, NA, 3, 3, 3, NA, NA)
, which would define the grouping of peaks into isotope groups).Things to consider:
Approach:
The text was updated successfully, but these errors were encountered: