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

View source: R/getters.R

getSingleSpecIntensityR Documentation

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)

Arguments

object

Object of class MALDIassay

mz_idx

Integer, index of mz

Value

Numeric vector, intensities of mzIdx

Examples


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

MALDIcellassay documentation built on Sept. 11, 2024, 8:29 p.m.