Spectrum1-class {MSnbase} | R Documentation

## The "Spectrum1" Class for MS1 Spectra

### Description

`Spectrum1` extends the `"Spectrum"` class and introduces an MS1 specific attribute in addition to the slots in `"Spectrum"`. `Spectrum1` instances are not created directly but are contained in the `assayData` slot of an `"MSnExp"`.

### Slots

See the `"Spectrum"` class for inherited slots.

### Extends

Class `"Spectrum"`, directly. Class `"Versioned"`, by class "Spectrum", distance 2.

### Methods

See `"Spectrum"` for additional accessors and methods to process `Spectrum1` objects.

`polarity(object)`

  Returns the polarity of the spectrum as an integer.

### Author(s)

Laurent Gatto <lg390@cam.ac.uk>

### See Also

Virtual super-class `"Spectrum"`, `"Spectrum2"` for MS2 spectra and `"MSnExp"` for a full experiment container.

[Package MSnbase version 2.10.1 Index]