getSpots {MALDIcellassay} | R 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)
[Package MALDIcellassay version 0.4.47 Index]