Description Usage Arguments Value Methods (by generic) Slots
A custom S4 class for MS2 spectra, neutral loss patterns and respective metainformation
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## S4 method for signature 'MS2spectrum'
show(object)
## S4 method for signature 'MS2spectrum'
precursorMz(object)
## S4 method for signature 'MS2spectrum'
rtime(object)
## S4 method for signature 'MS2spectrum'
intensity(object)
## S4 method for signature 'MS2spectrum'
mz(object)
## S4 method for signature 'MS2spectrum,ANY'
peaksCount(object)
|
object |
An object of class |
Prints information from the object slots with exception of 'spectrum' and 'neutral_losses' where only a summary is given.
show: A show generic for MS2spectra.
precursorMz: Method forMSnbase::precursorMz
for MS2spectrum objects. Accesses precursor
slot and returns precursor m/z as a numeric.
rtime: Method forMSnbase::rtime
for MS2spectrum objects. Accesses rt
slot and returns retention time as a numeric.
intensity: Method forMSnbase::intensity
for MS2spectrum objects. Accesses spectrum
slot and returns the intensity column as a numeric vector.
mz: Method forMSnbase::mz
for MS2spectrum objects. Accesses spectrum
slot and returns the m/z column as a numeric vector.
peaksCount: Method forMSnbase::mz
for MS2spectrum objects. Accesses spectrum
slot and returns the number of peaks as a numeric.
ida character string similar to the ID used by XCMSonline or the ID given in a predefined peak list
annotationa character string containing a user-defined annotation, defaults to empty
precursor(median) m/z of the spectrum's precursor ion
rt(median) retention time of the spectrum's precursor ion
polaritythe ionisation polarity,
"positive" or "negative"
spectrumthe actual MS2 spectrum as two-column matrix (column 1 is (median) m/z, column 2 is (median) intensity of the product ions)
neutral_lossesa neutral loss pattern generated by subtracting the
product ion mass-to-charge ratios from the precursor m/z in a
matrix format analogous to the spectrum slot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.