comparison macros.xml @ 7:e44775efb2dc draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 4b44f8f834de15fd34e2fdc5e4aed282069f73af"
author iuc
date Tue, 23 Nov 2021 07:57:58 +0000
parents dfd5d981b5a4
children d6c41b454cc1
comparison
equal deleted inserted replaced
6:dfd5d981b5a4 7:e44775efb2dc
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 <macros> 2 <macros>
3 <xml name="requirements"> 3 <xml name="requirements">
4 <requirements> 4 <requirements>
5 <requirement type="package" version="@VERSION@">r-ggplot2</requirement> 5 <requirement type="package" version="4.1.1">r-base</requirement>
6 <requirement type="package" version="@TOOL_VERSION@">r-ggplot2</requirement>
6 <yield /> 7 <yield />
7 </requirements> 8 </requirements>
8 </xml> 9 </xml>
9 <xml name="bio_tools"> 10 <xml name="bio_tools">
10 <xrefs> 11 <xrefs>
11 <xref type="bio.tools">gemini</xref> 12 <xref type="bio.tools">ggplot2</xref>
12 </xrefs> 13 </xrefs>
13 </xml> 14 </xml>
14 <token name="@VERSION@">2.2.1</token> 15 <token name="@TOOL_VERSION@">3.3.5</token>
16 <token name="@VERSION_SUFFIX@">0</token>
17
15 18
16 <token name="@R_INIT@"><![CDATA[ 19 <token name="@R_INIT@"><![CDATA[
17 ## Setup R error handling to go to stderr 20 ## Setup R error handling to go to stderr
18 options(show.error.messages=F, error=function(){cat(geterrmessage(), file=stderr()); q("no",1,F)}) 21 options(show.error.messages=F, error=function(){cat(geterrmessage(), file=stderr()); q("no",1,F)})
19 22
135 <conditional name="scaling"> 138 <conditional name="scaling">
136 <param name="plot_scaling" type="select" label="Axis scaling"> 139 <param name="plot_scaling" type="select" label="Axis scaling">
137 <option value="Automatic" selected="true">Automatic axis scaling</option> 140 <option value="Automatic" selected="true">Automatic axis scaling</option>
138 <option value="Defined">User-defined axis scales</option> 141 <option value="Defined">User-defined axis scales</option>
139 </param> 142 </param>
140 <when value="Automatic"> 143 <when value="Automatic"/>
141 <!--Do nothing here -->
142 </when>
143 <when value="Defined"> 144 <when value="Defined">
144 <param name="xaxismin" type="float" value="0" label="minimal range of x-axis" /> 145 <param name="xaxismin" type="float" value="0" label="minimal range of x-axis" />
145 <param name="xaxismax" type="float" value="3" label="maximal range of x-axis" /> 146 <param name="xaxismax" type="float" value="3" label="maximal range of x-axis" />
146 <param name="yaxismin" type="float" value="0" label="minimal range of y-axis" /> 147 <param name="yaxismin" type="float" value="0" label="minimal range of y-axis" />
147 <param name="yaxismax" type="float" value="3" label="maximal range of y-axis" /> 148 <param name="yaxismax" type="float" value="3" label="maximal range of y-axis" />
152 <param name="title" type="text" value="" label="Plot title"> 153 <param name="title" type="text" value="" label="Plot title">
153 <!--<sanitizer sanitize="false"/> --> 154 <!--<sanitizer sanitize="false"/> -->
154 </param> 155 </param>
155 </xml> 156 </xml>
156 <xml name="xy_lab"> 157 <xml name="xy_lab">
157 <param name="xlab" type="text" value="title of x-axis" label="Label for x axis"> 158 <param name="xlab" type="text" value="Title of x-axis" label="Label for x axis">
158 <sanitizer sanitize="false"/> 159 <sanitizer sanitize="false"/>
159 </param> 160 </param>
160 <param name="ylab" type="text" value="title of y-axis" label="Label for y axis"> 161 <param name="ylab" type="text" value="Title of y-axis" label="Label for y axis">
161 <sanitizer sanitize="false"/> 162 <sanitizer sanitize="false"/>
162 </param> 163 </param>
163 </xml> 164 </xml>
164 <xml name="legend"> 165 <xml name="legend">
165 <param name="legend" type="select" label="Legend options"> 166 <param name="legend" type="select" label="Legend options">
172 <option value="bw">Black and white</option> 173 <option value="bw">Black and white</option>
173 <option value="Default">Default (grey)</option> 174 <option value="Default">Default (grey)</option>
174 </param> 175 </param>
175 </xml> 176 </xml>
176 <xml name="dimensions"> 177 <xml name="dimensions">
177 <param name="unit_output_dim" type="select" label="Unit of output dimensions" help="default inches"> 178 <param name="unit_output_dim" type="select" label="Unit of output dimensions" help="Default: inches.">
178 <option value="in" selected="true">Inches (in)</option> 179 <option value="in" selected="true">Inches (in)</option>
179 <option value="cm">Centimeters (cm)</option> 180 <option value="cm">Centimeters (cm)</option>
180 <option value="mm">Millimeters (mm)</option> 181 <option value="mm">Millimeters (mm)</option>
181 </param> 182 </param>
182 <param name="width_output_dim" type="float" value="7" label="width of output"/> 183 <param name="width_output_dim" type="float" value="7" label="width of output"/>
183 <param name="height_output_dim" type="float" value="7" label="height of output"/> 184 <param name="height_output_dim" type="float" value="7" label="height of output"/>
184 <param name="dpi_output_dim" type="float" value="300" label="dpi of output" help="Plot resolution. Applies only to raster output types."/> 185 <param name="dpi_output_dim" type="float" value="300" label="dpi of output" help="Plot resolution. Applies only to raster output types."/>
185 <param name="additional_output_format" type="select" label="Additional output format" help="PNG is always selected as output format"> 186 <param name="additional_output_format" type="select" label="Additional output format" help="PNG is always selected as output format.">
186 <option value="none" selected="true">only PNG</option> 187 <option value="none" selected="true">Only PNG</option>
187 <option value="pdf">PDF</option> 188 <option value="pdf">PDF</option>
188 <option value="svg">SVG</option> 189 <option value="svg">SVG</option>
189 <option value="eps">EPS</option> 190 <option value="eps">EPS</option>
190 <option value="ps">PS</option> 191 <option value="ps">PS</option>
191 <option value="tex">TEX (pictex)</option> 192 <option value="tex">TEX (pictex)</option>
211 <xml name="axis_customization" token_label="Axis title options"> 212 <xml name="axis_customization" token_label="Axis title options">
212 <param name="axis_customization" type="select" label="@LABEL@"> 213 <param name="axis_customization" type="select" label="@LABEL@">
213 <option value="default" selected="true">Default</option> 214 <option value="default" selected="true">Default</option>
214 <option value="defined">User defined label options</option> 215 <option value="defined">User defined label options</option>
215 </param> 216 </param>
216 <when value="default"> 217 <when value="default"/>
217 <!--Do nothing here -->
218 </when>
219 <when value="defined"> 218 <when value="defined">
220 <param name="size" type="float" value="12" label="Axis label size (default = 12)"/> 219 <param name="size" type="float" value="12" label="Axis label size (default = 12)"/>
221 <param name="color" type="select" label="Color of axis label"> 220 <param name="color" type="select" label="Color of axis label">
222 <option value="black">Black (default)</option> 221 <option value="black">Black (default)</option>
223 <option value="red">Red</option> 222 <option value="red">Red</option>
291 <when input="out.additional_output_format" value="bmp" format="bmp" /> 290 <when input="out.additional_output_format" value="bmp" format="bmp" />
292 </change_format> 291 </change_format>
293 <filter>out['additional_output_format'] != "none"</filter> 292 <filter>out['additional_output_format'] != "none"</filter>
294 </data> 293 </data>
295 </xml> 294 </xml>
295 <xml name="points_options">
296 <conditional name="points">
297 <param name="pointoptions" type="select" label="Data point options">
298 <option value="default" selected="true">Default</option>
299 <option value="defined">User defined point options</option>
300 </param>
301 <when value="default">
302 <!--Do nothing here -->
303 </when>
304 <when value="defined">
305 <param name="size" type="float" value="1" label="relative size of points" />
306 <param name="alpha" type="float" value="1" label="Transparency of points (On a scale of 0-1; 0=transparent, 1=default)" />
307 <param name="pointcolor" type="select" label="Color of data points" >
308 <option value="black">Black (default)</option>
309 <option value="red">Red</option>
310 <option value="white">White</option>
311 <option value="blue">Blue</option>
312 <option value="orange">Orange</option>
313 <option value="yellow">Yellow</option>
314 <option value="green">Green</option>
315 <option value="purple">Purple</option>
316 <option value="magenta">Magenta</option>
317 <option value="cyan">Cyan</option>
318 <option value="grey">Grey</option>
319 <option value="gold">Gold</option>
320 </param>
321 </when>
322 </conditional>
323 </xml>
296 </macros> 324 </macros>