Skip to content

Commit

Permalink
fix: import setBackend generic from ProtGenerics
Browse files Browse the repository at this point in the history
  • Loading branch information
jorainer committed Mar 7, 2024
1 parent a6a0f88 commit 0fdfc4d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion R/MatchedSpectra.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
#'
Expand Down

0 comments on commit 0fdfc4d

Please sign in to comment.