basePeak: Base peak of a spectrum

basePeakR 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]])

fgcz/rawrr documentation built on Nov. 8, 2024, 1:31 a.m.