new_rawrrSpectrum {rawrr} | R Documentation

## Create instances of class `rawrrSpectrum`

### Description

Developer function.

### Usage

    new_rawrrSpectrum(
      scan = numeric(),
      massRange = numeric(),
      scanType = character(),
      rtinseconds = numeric(),
      centroidStream = logical(),
      mZ = numeric(),
      intensity = numeric()
    )

### Arguments

`scan` | scan number
`massRange` | Mass range covered by spectrum
`scanType` | Character string describing the scan type.
`rtinseconds` | Retention time in seconds
`centroidStream` | Logical indicating if centroided data is available
`mZ` | m/z values
`intensity` | Intensity values

### Value

Object of class `rawrrSpectrum`

### Author(s)

Tobias Kockmann, 2020.

[Package rawrr version 1.2.0 Index]