getMzFromMzIdx: Get the mz value associated with a mzIdx

View source: R/getters.R

getMzFromMzIdxR Documentation

Get the mz value associated with a mzIdx

Description

Get the mz value associated with a mzIdx

Usage

getMzFromMzIdx(object, mzIdx)

Arguments

object

Object of class MALDIassay

mzIdx

numeric, index of mass of interest (see getPeakStatistics())

Value

numeric, mz value

Examples

# see example for `fitCurve()` to see how this data was generated
data(Blank2022res)
getMzFromMzIdx(Blank2022res, mzIdx = 2)

CeMOS-Mannheim/MALDIcellassay documentation built on Jan. 24, 2025, 11:17 p.m.