annotate rcx_boxplot.xml @ 0:92325ed91115 draft default tip

planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
author recetox
date Mon, 03 Feb 2025 16:18:52 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
1 <tool id="rcx_boxplot" name="recetox-boxplot" version="@TOOL_VERSION@+galaxy0" profile="23.0">
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
2 <description>Boxplot visualization tool using ggplot2</description>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
3 <macros>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
4 <import>macros.xml</import>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
5 <import>help.xml</import>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
6 </macros>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
7
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
8 <expand macro="creator" />
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
9 <expand macro="requirements" />
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
10
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
11 <command detect_errors="exit_code"><![CDATA[
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
12 Rscript '${run_script}'
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
13 #if $export_R_script
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
14 && cat ${run_script} >> $script
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
15 #end if
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
16 ]]></command>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
17
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
18 <configfiles>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
19 <configfile name="run_script"><![CDATA[
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
20
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
21 #if $input_data.ext == "csv"
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
22 data_input <- read.csv("$input_data", check.names = "false")
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
23 #else if $input_data.ext in ["tsv", "txt", "tabular"]
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
24 data_input <- read.delim("$input_data", sep="\t", check.names = "false")
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
25 #else if $input_data.ext == "parquet"
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
26 data_input <- arrow::read_parquet("$input_data")
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
27 #end if
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
28
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
29 #if $has_rownames
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
30 rownames(data_input) <- data_input[, 1]
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
31 data_input <- data_input[ ,-1]
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
32 #end if
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
33
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
34 y_colname <- "intensity"
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
35 data_long <- tidyr::pivot_longer(data_input,
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
36 cols = c(1:ncol(data_input)),
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
37 names_to = "samples",
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
38 values_to = y_colname)
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
39
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
40 #if $transform_data == "replace_zero"
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
41 data_long[data_long == 0] <- NA
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
42 #else if $transform_data == "log2"
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
43 data_long[[y_colname]] <- log2(data_long[[y_colname]])
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
44 #else if $transform_data == "log10"
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
45 data_long[[y_colname]] <- log10(data_long[[y_colname]])
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
46 #end if
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
47
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
48 #if $grouping_boxplot.use_grouping == "yes"
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
49 metadata_input <- read.delim("$grouping_boxplot.input_metadata", sep="\t", check.names = "false")
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
50 sampleID_column <- colnames(metadata_input)[$grouping_boxplot.sampleID]
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
51 plotting_column <- colnames(metadata_input)[$grouping_boxplot.groupingCol]
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
52 metadata_input <- data.frame(lapply(metadata_input, as.factor))
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
53
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
54 data_long <- dplyr::left_join(data_long, metadata_input, by = c("samples" = sampleID_column), keep = TRUE)
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
55
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
56 #if $grouping_boxplot.facet_x
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
57 facet_x <- rlang::sym(colnames(metadata_input)[$grouping_boxplot.facet_x])
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
58 #else
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
59 facet_x <- NULL
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
60 #end if
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
61
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
62 #if $grouping_boxplot.facet_y
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
63 facet_y <- rlang::sym(colnames(metadata_input)[$grouping_boxplot.facet_y])
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
64 #else
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
65 facet_y <- NULL
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
66 #end if
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
67
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
68 plot_boxplot <- ggplot2::ggplot(data_long, ggplot2::aes(
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
69 x = !!rlang::sym(plotting_column),
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
70 y = intensity,
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
71 #if $grouping_boxplot.colorCol
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
72 fill = !!rlang::sym(colnames(metadata_input)[$grouping_boxplot.colorCol])
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
73 #end if
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
74 )) +
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
75 ggplot2::geom_boxplot() +
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
76 ggplot2::theme_bw()+
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
77 ggplot2::theme(axis.text.x = ggplot2::element_text(angle = 45, hjust=1)) +
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
78 ggplot2::facet_grid(rows = if(!is.null(facet_y)) dplyr::vars(!!facet_y) else NULL,
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
79 cols = if(!is.null(facet_x)) dplyr::vars(!!facet_x) else NULL,
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
80 scales = "free")
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
81
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
82
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
83 #else
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
84
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
85 plot_boxplot <- ggplot2::ggplot(data_long, ggplot2::aes(x = samples, y = intensity)) +
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
86 ggplot2::geom_boxplot() +
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
87 ggplot2::theme_bw()+
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
88 ggplot2::theme(axis.text.x = ggplot2::element_text(angle = 45, hjust=1))
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
89
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
90 #end if
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
91
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
92 #if $xlab
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
93 plot_boxplot <- plot_boxplot + ggplot2::xlab("$xlab")
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
94 #end if
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
95
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
96 #if $ylab
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
97 plot_boxplot <- plot_boxplot + ggplot2::ylab("$ylab")
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
98 #end if
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
99
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
100 #if $flip_axes == "true"
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
101 plot_boxplot <- plot_boxplot + ggplot2::coord_flip()
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
102 #end if
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
103
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
104 ggplot2::ggsave(filename = "boxplot.png", plot_boxplot)
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
105
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
106 ]]></configfile>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
107 </configfiles>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
108
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
109 <inputs>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
110 <expand macro="boxplot_param"/>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
111 </inputs>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
112
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
113 <outputs>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
114 <data name="boxplot" format="png" label="Boxplot on ${on_string}" from_work_dir="boxplot.png"/>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
115 <data name="script" format="txt" label="R script">
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
116 <filter>export_R_script</filter>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
117 </data>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
118 </outputs>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
119
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
120 <tests>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
121 <test expect_num_outputs="1">
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
122 <param name="input_data" value="test_data.txt"/>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
123 <param name="has_rownames" value="true"/>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
124 <output name="boxplot" ftype="png">
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
125 <assert_contents>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
126 <has_size size="1164615" delta="200"/>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
127 </assert_contents>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
128 </output>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
129 </test>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
130 <test expect_num_outputs="2">
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
131 <param name="input_data" value="test_data.txt"/>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
132 <param name="has_rownames" value="true"/>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
133 <param name="use_grouping" value="yes"/>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
134 <param name="input_metadata" value="test_expDesign.txt"/>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
135 <param name="sampleID" value="1"/>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
136 <param name="groupingCol" value="1"/>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
137 <param name="export_R_script" value="TRUE"/>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
138 <output name="boxplot" ftype="png">
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
139 <assert_contents>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
140 <has_size size="1164615" delta="200"/>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
141 </assert_contents>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
142 </output>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
143 </test>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
144 </tests>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
145
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
146 <help><![CDATA[
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
147 @GENERAL_HELP@
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
148 ]]></help>
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
149
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
150 <expand macro="citations" />
92325ed91115 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools commit 68159a987b0597222625834e235441b95e8c3a5e
recetox
parents:
diff changeset
151 </tool>