Learn R Programming

MALDIcellassay (version 0.4.47)

getSpots: Get the spot coordinates of spectra

Description

Get the spot coordinates of spectra

Usage

getSpots(object, singleSpec = TRUE)

Value

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

Arguments

object

Object of class MALDIassay

singleSpec

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

Examples

Run this code
# 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)

Run the code above in your browser using DataLab