view chartskit.xml @ 27:4aeb334de0e3 draft

Uploaded
author guerler
date Thu, 03 Apr 2014 11:49:42 -0400
parents 52c588867706
children 726effc0bcbd
line wrap: on
line source

<tool id="chartskit" name="Charts-Kit" version="1.0.0">
    <hidden>True</hidden>
    <description>wrapper for R</description>
    <requirements>
        <requirement type="set_environment">SCRIPT_PATH</requirement>
        <requirement type="set_environment">R_LIBS</requirement>
        <requirement type="package" version="2.15.0">R</requirement>
    </requirements>
    <command>Rscript \$SCRIPT_PATH/chartskit.r -m \$SCRIPT_PATH/${module}.r -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>
        </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>