changeset 1:f2d42848d165 draft

Uploaded
author guerler
date Thu, 17 Apr 2014 11:18:42 -0400
parents 8fefbbf372be
children a3b34c760a79
files charts.xml
diffstat 1 files changed, 22 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/charts.xml	Thu Apr 17 11:18:42 2014 -0400
@@ -0,0 +1,22 @@
+<tool id="charts" name="Charts" version="1.0.0">
+    <hidden>True</hidden>
+    <description>wrapper for R</description>
+    <requirements>
+        <requirement type="set_environment">SCRIPT_PATH</requirement>
+        <requirement type="package" version="2.15.0">R</requirement>
+    </requirements>
+    <command>Rscript \$SCRIPT_PATH/charts.r -w \$SCRIPT_PATH/ -m ${module} -i ${input} -c '${columns}' -s '${settings}' -o ${output}
+    </command>
+    <inputs>
+        <param name="input" type="data" label="Input dataset" format="tabular" />
+        <param name="module" type="select" label="R-script">
+            <option value="histogram">Histogram</option>
+            <option value="boxplot">Box plot</option>
+        </param>
+        <param name="columns" type="text" label="Columns string (i.e key1: column, key2: column)" value="column: 2"/>
+        <param name="settings" type="text" label="Options string (i.e data_limit: 1000)" value=""/>
+    </inputs>
+    <outputs>
+        <data name="output" format="tabular" />
+    </outputs>
+</tool>
\ No newline at end of file