diff --git a/DESCRIPTION b/DESCRIPTION index e4572e6..54ef0f0 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: MetaboAnnotation Title: Utilities for Annotation of Metabolomics Data -Version: 1.7.3 +Version: 1.7.4 Description: High level functions to assist in annotation of (metabolomics) data sets. These include functions to perform simple tentative annotations based on @@ -70,7 +70,7 @@ BugReports: https://github.com/RforMassSpectrometry/MetaboAnnotation/issues URL: https://github.com/RforMassSpectrometry/MetaboAnnotation biocViews: Infrastructure, Metabolomics, MassSpectrometry Roxygen: list(markdown=TRUE) -RoxygenNote: 7.2.3 +RoxygenNote: 7.3.1 Collate: 'AllClassUnions.R' 'AllGenerics.R' diff --git a/NAMESPACE b/NAMESPACE index 2544a9a..dd16d16 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -94,6 +94,7 @@ importFrom(methods,slotNames) importFrom(methods,validObject) importMethodsFrom(AnnotationHub,query) importMethodsFrom(BiocGenerics,colnames) +importMethodsFrom(ProtGenerics,setBackend) importMethodsFrom(ProtGenerics,spectraVariables) importMethodsFrom(S4Vectors,"$") importMethodsFrom(S4Vectors,cbind) @@ -110,7 +111,6 @@ importMethodsFrom(Spectra,peaksVariables) importMethodsFrom(Spectra,plotSpectraMirror) importMethodsFrom(Spectra,precursorMz) importMethodsFrom(Spectra,rtime) -importMethodsFrom(Spectra,setBackend) importMethodsFrom(Spectra,spectraData) importMethodsFrom(Spectra,spectraNames) importMethodsFrom(SummarizedExperiment,rowData) diff --git a/NEWS.md b/NEWS.md index 6cfa62e..f102ca4 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,9 @@ # MetaboAnnotation 1.7 +## Changes in 1.7.4 + +- Import `setBackend()` generic from `ProtGenerics`. + ## Changes in 1.7.3 - Add `SingleMatchParam` for `filterMatches` to allow selection of (at most) a diff --git a/R/MatchedSpectra.R b/R/MatchedSpectra.R index af78673..cd374cf 100644 --- a/R/MatchedSpectra.R +++ b/R/MatchedSpectra.R @@ -421,7 +421,7 @@ setMethod("plotSpectraMirror", "MatchedSpectra", function(x, xlab = "m/z", xlab = xlab, ylab = ylab, main = main, ...) }) -#' @importMethodsFrom Spectra setBackend +#' @importMethodsFrom ProtGenerics setBackend #' #' @rdname MatchedSpectra #'