Skip to content

Commit

Permalink
- add getDirectory function
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-enzlein committed Aug 29, 2024
1 parent 0c6ad0b commit 0faa179
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions functions/helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,14 @@ checkMetaData <- function(object) {

return(TRUE)
}

#' Extract directory path
#'
#' @param object Object of class MALDIassay
#'
#' @return
#' List, containing the data used to do the fits as well as the nlpr curve fit .
getDirectory <- function(object) {
MALDIcellassay:::stopIfNotIsMALDIassay(object)
return(object@settings$dir)
}

0 comments on commit 0faa179

Please sign in to comment.