# HG changeset patch # User bebatut # Date 1463588752 14400 # Node ID 2a9b681110743fae733c6fd887cd4035da5bc6d2 # Parent fe4ee3b643f0d95eadadcdaa95b363f3d7946409 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_barplot commit 5653f2982dc5aeccd7701970fdfea444e3e53e3c-dirty diff -r fe4ee3b643f0 -r 2a9b68111074 plot_barplot.R --- a/plot_barplot.R Mon Apr 18 10:34:56 2016 -0400 +++ b/plot_barplot.R Wed May 18 12:25:52 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 fe4ee3b643f0 -r 2a9b68111074 plot_barplot.xml --- a/plot_barplot.xml Mon Apr 18 10:34:56 2016 -0400 +++ b/plot_barplot.xml Wed May 18 12:25:52 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 fe4ee3b643f0 -r 2a9b68111074 tool_dependencies.xml --- a/tool_dependencies.xml Mon Apr 18 10:34:56 2016 -0400 +++ b/tool_dependencies.xml Wed May 18 12:25:52 2016 -0400 @@ -1,7 +1,7 @@ - +