annotate plot_grouped_barplot.R @ 0:6c9aac0d6ca2 draft default tip

planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
author bebatut
date Mon, 18 Apr 2016 10:08:25 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
1 library('getopt')
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
2
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
3 option_specification = matrix(c(
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
4 'input_file', 'i', 2, 'character',
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
5 'output_pdf_file', 'p', 2, 'character',
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
6 'output_png_file', 'o', 2, 'character',
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
7 'output_svg_file', 's', 2, 'character',
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
8 'data_columns', 'd', 2, 'list',
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
9 'names', 'a', 2, 'character',
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
10 'names_column', 'n', 2, 'integer',
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
11 'xlab', 'x', 2, 'character',
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
12 'log', 'g', 2, 'logical',
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
13 'col', 'c', 2, 'list',
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
14 'bottom_margin', 'b', 2, 'integer',
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
15 'left_margin', 'l', 2, 'integer',
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
16 'top_margin', 't', 2, 'integer',
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
17 'right_margin', 'r', 2, 'integer',
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
18 'legend_pos','e',2,'character',
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
19 'replace_null','u',2,'logical',
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
20 'order','w',2,'logical',
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
21 'header','y',2,'logical'
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
22 ), byrow=TRUE, ncol=4);
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
23
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
24 options = getopt(option_specification);
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
25
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
26 header = TRUE
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
27 if(!is.null(options$header)) header = options$header
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
28
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
29 data = read.table(options$input_file, sep = '\t', h = header)
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
30 if(!is.null(options$replace_null) && options$replace_null){
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
31 data[data == 0] = NA
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
32 }
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
33 if(!is.null(options$order) && options$order){
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
34 order = order(data[,2])
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
35 data = data[order,]
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
36 }
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
37
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
38
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
39 data_columns = c(2,3)
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
40 if(!is.null(options$data_columns)){
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
41 data_columns = unlist(strsplit(options$data_columns, split=","))
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
42 data_columns = sapply(data_columns,as.integer)
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
43 }
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
44 names_column = 1
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
45 if(!is.null(options$names_column)) names_column = options$names_column
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
46
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
47 margin = c(5,19,1,1)
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
48 if(!is.null(options$bottom_margin)) margin[1] = options$bottom_margin
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
49 if(!is.null(options$left_margin)) margin[2] = options$left_margin
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
50 if(!is.null(options$top_margin)) margin[3] = options$top_margin
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
51 if(!is.null(options$right_margin)) margin[4] = options$right_margin
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
52
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
53 xlab = ""
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
54 if(!is.null(options$xlab)) xlab = options$xlab
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
55
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
56 col = c('blue','red')
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
57 if(!is.null(options$col)) col = unlist(strsplit(options$col, split=","))
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
58
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
59 log = ""
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
60 if(!is.null(options$log) && options$log) log = "x"
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
61
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
62 legend_pos="topright"
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
63 if(!is.null(options$legend_pos)) legend_pos = options$legend_pos
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
64
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
65 names = c('Sample1','Sample2')
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
66
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
67 if(!is.null(options$names)) names = unlist(strsplit(options$names, split=","))
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
68 plot_barplot <- function(){
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
69 par(las=2)
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
70 par(mar=margin)
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
71 barplot(t(data[, data_columns]), horiz = T, xlab = xlab, beside=TRUE,
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
72 names.arg = data[, names_column], col = col, cex.names=0.7,
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
73 cex.axis = 0.8, log = log)
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
74 legend(legend_pos, legend = names, fill = col, cex = 0.7)
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
75 }
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
76
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
77 if(!is.null(options$output_pdf_file)){
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
78 pdf(options$output_pdf_file)
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
79 plot_barplot()
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
80 dev.off()
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
81 }
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
82
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
83 if(!is.null(options$output_svg_file)){
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
84 svg(options$output_svg_file)
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
85 plot_barplot()
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
86 dev.off()
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
87 }