diff GO-enrich.R @ 20:a91d407e1938 draft

planemo upload commit d636fd65b39353cbb29228d309235f3a6db37568-dirty
author proteore
date Wed, 03 Oct 2018 04:08:59 -0400
parents 1d6095094e5f
children 6dafa28110f5
line wrap: on
line diff
--- a/GO-enrich.R	Fri Sep 28 05:02:31 2018 -0400
+++ b/GO-enrich.R	Wed Oct 03 04:08:59 2018 -0400
@@ -260,13 +260,13 @@
   for (onto in ontology) {
     if (args$go_represent == "true") {
       ggo<-repartition.GO(gene, orgdb, onto, level, readable=TRUE)
-      output_path = paste("cluster_profiler_GGO_",onto,".csv",sep="")
+      output_path = paste("cluster_profiler_GGO_",onto,".tsv",sep="")
       write.table(ggo, output_path, sep="\t", row.names = FALSE, quote=FALSE)
     }
 
     if (args$go_enrich == "true") {
       ego<-enrich.GO(gene, universe_gene, orgdb, onto, pval_cutoff, qval_cutoff,plot)
-      output_path = paste("cluster_profiler_EGO_",onto,".csv",sep="")
+      output_path = paste("cluster_profiler_EGO_",onto,".tsv",sep="")
       write.table(ego, output_path, sep="\t", row.names = FALSE, quote=FALSE)
     }
   }