comparison ggplot_point.xml @ 10:299307abd804 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 847c77a54204433d210cd8a1234474d014628424
author iuc
date Thu, 24 Nov 2022 20:23:57 +0000
parents 1acf88921176
children d0fc8b746d57
comparison
equal deleted inserted replaced
9:1acf88921176 10:299307abd804
36 color_scale = NULL 36 color_scale = NULL
37 #if $adv.type_conditional.points.pointoptions == "default" 37 #if $adv.type_conditional.points.pointoptions == "default"
38 gg_point = geom_point(size=1, alpha=1, gg_factor) 38 gg_point = geom_point(size=1, alpha=1, gg_factor)
39 gg_line = geom_line(size=1, alpha=1, gg_factor) 39 gg_line = geom_line(size=1, alpha=1, gg_factor)
40 #else 40 #else
41 gg_point = geom_point(size=$adv.type_conditional.points.size, alpha=$adv.type_conditional.points.alpha, colour='$adv.type_conditional.points.pointcolor') 41 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'))
42 gg_line = geom_line(size=$adv.type_conditional.points.size, alpha=$adv.type_conditional.points.alpha, colour='$adv.type_conditional.points.pointcolor') 42 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'))
43 #end if 43 #end if
44 44
45 names(input)[$adv.factor.factorcol] <- "factor" 45 names(input)[$adv.factor.factorcol] <- "factor"
46 46
47 #elif $adv.factor.factoring == "Single" 47 #elif $adv.factor.factoring == "Single"
70 70
71 #if $adv.type_conditional.points.pointoptions == "default" 71 #if $adv.type_conditional.points.pointoptions == "default"
72 gg_point = geom_point(size=1, alpha=1, gg_factor) 72 gg_point = geom_point(size=1, alpha=1, gg_factor)
73 gg_line = geom_line(size=1, alpha=1, gg_factor) 73 gg_line = geom_line(size=1, alpha=1, gg_factor)
74 #else 74 #else
75 gg_point = geom_point(size=$adv.type_conditional.points.size, alpha=$adv.type_conditional.points.alpha, colour='$adv.type_conditional.points.pointcolor') 75 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'))
76 gg_line = geom_line(size=$adv.type_conditional.points.size, alpha=$adv.type_conditional.points.alpha, colour='$adv.type_conditional.points.pointcolor') 76 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'))
77 #end if 77 #end if
78 #end if 78 #end if
79 79
80 @TRANSFORM@ 80 @TRANSFORM@
81 81
218 </conditional> 218 </conditional>
219 </section> 219 </section>
220 <param name="additional_output_format" value="pdf" /> 220 <param name="additional_output_format" value="pdf" />
221 <output name="output2" file="ggplot_point_result2.pdf" compare="sim_size" /> 221 <output name="output2" file="ggplot_point_result2.pdf" compare="sim_size" />
222 </test> 222 </test>
223 <!-- Test defined point options options-->
224 <test>
225 <param name="input1" value="mtcars.txt" ftype="tabular" />
226 <section name="adv">
227 <conditional name="type_conditional">
228 <param name="type_options" value="points"/>
229 <conditional name="points">
230 <param name="pointoptions" value="defined"/>
231 <param name="size" value="2"/>
232 <param name="alpha" value="0.5"/>
233 <param name="pointcolor" value="gold"/>
234 <param name="shape" value="6"/>
235 </conditional>
236 </conditional>
237 <conditional name="axis_text_customization">
238 <param name="axis_customization" value="defined"/>
239 <param name="color" value="red"/>
240 </conditional>
241 </section>
242 <param name="additional_output_format" value="pdf" />
243 <output name="output2" file="ggplot_point_result3.pdf" compare="sim_size" />
244 </test>
223 </tests> 245 </tests>
224 <help><![CDATA[ 246 <help><![CDATA[
225 This tool will generate a scatterplot representing data from two groups/conditions. 247 This tool will generate a scatterplot representing data from two groups/conditions.
226 248
227 The input data should be in tabular format and the user can determine which groups (columns) to plot. 249 The input data should be in tabular format and the user can determine which groups (columns) to plot.