Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
philouail committed Mar 14, 2024
1 parent 4c4caa7 commit 3b1bea1
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 86 deletions.
2 changes: 2 additions & 0 deletions R/DataClasses.R
Original file line number Diff line number Diff line change
Expand Up @@ -1467,6 +1467,8 @@ setClass("PeakGroupsParam",
else TRUE
})

#' @slot rtMap,nChrompeaks slots that should not be accessed by the user.
#' @rdname adjustRtime
setClass("LamaParama",
slots = c(lamas = "matrix",
method = "character",
Expand Down
4 changes: 2 additions & 2 deletions R/do_adjustRtime-functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ adjustRtimeSubset <- function(rtraw, rtadj, subset,
#'
#' @author Philippine Louail, Carl Brunius
#'
#' @rdname matchLamaChromPeaks
#' @rdname adjustRtime
matchLamasChromPeaks <- function(object, param, BPPARAM = bpparam()){
if (!hasChromPeaks(object))
stop("'object' needs to have detected ChromPeaks. ",
Expand Down Expand Up @@ -796,7 +796,7 @@ matchLamasChromPeaks <- function(object, param, BPPARAM = bpparam()){
#'
#' @author Philippine Louail, Carl Brunius
#'
#' @rdname matchLamaChromPeaks
#' @rdname adjustRtime
summarizeLamaMatch <- function(param){
if (!inherits(param, "LamaParama"))
stop("The input needs to be of class 'LamaParama'")
Expand Down
2 changes: 1 addition & 1 deletion R/functions-Params.R
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ LamaParama <- function(lamas = matrix(ncol = 2, nrow = 0,
#' Function to access rtMap from `LamaParama` object
#' @export
#'
#' @rdname matchLamaChromPeaks
#' @rdname adjustRtime
rtMap <- function(param){
if(!inherits(param, "LamaParama"))
stop("The inputs need to be of class LamaParama")
Expand Down
2 changes: 1 addition & 1 deletion R/methods-Params.R
Original file line number Diff line number Diff line change
Expand Up @@ -1266,7 +1266,7 @@ setReplaceMethod("subsetAdjust", "PeakGroupsParam", function(object, value) {
#'
#' @export
#'
#' @rdname matchLamaChromPeaks
#' @noRd
setMethod("plot", "LamaParama", function(x, index = 1L, colPoints = "#00000060",
colFit = "#00000080",
xlab = "Matched Chromatographic peaks",
Expand Down
60 changes: 53 additions & 7 deletions man/adjustRtime.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

75 changes: 0 additions & 75 deletions man/matchLamaChromPeaks.Rd

This file was deleted.

0 comments on commit 3b1bea1

Please sign in to comment.