getSpots: Get the spot coordinates of spectra

View source: R/getters.R

getSpotsR Documentation

Get the spot coordinates of spectra

Description

Get the spot coordinates of spectra

Usage

getSpots(object, singleSpec = TRUE)

Arguments

object

Object of class MALDIassay

singleSpec

Logical, extract the spot coordinates of single spectra (default) or from average spectra.

Value

character vector of spot coordinates. In case of average spectra multiple spots are concatenated.

Examples

# see example for `fitCurve()` to see how this data was generated
data(Blank2022res)
# spots per spectrum
getSpots(Blank2022res, singleSpec = TRUE)

#spots per concentration
getSpots(Blank2022res, singleSpec = FALSE)

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