rawrrSpectrum {rawrr} | R Documentation

## Create `rawrrSpectrum` objects

### Description

High-level constructor for instances of class `rawrrSpectrum`, also named helper function. Currently, mainly to support testing and for demonstration.

### Usage

    rawrrSpectrum(sim = "TESTPEPTIDE")

### Arguments

`sim` | Either `example_1` or `TESTPEPTIDE`

### Value

Function returns a validated `rawrrSpectrum` object

### Author(s)

Tobias Kockmann, 2020.

### Examples

    plot(rawrrSpectrum(sim = "TESTPEPTIDE"))
    rawrrSpectrum(sim = "example_1")

[Package rawrr version 1.0.3 Index]