View source: R/sdMassSpectrum.R
sdMassSpectrum | R Documentation |
This is a fork from sgibb's MALDIquant::averageMassSpectra() function. It is now able to compute "standard-deviation spectra".
sdMassSpectrum(l, labels, ...)
l |
list, list of MassSpectrum objects. |
labels |
list, list of factors (one for each MassSpectrum object) to do groupwise averaging. |
... |
arguments to be passed to underlying functions (currently only mc.cores is supported). |
Returns a single (no labels given) or a list (labels given) of standard-deviation spectra as MassSpectrum objects.
data(Blank2022spec)
sdMassSpectrum(Blank2022spec, labels = names(Blank2022spec))[[1]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.