R/load_data.R

Defines functions loadMACSxls

#' @export

#returns MACS xls object
loadMACSxls = function(filename){
  df = read.table(filename, sep = "\t", header = T,
    comment.char = "#", stringsAsFactors = F, quote="")
  colnames(df) = as.character(df[1,])
  df = df[-1,]
  return(df)
}
MaayanLab/ChIPhandlr documentation built on Jan. 29, 2019, 5:24 p.m.