We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25df9bf commit 11e8011Copy full SHA for 11e8011
NEWS.md
@@ -5,6 +5,7 @@
5
* Automated update
6
* Added an option to remove ties (#134)
7
* Added some details for SIRIUS, add manual workspace addition (#132)
8
+* Additional preprocessing (reduction) of noisy spectra
9
* Docker updates (#131)
10
* Handle cases when same (feature_id, mslevel) pairs are present within an MGF (#133)
11
* Improved documentation
R/cleanup_spectra.R
@@ -10,6 +10,8 @@
#'
#' @examples NULL
12
cleanup_spectra <- function(spectra) {
13
+ spectra <- spectra |>
14
+ Spectra::reduceSpectra()
15
if ("MSLEVEL" %in% colnames(spectra@backend@spectraData)) {
16
spectra <- spectra[spectra$MSLEVEL == 2]
17
}
0 commit comments