view butterfly_crossplot.xml @ 3:9daba7983d38 draft

Uploaded
author mnhn65mo
date Mon, 13 Aug 2018 06:28:25 -0400
parents af2cdd97a434
children 372573509133
line wrap: on
line source

<tool id="Butterfly_crossplot" name="Butterfly data analysis" version="0.1.0">
    <requirements>
        <requirement type="package" version="2.2.1">r-ggplot2</requirement>
        <requirement type="package" version="1.1_2">r-rcolorbrewer</requirement>
        <requirement type="package" version="0.9.10">xorg-libxrender</requirement>
    </requirements>
    <command detect_errors="exit_code"><![CDATA[
        Rscript '$__tool_directory__/butterfly_crossplot.R' '$__tool_directory__/stat_bag.r' '$butterfly_db' '$__tool_directory__/code_couleurs.csv' '$function'
        ##'$__tool_directory__/BDD_PAPILLONS_2016.txt'
    ]]></command>
    <inputs>
        <param name="function" type="select" label="Chose your analyse">
            <option value="ggCompareLevel">Compare production methods</option>
            <option value="ggfiltre1niveau">Compare regions</option>
            <option value="gglocal">Compare local networks</option>
        </param>
        <param name="butterfly_db" type="data" format="csv,tabular" label="Butterfly datafile"/>
    </inputs>
    <outputs>
        <data format="png" name="ggCompareLevel" label="Compare production methods" from_work_dir="resultats/Papillons_CONDUITEPARCELLE_comparaison.png">
            <filter>function=='ggCompareLevel'</filter>
        </data>
        <collection type="list" name="output_ggfiltre" label="Compare regions">
            <discover_datasets pattern="__designation_and_ext__" visible="false" format="png" directory="resultats"/>
                <filter>function=='ggfiltre1niveau'</filter>
        </collection>
        <collection type="list" name="output_gglocal" label="Compare local network">
            <discover_datasets pattern="__designation_and_ext__" visible="false" format="png" directory="resultats"/>
                <filter>function=='gglocal'</filter>
        </collection>
   </outputs>
    <help><![CDATA[
        TODO: Fill in help.
    ]]></help>
</tool>