powered by
This is a fork from sgibb's MALDIquant::averageMassSpectra() function. It is now able to compute "standard-deviation spectra".
sdMassSpectrum(l, labels, ...)
Returns a single (no labels given) or a list (labels given) of standard-deviation spectra as MassSpectrum objects.
list, list of MassSpectrum objects.
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).
data(Blank2022spec) sdMassSpectrum(Blank2022spec, labels = names(Blank2022spec))[[1]]
Run the code above in your browser using DataLab