Skip to content

Commit

Permalink
deps: import msLevel<-
Browse files Browse the repository at this point in the history
  • Loading branch information
jorainer committed Sep 25, 2024
1 parent 6cd260f commit e80b18b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ importMethodsFrom(ProtGenerics,"intensity<-")
importMethodsFrom(ProtGenerics,"isolationWindowLowerMz<-")
importMethodsFrom(ProtGenerics,"isolationWindowTargetMz<-")
importMethodsFrom(ProtGenerics,"isolationWindowUpperMz<-")
importMethodsFrom(ProtGenerics,"msLevel<-")
importMethodsFrom(ProtGenerics,"mz<-")
importMethodsFrom(ProtGenerics,"peaksData<-")
importMethodsFrom(ProtGenerics,"polarity<-")
Expand Down
2 changes: 2 additions & 0 deletions R/MsBackendDataFrame.R
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,8 @@ setMethod("msLevel", "MsBackendDataFrame", function(object, ...) {
})

#' @rdname hidden_aliases
#'
#' @importMethodsFrom ProtGenerics msLevel<-
setReplaceMethod("msLevel", "MsBackendDataFrame", function(object, value) {
if (!is.integer(value) && is.numeric(value))
value <- as.integer(value)
Expand Down

0 comments on commit e80b18b

Please sign in to comment.