R/readFile.R

Defines functions readFile

Documented in readFile

#' @title Read File
#' @author André Vidas Olsen
#' @description Auxiliary function that reads a data set by using the
#' destination stored in the dataPath parameter.
#' @param dataPath a path referring to input data
#' @import utils
#' @return data set
readFile <- function(dataPath){

  data <- read.table(file=paste0(dataPath), sep=",",header = TRUE, as.is = TRUE,
                     fill = TRUE, row.names = NULL)
  return(data)
}
ELELAB/lipidQ documentation built on Feb. 24, 2020, 12:54 a.m.