# HG changeset patch # User bebatut # Date 1460444976 14400 # Node ID f8cec112f5f9a293ad7ca8c74ba45a8b5edda243 # Parent 7c1274bf54c69ef5e276d23a4b9f4c6784e7446e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_barplot commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty diff -r 7c1274bf54c6 -r f8cec112f5f9 plot_barplot.R --- a/plot_barplot.R Wed Mar 02 05:40:17 2016 -0500 +++ b/plot_barplot.R Tue Apr 12 03:09:36 2016 -0400 @@ -12,12 +12,16 @@ 'bottom_margin', 'b', 2, 'integer', 'left_margin', 'l', 2, 'integer', 'top_margin', 't', 2, 'integer', - 'right_margin', 'r', 2, 'integer' + 'right_margin', 'r', 2, 'integer', + 'header','y',2,'logical' ), byrow=TRUE, ncol=4); options = getopt(option_specification); -data = read.table(options$input_file, sep = '\t', h = T) +header = TRUE +if(!is.null(options$header)) header = options$header + +data = read.table(options$input_file, sep = '\t', h = header) data_column = 2 if(!is.null(options$data_column)) data_column = options$data_column diff -r 7c1274bf54c6 -r f8cec112f5f9 plot_barplot.xml --- a/plot_barplot.xml Wed Mar 02 05:40:17 2016 -0500 +++ b/plot_barplot.xml Tue Apr 12 03:09:36 2016 -0400 @@ -16,6 +16,7 @@ + +