R/load_data_fct.R

Defines functions load_data

Documented in load_data

#' load datafile
#' 
#' Load a dataframe from an excel sheet and call EndoPaste on it
#' 
#' @param filepath filepath
#' @return dataframe
load_data <- function(filepath){
  
  data_file <- readxl::read_excel(filepath)
  return(data.frame(EndoMineR::EndoPaste(data_file)[1], stringsAsFactors = FALSE))
  
}
CDU-data-science-team/shinyEndomineR documentation built on Nov. 24, 2022, 4:23 a.m.