annotate ggplot_point.xml @ 15:f87634b12749 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 57b86418a4f032a5664b8dc1c9585a11be629158
author iuc
date Thu, 15 May 2025 13:02:15 +0000
parents 5298e06f14f9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
f87634b12749 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 57b86418a4f032a5664b8dc1c9585a11be629158
iuc
parents: 14
diff changeset
1 <tool id="ggplot2_point" name="Scatterplot with ggplot2" version="@TOOL_VERSION@+galaxy2" profile="23.0">
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
2 <macros>
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
3 <import>macros.xml</import>
11
d0fc8b746d57 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 075aa3ab0ebc5eef83aac753a2cac7dffe2c6b0c
iuc
parents: 10
diff changeset
4 <token name="@SIMPLE_GGLINE@">gg_line = geom_line(size=1, alpha=1, gg_factor)</token>
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
5 </macros>
14
5298e06f14f9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6737c924917eea8c009c30d7f9917d5a341b9948
iuc
parents: 13
diff changeset
6 <expand macro="bio_tools"/>
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
7 <expand macro="requirements">
12
5fe1dc76176e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 843a94f53c808d098def353b0bc5f7f554d9e1af
iuc
parents: 11
diff changeset
8 <requirement type="package" version="2.1.0">r-svglite</requirement>
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
9 </expand>
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
10 <command detect_errors="exit_code"><![CDATA[
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
11 cat '$script' &&
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
12 Rscript '$script'
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
13 ]]></command>
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
14 <configfiles>
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
15 <configfile name="script"><![CDATA[
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
16 @R_INIT@
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
17
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
18 ## Import library
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
19 library(ggplot2)
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
20
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
21 @XY_SCALING@
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
22
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
23 @THEME@
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
24
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
25 @LEGEND@
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
26
15
f87634b12749 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 57b86418a4f032a5664b8dc1c9585a11be629158
iuc
parents: 14
diff changeset
27 input <- read.csv('$input1', sep='\t')
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
28
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
29 ## renaming columns so ggplot can use them
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
30 names(input)[$xplot] <- "xcol"
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
31 names(input)[$yplot] <- "ycol"
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
32
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
33 ## choosing whether to plot data as multiple groups on one plot(factoring) OR multiple groups on different plots
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
34 #if $adv.factor.factoring == "Multiple"
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
35 gg_facet = facet_wrap( ~ factor)
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
36 gg_factor = NULL
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
37 color_scale = NULL
11
d0fc8b746d57 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 075aa3ab0ebc5eef83aac753a2cac7dffe2c6b0c
iuc
parents: 10
diff changeset
38 #if $adv.type_conditional.type_options == "lines":
d0fc8b746d57 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 075aa3ab0ebc5eef83aac753a2cac7dffe2c6b0c
iuc
parents: 10
diff changeset
39 @SIMPLE_GGLINE@
d0fc8b746d57 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 075aa3ab0ebc5eef83aac753a2cac7dffe2c6b0c
iuc
parents: 10
diff changeset
40 #elif $adv.type_conditional.points.pointoptions == "default"
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
41 gg_point = geom_point(size=1, alpha=1, gg_factor)
11
d0fc8b746d57 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 075aa3ab0ebc5eef83aac753a2cac7dffe2c6b0c
iuc
parents: 10
diff changeset
42 @SIMPLE_GGLINE@
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
43 #else
10
299307abd804 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 847c77a54204433d210cd8a1234474d014628424
iuc
parents: 9
diff changeset
44 gg_point = geom_point(size=$adv.type_conditional.points.size, alpha=$adv.type_conditional.points.alpha, colour='$adv.type_conditional.points.pointcolor', shape=as.numeric('$adv.type_conditional.points.shape'))
299307abd804 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 847c77a54204433d210cd8a1234474d014628424
iuc
parents: 9
diff changeset
45 gg_line = geom_line(size=$adv.type_conditional.points.size, alpha=$adv.type_conditional.points.alpha, colour='$adv.type_conditional.points.pointcolor', shape=as.numeric('$adv.type_conditional.points.shape'))
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
46 #end if
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
47
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
48 names(input)[$adv.factor.factorcol] <- "factor"
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
49
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
50 #elif $adv.factor.factoring == "Single"
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
51 gg_facet = NULL
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
52 gg_factor = aes(colour=factor(factor))
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
53
11
d0fc8b746d57 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 075aa3ab0ebc5eef83aac753a2cac7dffe2c6b0c
iuc
parents: 10
diff changeset
54 #if $adv.type_conditional.type_options == "lines":
d0fc8b746d57 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 075aa3ab0ebc5eef83aac753a2cac7dffe2c6b0c
iuc
parents: 10
diff changeset
55 @SIMPLE_GGLINE@
d0fc8b746d57 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 075aa3ab0ebc5eef83aac753a2cac7dffe2c6b0c
iuc
parents: 10
diff changeset
56 #elif $adv.type_conditional.points.pointoptions == "default"
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
57 gg_point = geom_point(size=1, alpha=1, gg_factor)
11
d0fc8b746d57 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 075aa3ab0ebc5eef83aac753a2cac7dffe2c6b0c
iuc
parents: 10
diff changeset
58 @SIMPLE_GGLINE@
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
59 #else
13
3b12bf9b4b87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit d7460b880c9b329465b1616d1e6ab33d45f3893c
iuc
parents: 12
diff changeset
60 gg_point = geom_point(size=$adv.type_conditional.points.size, alpha=$adv.type_conditional.points.alpha, gg_factor, shape=as.numeric('$adv.type_conditional.points.shape'))
3b12bf9b4b87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit d7460b880c9b329465b1616d1e6ab33d45f3893c
iuc
parents: 12
diff changeset
61 gg_line = geom_line(size=$adv.type_conditional.points.size, alpha=$adv.type_conditional.points.alpha, gg_factor, shape=as.numeric('$adv.type_conditional.points.shape'))
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
62 #end if
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
63
4
52b8083a6159 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit d1da3cf72a15d88fc265edc5d64e6b820b6a2b2f
iuc
parents: 2
diff changeset
64 #if $adv.factor.colororder == 1
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
65 color_scale = scale_colour_hue(direction='$adv.factor.colororder')
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
66 #else
4
52b8083a6159 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit d1da3cf72a15d88fc265edc5d64e6b820b6a2b2f
iuc
parents: 2
diff changeset
67 color_scale = scale_color_brewer(palette='$adv.factor.colors', direction='$adv.factor.colororder')
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
68 #end if
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
69
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
70 names(input)[$adv.factor.factorcol] <- "factor"
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
71 #else
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
72 gg_facet = NULL
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
73 gg_factor = NULL
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
74 color_scale = NULL
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
75
11
d0fc8b746d57 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 075aa3ab0ebc5eef83aac753a2cac7dffe2c6b0c
iuc
parents: 10
diff changeset
76 #if $adv.type_conditional.type_options == "lines":
d0fc8b746d57 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 075aa3ab0ebc5eef83aac753a2cac7dffe2c6b0c
iuc
parents: 10
diff changeset
77 @SIMPLE_GGLINE@
d0fc8b746d57 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 075aa3ab0ebc5eef83aac753a2cac7dffe2c6b0c
iuc
parents: 10
diff changeset
78 #elif $adv.type_conditional.points.pointoptions == "default"
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
79 gg_point = geom_point(size=1, alpha=1, gg_factor)
11
d0fc8b746d57 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 075aa3ab0ebc5eef83aac753a2cac7dffe2c6b0c
iuc
parents: 10
diff changeset
80 @SIMPLE_GGLINE@
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
81 #else
10
299307abd804 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 847c77a54204433d210cd8a1234474d014628424
iuc
parents: 9
diff changeset
82 gg_point = geom_point(size=$adv.type_conditional.points.size, alpha=$adv.type_conditional.points.alpha, colour='$adv.type_conditional.points.pointcolor', shape=as.numeric('$adv.type_conditional.points.shape'))
299307abd804 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 847c77a54204433d210cd8a1234474d014628424
iuc
parents: 9
diff changeset
83 gg_line = geom_line(size=$adv.type_conditional.points.size, alpha=$adv.type_conditional.points.alpha, colour='$adv.type_conditional.points.pointcolor', shape=as.numeric('$adv.type_conditional.points.shape'))
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
84 #end if
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
85 #end if
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
86
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
87 @TRANSFORM@
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
88
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
89 ##axis label custization
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
90 #if $adv.axis_title_customization.axis_customization == "default"
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
91 gg_axistitle = theme(axis.title = element_text(color = NULL, size = NULL, face = NULL))
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
92 #else
9
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
93 gg_axistitle = theme(axis.title = element_text(color = '$adv.axis_text_customization.color', size = $adv.axis_text_customization.size, face = '$adv.axis_text_customization.face'))
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
94 #end if
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
95
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
96 ##axis text(tick) custization
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
97 #if $adv.axis_text_customization.axis_customization == "default"
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
98 gg_axistext = theme(axis.text = element_text(color = NULL, size = NULL, face = NULL))
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
99 #else
9
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
100 gg_axistext = theme(axis.text = element_text(color = '$adv.axis_text_customization.color', size = $adv.axis_text_customization.size, face = '$adv.axis_text_customization.face'))
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
101 #end if
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
102
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
103 ##plot title custimization
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
104 #if $adv.plot_title_customization.axis_customization == "default"
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
105 gg_plottitle = theme(plot.title = element_text(color = NULL, size = NULL, face = NULL))
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
106 #else
9
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
107 gg_plottitle = theme(plot.title = element_text(color='$adv.axis_text_customization.color', size=$adv.axis_text_customization.size, face='$adv.axis_text_customization.face'))
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
108 #end if
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
109
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
110 ## grid line customization
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
111 #if $adv.gridlinecust == "default"
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
112 gg_gridline = NULL
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
113 #elif $adv.gridlinecust == "hidemajor"
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
114 gg_gridline = theme(panel.grid.major = element_blank())
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
115 #elif $adv.gridlinecust == "hideminor"
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
116 gg_gridline = theme(panel.grid.minor = element_blank())
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
117 #elif $adv.gridlinecust == "hideboth"
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
118 gg_gridline = theme(panel.grid.minor = element_blank(), panel.grid.major = element_blank())
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
119 #end if
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
120
4
52b8083a6159 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit d1da3cf72a15d88fc265edc5d64e6b820b6a2b2f
iuc
parents: 2
diff changeset
121 ## choose between graph types (points/lines/both)
9
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
122 #if $adv.type_conditional.type_options == "points"
4
52b8083a6159 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit d1da3cf72a15d88fc265edc5d64e6b820b6a2b2f
iuc
parents: 2
diff changeset
123 gg_line = NULL
9
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
124 #elif $adv.type_conditional.type_options == "lines"
4
52b8083a6159 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit d1da3cf72a15d88fc265edc5d64e6b820b6a2b2f
iuc
parents: 2
diff changeset
125 gg_point = NULL
52b8083a6159 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit d1da3cf72a15d88fc265edc5d64e6b820b6a2b2f
iuc
parents: 2
diff changeset
126 #end if
52b8083a6159 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit d1da3cf72a15d88fc265edc5d64e6b820b6a2b2f
iuc
parents: 2
diff changeset
127
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
128 #this is the actual ggplot command to make the final plot(s)
15
f87634b12749 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 57b86418a4f032a5664b8dc1c9585a11be629158
iuc
parents: 14
diff changeset
129 plot_out <- ggplot(input, aes_string(x=names(input)[$xplot], y=names(input)[$yplot])) + gg_point + gg_line + gg_facet +
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
130 gg_theme + gg_scalex + gg_scaley + color_scale + gg_legend + ggtitle('$title') + xlab('$xlab') + ylab('$ylab')+
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
131 gg_axistitle + gg_axistext + gg_plottitle + gg_gridline
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
132
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
133 @SAVE_OUTPUT@
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
134 ]]></configfile>
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
135 </configfiles>
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
136 <inputs>
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
137 <param name="input1" type="data" format="tabular" label="Input in tabular format" />
15
f87634b12749 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 57b86418a4f032a5664b8dc1c9585a11be629158
iuc
parents: 14
diff changeset
138
f87634b12749 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 57b86418a4f032a5664b8dc1c9585a11be629158
iuc
parents: 14
diff changeset
139 <conditional name="cols">
f87634b12749 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 57b86418a4f032a5664b8dc1c9585a11be629158
iuc
parents: 14
diff changeset
140 <param name="header" type="select" label="Does the dataset have a header?" help="If the table has a header, columns can be selected based on the name.">
f87634b12749 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 57b86418a4f032a5664b8dc1c9585a11be629158
iuc
parents: 14
diff changeset
141 <option value="yes" selected="true">yes</option>
f87634b12749 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 57b86418a4f032a5664b8dc1c9585a11be629158
iuc
parents: 14
diff changeset
142 <option value="no">no</option>
f87634b12749 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 57b86418a4f032a5664b8dc1c9585a11be629158
iuc
parents: 14
diff changeset
143 </param>
f87634b12749 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 57b86418a4f032a5664b8dc1c9585a11be629158
iuc
parents: 14
diff changeset
144 <when value="yes">
f87634b12749 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 57b86418a4f032a5664b8dc1c9585a11be629158
iuc
parents: 14
diff changeset
145 <param name="xplot" type="data_column" data_ref="input1" use_header_names="true" label="Column to plot on x-axis" />
f87634b12749 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 57b86418a4f032a5664b8dc1c9585a11be629158
iuc
parents: 14
diff changeset
146 <param name="yplot" type="data_column" data_ref="input1" use_header_names="true" label="Column to plot on y-axis" />
f87634b12749 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 57b86418a4f032a5664b8dc1c9585a11be629158
iuc
parents: 14
diff changeset
147 </when>
f87634b12749 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 57b86418a4f032a5664b8dc1c9585a11be629158
iuc
parents: 14
diff changeset
148 <when value="no">
f87634b12749 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 57b86418a4f032a5664b8dc1c9585a11be629158
iuc
parents: 14
diff changeset
149 <param name="xplot" type="data_column" data_ref="input1" label="Column to plot on x-axis" />
f87634b12749 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 57b86418a4f032a5664b8dc1c9585a11be629158
iuc
parents: 14
diff changeset
150 <param name="yplot" type="data_column" data_ref="input1" label="Column to plot on y-axis" />
f87634b12749 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 57b86418a4f032a5664b8dc1c9585a11be629158
iuc
parents: 14
diff changeset
151 </when>
f87634b12749 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 57b86418a4f032a5664b8dc1c9585a11be629158
iuc
parents: 14
diff changeset
152 </conditional>
f87634b12749 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 57b86418a4f032a5664b8dc1c9585a11be629158
iuc
parents: 14
diff changeset
153
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
154
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
155 <expand macro="title" />
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
156 <expand macro="xy_lab" />
9
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
157 <section name="adv" title="Advanced options">
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
158 <conditional name="type_conditional">
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
159 <param name="type_options" type="select" label="Type of plot" >
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
160 <option value="points">Points only (default)</option>
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
161 <option value="lines">Lines only </option>
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
162 <option value="pointslines">Points and Lines</option>
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
163 </param>
9
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
164 <when value ="points">
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
165 <expand macro="points_options"/>
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
166 </when>
9
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
167 <when value="pointslines">
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
168 <expand macro="points_options"/>
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
169 </when>
9
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
170 <when value="lines"/>
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
171 </conditional>
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
172 <conditional name="factor">
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
173 <param name="factoring" type="select" label="Plotting multiple groups" >
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
174 <option value="Default" selected="true">No thanks - just plot the data as one group</option>
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
175 <option value="Single">Plot multiple groups of data on one plot</option>
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
176 <option value="Multiple">Plot multiple groups of data on individual plots</option>
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
177 </param>
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
178 <when value="Default">
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
179 <!--Do nothing here -->
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
180 </when>
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
181 <when value="Single">
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
182 <param name="factorcol" type="integer" value="1" label="column differentiating the different groups" />
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
183 <expand macro="colors" />
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
184 <param name="colororder" type="select" label="Reverse color scheme" >
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
185 <option value="1">Default order of color scheme</option>
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
186 <option value="-1">Reverse the order of my color scheme</option>
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
187 </param>
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
188 </when>
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
189 <when value="Multiple">
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
190 <param name="factorcol" type="integer" value="1" label="column differentiating the different groups" />
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
191 </when>
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
192 </conditional>
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
193 <conditional name="axis_title_customization">
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
194 <expand macro="axis_customization" label="Axis title options" />
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
195 </conditional>
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
196 <conditional name="axis_text_customization">
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
197 <expand macro="axis_customization" label="Axis text options" />
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
198 </conditional>
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
199 <conditional name="plot_title_customization">
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
200 <expand macro="axis_customization" label="Plot title options" />
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
201 </conditional>
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
202 <param name="gridlinecust" type="select" label="Grid lines">
9
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
203 <option value="default">Default grid lines</option>
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
204 <option value="hidemajor">Hide major grid lines</option>
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
205 <option value="hideminor">Hide minor grid lines</option>
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
206 <option value="hideboth">Hide major and minor grid lines</option>
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
207 </param>
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
208 <expand macro="transform" />
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
209 <expand macro="xy_scaling" />
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
210 <expand macro="theme" />
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
211 <expand macro="legend" />
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
212 </section>
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
213 <section name="out" title="Output Options" expanded="true">
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
214 <expand macro="dimensions" />
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
215 </section>
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
216 </inputs>
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
217 <outputs>
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
218 <expand macro="additional_output" />
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
219 </outputs>
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
220 <tests>
14
5298e06f14f9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6737c924917eea8c009c30d7f9917d5a341b9948
iuc
parents: 13
diff changeset
221 <test expect_num_outputs="2">
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
222 <param name="input1" value="mtcars.txt" ftype="tabular" />
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
223 <param name="additional_output_format" value="pdf" />
15
f87634b12749 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 57b86418a4f032a5664b8dc1c9585a11be629158
iuc
parents: 14
diff changeset
224 <param name="xplot" value="8"/>
f87634b12749 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 57b86418a4f032a5664b8dc1c9585a11be629158
iuc
parents: 14
diff changeset
225 <param name="yplot" value="9"/>
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
226 <output name="output2" file="ggplot_point_result1.pdf" compare="sim_size" />
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
227 </test>
9
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
228 <!-- Test text options-->
14
5298e06f14f9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6737c924917eea8c009c30d7f9917d5a341b9948
iuc
parents: 13
diff changeset
229 <test expect_num_outputs="2">
9
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
230 <param name="input1" value="mtcars.txt" ftype="tabular" />
15
f87634b12749 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 57b86418a4f032a5664b8dc1c9585a11be629158
iuc
parents: 14
diff changeset
231 <conditional name="cols">
f87634b12749 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 57b86418a4f032a5664b8dc1c9585a11be629158
iuc
parents: 14
diff changeset
232 <param name="header" value="no"/>
f87634b12749 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 57b86418a4f032a5664b8dc1c9585a11be629158
iuc
parents: 14
diff changeset
233 </conditional>
f87634b12749 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 57b86418a4f032a5664b8dc1c9585a11be629158
iuc
parents: 14
diff changeset
234 <param name="xplot" value="8"/>
f87634b12749 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 57b86418a4f032a5664b8dc1c9585a11be629158
iuc
parents: 14
diff changeset
235 <param name="yplot" value="9"/>
9
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
236 <section name="adv">
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
237 <conditional name="type_conditional">
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
238 <param name="type_options" value="points"/>
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
239 <conditional name="points">
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
240 <param name="pointoptions" value="default"/>
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
241 </conditional>
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
242 </conditional>
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
243 <conditional name="axis_text_customization">
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
244 <param name="axis_customization" value="defined"/>
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
245 <param name="color" value="red"/>
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
246 </conditional>
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
247 </section>
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
248 <param name="additional_output_format" value="pdf" />
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
249 <output name="output2" file="ggplot_point_result2.pdf" compare="sim_size" />
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
250 </test>
11
d0fc8b746d57 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 075aa3ab0ebc5eef83aac753a2cac7dffe2c6b0c
iuc
parents: 10
diff changeset
251 <!-- Test lines option -->
14
5298e06f14f9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6737c924917eea8c009c30d7f9917d5a341b9948
iuc
parents: 13
diff changeset
252 <test expect_num_outputs="2">
11
d0fc8b746d57 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 075aa3ab0ebc5eef83aac753a2cac7dffe2c6b0c
iuc
parents: 10
diff changeset
253 <param name="input1" value="mtcars.txt" ftype="tabular" />
15
f87634b12749 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 57b86418a4f032a5664b8dc1c9585a11be629158
iuc
parents: 14
diff changeset
254 <param name="xplot" value="8"/>
f87634b12749 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 57b86418a4f032a5664b8dc1c9585a11be629158
iuc
parents: 14
diff changeset
255 <param name="yplot" value="9"/>
11
d0fc8b746d57 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 075aa3ab0ebc5eef83aac753a2cac7dffe2c6b0c
iuc
parents: 10
diff changeset
256 <section name="adv">
d0fc8b746d57 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 075aa3ab0ebc5eef83aac753a2cac7dffe2c6b0c
iuc
parents: 10
diff changeset
257 <conditional name="type_conditional">
d0fc8b746d57 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 075aa3ab0ebc5eef83aac753a2cac7dffe2c6b0c
iuc
parents: 10
diff changeset
258 <param name="type_options" value="lines"/>
d0fc8b746d57 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 075aa3ab0ebc5eef83aac753a2cac7dffe2c6b0c
iuc
parents: 10
diff changeset
259 </conditional>
d0fc8b746d57 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 075aa3ab0ebc5eef83aac753a2cac7dffe2c6b0c
iuc
parents: 10
diff changeset
260 </section>
d0fc8b746d57 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 075aa3ab0ebc5eef83aac753a2cac7dffe2c6b0c
iuc
parents: 10
diff changeset
261 <param name="additional_output_format" value="pdf" />
d0fc8b746d57 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 075aa3ab0ebc5eef83aac753a2cac7dffe2c6b0c
iuc
parents: 10
diff changeset
262 <output name="output2" file="ggplot_line_result1.pdf" compare="sim_size" />
d0fc8b746d57 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 075aa3ab0ebc5eef83aac753a2cac7dffe2c6b0c
iuc
parents: 10
diff changeset
263 </test>
10
299307abd804 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 847c77a54204433d210cd8a1234474d014628424
iuc
parents: 9
diff changeset
264 <!-- Test defined point options options-->
14
5298e06f14f9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6737c924917eea8c009c30d7f9917d5a341b9948
iuc
parents: 13
diff changeset
265 <test expect_num_outputs="2">
10
299307abd804 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 847c77a54204433d210cd8a1234474d014628424
iuc
parents: 9
diff changeset
266 <param name="input1" value="mtcars.txt" ftype="tabular" />
15
f87634b12749 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 57b86418a4f032a5664b8dc1c9585a11be629158
iuc
parents: 14
diff changeset
267 <param name="xplot" value="8"/>
f87634b12749 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 57b86418a4f032a5664b8dc1c9585a11be629158
iuc
parents: 14
diff changeset
268 <param name="yplot" value="9"/>
10
299307abd804 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 847c77a54204433d210cd8a1234474d014628424
iuc
parents: 9
diff changeset
269 <section name="adv">
299307abd804 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 847c77a54204433d210cd8a1234474d014628424
iuc
parents: 9
diff changeset
270 <conditional name="type_conditional">
299307abd804 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 847c77a54204433d210cd8a1234474d014628424
iuc
parents: 9
diff changeset
271 <param name="type_options" value="points"/>
299307abd804 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 847c77a54204433d210cd8a1234474d014628424
iuc
parents: 9
diff changeset
272 <conditional name="points">
299307abd804 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 847c77a54204433d210cd8a1234474d014628424
iuc
parents: 9
diff changeset
273 <param name="pointoptions" value="defined"/>
299307abd804 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 847c77a54204433d210cd8a1234474d014628424
iuc
parents: 9
diff changeset
274 <param name="size" value="2"/>
299307abd804 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 847c77a54204433d210cd8a1234474d014628424
iuc
parents: 9
diff changeset
275 <param name="alpha" value="0.5"/>
299307abd804 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 847c77a54204433d210cd8a1234474d014628424
iuc
parents: 9
diff changeset
276 <param name="pointcolor" value="gold"/>
299307abd804 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 847c77a54204433d210cd8a1234474d014628424
iuc
parents: 9
diff changeset
277 <param name="shape" value="6"/>
299307abd804 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 847c77a54204433d210cd8a1234474d014628424
iuc
parents: 9
diff changeset
278 </conditional>
299307abd804 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 847c77a54204433d210cd8a1234474d014628424
iuc
parents: 9
diff changeset
279 </conditional>
299307abd804 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 847c77a54204433d210cd8a1234474d014628424
iuc
parents: 9
diff changeset
280 <conditional name="axis_text_customization">
299307abd804 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 847c77a54204433d210cd8a1234474d014628424
iuc
parents: 9
diff changeset
281 <param name="axis_customization" value="defined"/>
299307abd804 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 847c77a54204433d210cd8a1234474d014628424
iuc
parents: 9
diff changeset
282 <param name="color" value="red"/>
299307abd804 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 847c77a54204433d210cd8a1234474d014628424
iuc
parents: 9
diff changeset
283 </conditional>
299307abd804 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 847c77a54204433d210cd8a1234474d014628424
iuc
parents: 9
diff changeset
284 </section>
299307abd804 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 847c77a54204433d210cd8a1234474d014628424
iuc
parents: 9
diff changeset
285 <param name="additional_output_format" value="pdf" />
14
5298e06f14f9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6737c924917eea8c009c30d7f9917d5a341b9948
iuc
parents: 13
diff changeset
286 <output name="output2" file="ggplot_point_result3.pdf" ftype="pdf" compare="sim_size" />
10
299307abd804 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 847c77a54204433d210cd8a1234474d014628424
iuc
parents: 9
diff changeset
287 </test>
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
288 </tests>
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
289 <help><![CDATA[
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
290 This tool will generate a scatterplot representing data from two groups/conditions.
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
291
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
292 The input data should be in tabular format and the user can determine which groups (columns) to plot.
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
293
9
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
294 Multiple groups can be plotted on the same or multiple plots by providing a column with a group identifier under "advanced - plotting multiple groups".
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
295
2
9a482995958c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 0
diff changeset
296 Feel free to explore the (many) advanced options to customize your plot. Galaxy makes this type optimization easy for the user!
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
297
9
1acf88921176 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
iuc
parents: 8
diff changeset
298 The ouput is a pdf file with your scatterplot. The dimensions of this file can be modified under "advanced - output dimensions"
0
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
299 ]]></help>
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
300 <expand macro="citations"/>
1bff6682e780 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
301 </tool>