basePeak {rawrr} | R Documentation

## Base peak of a spectrum

### Description

Base peak of a spectrum

### Usage

    basePeak(x)

### Arguments

`x` | A rawrrSpectrum object

### Value

A double vector of length two. The first component is the base peak position (m/z). The second component is the base peak intensity.

### Examples

    S <- readSpectrum(rawfile = sampleFilePath(), 1)
    basePeak(S[[1]])

[Package rawrr version 1.2.0 Index]