R/get_dataset_name.R

Defines functions get_dataset_name

#' @family directory functions
#' @keywords internal
#' @importFrom utils tail
get_dataset_name <- function(file_path){
  dataset_name <- utils::tail(strsplit(dirname(file_path), "/")[[1]],n = 1)
  return(dataset_name)
}
RajLabMSSM/echolocatoR documentation built on Jan. 29, 2023, 6:04 a.m.