Learn R Programming

MALDIcellassay (version 0.4.47)

getSingleSpecIntensity: Extract the intensities of single spectra for a given mzIdx

Description

Extract the intensities of single spectra for a given mzIdx

Usage

getSingleSpecIntensity(object, mz_idx)

Value

Numeric vector, intensities of mzIdx

Arguments

object

Object of class MALDIassay

mz_idx

Integer, index of mz

Examples

Run this code

# see example for `fitCurve()` to see how this data was generated
data(Blank2022res)
head(getSingleSpecIntensity(Blank2022res, 2))

Run the code above in your browser using DataLab