# HG changeset patch
# User bebatut
# Date 1463588779 14400
# Node ID 7e3103db022d4da0ab8eb556b326ab32cfc68e96
# Parent a8e03ffaaedcb620e82a139cf9720f014305fe30
planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_barplot commit 5653f2982dc5aeccd7701970fdfea444e3e53e3c-dirty
diff -r a8e03ffaaedc -r 7e3103db022d plot_barplot.R
--- a/plot_barplot.R Mon Apr 18 10:35:54 2016 -0400
+++ b/plot_barplot.R Wed May 18 12:26:19 2016 -0400
@@ -8,6 +8,7 @@
'data_column', 'd', 2, 'integer',
'names_column', 'n', 2, 'integer',
'xlab', 'x', 2, 'character',
+ 'log', 'g', 2, 'logical',
'col', 'c', 2, 'character',
'bottom_margin', 'b', 2, 'integer',
'left_margin', 'l', 2, 'integer',
@@ -40,12 +41,15 @@
col = "grey"
if(!is.null(options$col)) col = options$col
+log = ""
+if(!is.null(options$log) && options$log) log = "x"
+
plot_barplot <- function(){
par(las=2)
par(mar=margin)
barplot(data[, data_column], horiz = T, xlab = xlab,
names.arg = data[, names_column], col = col, cex.names=0.7,
- cex.axis = 0.8)
+ cex.axis = 0.8, log = log)
}
if(!is.null(options$output_pdf_file)){
diff -r a8e03ffaaedc -r 7e3103db022d plot_barplot.xml
--- a/plot_barplot.xml Mon Apr 18 10:35:54 2016 -0400
+++ b/plot_barplot.xml Wed May 18 12:26:19 2016 -0400
@@ -28,6 +28,7 @@
--data_column $column_with_data
--names_column $names_column
--xlab "$xlab"
+ --log $log
--col $col
--bottom_margin $bottom_margin
--left_margin $left_margin
@@ -51,6 +52,8 @@
+
+
@@ -83,6 +86,7 @@
+
@@ -96,6 +100,7 @@
+
diff -r a8e03ffaaedc -r 7e3103db022d tool_dependencies.xml
--- a/tool_dependencies.xml Mon Apr 18 10:35:54 2016 -0400
+++ b/tool_dependencies.xml Wed May 18 12:26:19 2016 -0400
@@ -1,7 +1,7 @@
-
+