Description Usage Arguments Methods (by generic) Slots
MassSpectrum
is a simple S4 class designed to
encapsulate basic information about a mass spectrum.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | ## S4 method for signature 'MassSpectrum'
mz(object, ...)
## S4 replacement method for signature 'MassSpectrum'
mz(object) <- value
## S4 method for signature 'MassSpectrum'
intensity(object, ...)
## S4 method for signature 'MassSpectrum'
peaks(object, ...)
## S4 method for signature 'MassSpectrum'
isCentroided(object, ...)
## S4 method for signature 'MassSpectrum'
tic(object, ...)
## S4 method for signature 'MassSpectrum'
length(x)
## S4 method for signature 'MassSpectrum'
x[i, j, ..., drop = TRUE]
|
object |
A |
... |
Additional arguments |
value |
A replacement value |
x |
A |
i |
indices specifying elements to extract |
j |
indices specifying elements to extract |
drop |
ignored |
mz
: Get m/z values
mz<-
: Set m/z values
intensity
: Get intensities
peaks
: Get indices of peaks
isCentroided
: Get whether the spectrum is centroided
tic
: Get the total ion count
length
: Get the length of the spectrum
[
: Subset a mass spectrum
mz
The m/z-values.
intensity
The intensities observed at the associated m/z values.
isCentroided
Whether the spectrum has been centroided or not.
peaks
The indices of any detected peaks
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.