getSpots | R Documentation |
Get the spot coordinates of spectra
getSpots(object, singleSpec = TRUE)
object |
Object of class MALDIassay |
singleSpec |
Logical, extract the spot coordinates of single spectra (default) or from average spectra. |
character vector of spot coordinates. In case of average spectra multiple spots are concatenated.
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.