MassSpectrum-class: Mass spectrum objects

Description Usage Arguments Methods (by generic) Slots

Description

MassSpectrum is a simple S4 class designed to encapsulate basic information about a mass spectrum.

Usage

 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]

Arguments

object

A MassSpectrum object

...

Additional arguments

value

A replacement value

x

A MassSpectrum object

i

indices specifying elements to extract

j

indices specifying elements to extract

drop

ignored

Methods (by generic)

Slots

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


kuwisdelu/MSExample documentation built on May 13, 2020, 10:25 p.m.