diff topGO_enrichment.R @ 18:36c97ab06d40 draft

planemo upload commit c7db932b9ebeb5f9dc8ddac5fd87417ca30e8a80
author proteore
date Mon, 17 Dec 2018 11:05:04 -0500
parents e7ff74898133
children 0014bd289aff
line wrap: on
line diff
--- a/topGO_enrichment.R	Tue Nov 06 09:02:00 2018 -0500
+++ b/topGO_enrichment.R	Mon Dec 17 11:05:04 2018 -0500
@@ -24,8 +24,7 @@
       --correction
       --threshold
       --text
-      --barplot
-      --dotplot
+      --plot
       --column
       --geneuniverse
       --header
@@ -296,8 +295,8 @@
 correction = args$correction
 threshold = as.numeric(args$threshold)
 text = str2bool(args$textoutput)
-barplot = str2bool(args$barplotoutput)
-dotplot = str2bool(args$dotplotoutput)
+barplot = "barplot" %in% unlist(strsplit(args$plot,","))
+dotplot = "dotplot" %in% unlist(strsplit(args$plot,","))
 column = as.numeric(gsub("c","",args$column))
 geneuniverse = args$geneuniverse
 header = str2bool(args$header)