changeset 25:3a66e1e65c02 draft

planemo upload commit 2fae8e3b0ec5edeecfcc7efd78e7710b36798d44
author proteore
date Tue, 06 Nov 2018 08:56:05 -0500
parents 267ee3760721
children c8bff18c102b
files GO-enrich.R
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/GO-enrich.R	Tue Nov 06 03:56:00 2018 -0500
+++ b/GO-enrich.R	Tue Nov 06 08:56:05 2018 -0500
@@ -3,7 +3,7 @@
 
 # Read file and return file content as data.frame
 read_file <- function(path,header){
-  file <- try(read.table(path,header=header, sep="\t",stringsAsFactors = FALSE, quote=""),silent=TRUE)
+  file <- try(read.csv(path,header=header, sep="\t",stringsAsFactors = FALSE, quote="",check.names = F),silent=TRUE)
   if (inherits(file,"try-error")){
     stop("File not found !")
   }else{