Skip to content

Commit 63ef227

Browse files
authored
Update cleanup_spectra.R
1 parent 11e8011 commit 63ef227

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

R/cleanup_spectra.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
#' @examples NULL
1212
cleanup_spectra <- function(spectra) {
1313
spectra <- spectra |>
14-
Spectra::reduceSpectra()
14+
Spectra::reduceSpectra() |>
15+
Spectra::applyProcessing()
1516
if ("MSLEVEL" %in% colnames(spectra@backend@spectraData)) {
1617
spectra <- spectra[spectra$MSLEVEL == 2]
1718
}

0 commit comments

Comments
 (0)