comparison ggplot_point.xml @ 15:5a901c0cb006 draft

Uploaded
author moheydarian
date Wed, 11 Jan 2017 10:45:28 -0500
parents 08ae6379dfbb
children f6f521626991
comparison
equal deleted inserted replaced
14:b342326db6dd 15:5a901c0cb006
5 </requirements> 5 </requirements>
6 <stdio> 6 <stdio>
7 <exit_code range="1:" /> 7 <exit_code range="1:" />
8 </stdio> 8 </stdio>
9 <command><![CDATA[ 9 <command><![CDATA[
10 Rscript ggplotpointscript.R --input "$input1" --title "$title" 10 Rscript Rscript '${__tool_directory__}/ggplotpointscript.R' --input "$input1" --title "$title"
11 --theme "${theme.theme_selector}" --xplot "$xplot" --yplot "$yplot" --scaling "$scaling.Plot_scaling" --points "$points.pointoptions" --dim "$dimensions.plotdim" --factor "$factor.factoring" --transform "$transformation.transform" --xlab "$xlab" --ylab "$ylab" 11 --theme "${theme.theme_selector}" --xplot "$xplot" --yplot "$yplot" --scaling "$scaling.Plot_scaling" --points "$points.pointoptions" --dim "$dimensions.plotdim" --factor "$factor.factoring" --transform "$transformation.transform" --xlab "$xlab" --ylab "$ylab"
12 --axistitlecust "$axistitlecustomization.axistitlecust" --axistextcust "$axistextcustomization.axistextcust" 12 --axistitlecust "$axistitlecustomization.axistitlecust" --axistextcust "$axistextcustomization.axistextcust"
13 --plottitlecust "$plottitlecustomization.plottitlecust" --gridlinecust "$gridlinecustomization.gridlinecust" --output "Rplot.pdf" 13 --plottitlecust "$plottitlecustomization.plottitlecust" --gridlinecust "$gridlinecustomization.gridlinecust" --output "Rplot.pdf"
14 #if str( $factor.factoring ) == "Single": 14 #if str( $factor.factoring ) == "Single":
15 --factorcol ${factor.factorcol} 15 --factorcol ${factor.factorcol}
22 #else: 22 #else:
23 --factorcol=1 23 --factorcol=1
24 --colors=irrelevant 24 --colors=irrelevant
25 --colororder=1 25 --colororder=1
26 #end if 26 #end if
27
27 #if str( $points.pointoptions ) == "Defined": 28 #if str( $points.pointoptions ) == "Defined":
28 --size ${points.size} 29 --size ${points.size}
29 --alpha ${points.alpha} 30 --alpha ${points.alpha}
30 --pointcolor ${points.pointcolor} 31 --pointcolor ${points.pointcolor}
31 #else: 32 #else:
32 --size=1 33 --size=1
33 --alpha=1 34 --alpha=1
34 --pointcolor=black 35 --pointcolor=black
35 #end if 36 #end if
37
36 #if str( $scaling.Plot_scaling ) == "Defined": 38 #if str( $scaling.Plot_scaling ) == "Defined":
37 --xaxismin=${scaling.xaxismin} 39 --xaxismin=${scaling.xaxismin}
38 --xaxismax=${scaling.xaxismax} 40 --xaxismax=${scaling.xaxismax}
39 --yaxismin=${scaling.yaxismin} 41 --yaxismin=${scaling.yaxismin}
40 --yaxismax=${scaling.yaxismax} 42 --yaxismax=${scaling.yaxismax}
42 --xaxismin=0 44 --xaxismin=0
43 --xaxismax=1 45 --xaxismax=1
44 --yaxismin=2 46 --yaxismin=2
45 --yaxismax=3 47 --yaxismax=3
46 #end if 48 #end if
49
47 #if str( $axistitlecustomization.axistitlecust ) == "Defined": 50 #if str( $axistitlecustomization.axistitlecust ) == "Defined":
48 --axistitlesize ${axistitlecustomization.axistitlesize} 51 --axistitlesize ${axistitlecustomization.axistitlesize}
49 --axistitlecolor ${axistitlecustomization.axistitlecolor} 52 --axistitlecolor ${axistitlecustomization.axistitlecolor}
50 --axistitleface ${axistitlecustomization.axistitleface} 53 --axistitleface ${axistitlecustomization.axistitleface}
51 #else: 54 #else:
52 --axistitlesize=12 55 --axistitlesize=12
53 --axistitlecolor=black 56 --axistitlecolor=black
54 --axistitleface=plain 57 --axistitleface=plain
55 #end if 58 #end if
59
56 #if str( $axistextcustomization.axistextcust ) == "Defined": 60 #if str( $axistextcustomization.axistextcust ) == "Defined":
57 --axistextsize ${axistextcustomization.axistextsize} 61 --axistextsize ${axistextcustomization.axistextsize}
58 --axistextcolor ${axistextcustomization.axistextcolor} 62 --axistextcolor ${axistextcustomization.axistextcolor}
59 --axistextface ${axistextcustomization.axistextface} 63 --axistextface ${axistextcustomization.axistextface}
60 #else: 64 #else:
61 --axistextsize=12 65 --axistextsize=12
62 --axistextcolor=black 66 --axistextcolor=black
63 --axistextface=plain 67 --axistextface=plain
64 #end if 68 #end if
69
65 #if str( $plottitlecustomization.plottitlecust ) == "Defined": 70 #if str( $plottitlecustomization.plottitlecust ) == "Defined":
66 --plottitlesize ${plottitlecustomization.plottitlesize} 71 --plottitlesize ${plottitlecustomization.plottitlesize}
67 --plottitlecolor ${plottitlecustomization.plottitlecolor} 72 --plottitlecolor ${plottitlecustomization.plottitlecolor}
68 --plottitleface ${plottitlecustomization.plottitleface} 73 --plottitleface ${plottitlecustomization.plottitleface}
69 #else: 74 #else:
70 --plottitlesize=12 75 --plottitlesize=12
71 --plottitlecolor=black 76 --plottitlecolor=black
72 --plottitleface=plain 77 --plottitleface=plain
73 #end if 78 #end if
79
74 #if str( $dimensions.plotdim ) == "Defined": 80 #if str( $dimensions.plotdim ) == "Defined":
75 --woutputdim ${dimensions.woutputdim} 81 --woutputdim ${dimensions.woutputdim}
76 --houtputdim ${dimensions.houtputdim} 82 --houtputdim ${dimensions.houtputdim}
77 #else: 83 #else:
78 --woutputdim=7 84 --woutputdim=7
79 --houtputdim=7 85 --houtputdim=7
80 #end if 86 #end if
87
81 ]]></command> 88 ]]></command>
82 <inputs> 89 <inputs>
83 <param name="input1" type="data" format="tabular" label="Input (tabular format)" /> 90 <param name="input1" type="data" format="tabular" label="Input (tabular format)" />
84 <param name="xplot" type="integer" value="8" label="Column to plot on x-axis" /> 91 <param name="xplot" type="integer" value="8" label="Column to plot on x-axis" />
85 <param name="yplot" type="integer" value="9" label="Column to plot on y-axis" /> 92 <param name="yplot" type="integer" value="9" label="Column to plot on y-axis" />
354 <output name="output1" file="Rplot.pdf"/> 361 <output name="output1" file="Rplot.pdf"/>
355 </test> 362 </test>
356 </tests> 363 </tests>
357 <help><![CDATA[ 364 <help><![CDATA[
358 This tool will generate a scatterplot representing data from two groups/conditions. 365 This tool will generate a scatterplot representing data from two groups/conditions.
366
359 The input data should be in tabular format and the user can determine which groups (columns) to plot. 367 The input data should be in tabular format and the user can determine which groups (columns) to plot.
368
360 Multiple groups can be plotted on the same or multiple plots by providing a column with a group identifier under "Advanced - plotting multiple groups". 369 Multiple groups can be plotted on the same or multiple plots by providing a column with a group identifier under "Advanced - plotting multiple groups".
370
361 Feel free to explore the (many) advanced options to customize your plot. Galaxy makes this type optimization easy for the user! 371 Feel free to explore the (many) advanced options to customize your plot. Galaxy makes this type optimization easy for the user!
372
362 The ouput is a pdf file with your scatterplot. The dimensions of this file can be modified under "Advanced - output dimensions" 373 The ouput is a pdf file with your scatterplot. The dimensions of this file can be modified under "Advanced - output dimensions"
374
375
376
377
363 Please report issues at: https://github.com/MoHeydarian/Galaxy-wrapper-for-ggplot2-scatterplot 378 Please report issues at: https://github.com/MoHeydarian/Galaxy-wrapper-for-ggplot2-scatterplot
364 ]]></help> 379 ]]></help>
365 <citations> 380 <citations>
366 <citation type="bibtex"> 381 <citation type="bibtex">
367 @misc{renameTODO, 382 @misc{renameTODO,
370 title = {TODO}, 385 title = {TODO},
371 url = {http://docs.ggplot2.org/current/geom_point.html}, 386 url = {http://docs.ggplot2.org/current/geom_point.html},
372 }</citation> 387 }</citation>
373 </citations> 388 </citations>
374 </tool> 389 </tool>
390