Learn R Programming

MALDIcellassay (version 0.4.47)

getMzFromMzIdx: Get the mz value associated with a mzIdx

Description

Get the mz value associated with a mzIdx

Usage

getMzFromMzIdx(object, mzIdx)

Value

numeric, mz value

Arguments

object

Object of class MALDIassay

mzIdx

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

Examples

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

Run the code above in your browser using DataLab