view mixomics_plotindiv.xml @ 5:88c1fd2ac110 draft default tip

"planemo upload for repository https://gitlab.com/bilille/galaxy-viscorvar commit 21d09ff286a496ff475f32626d88dd42423ae663"
author ppericard
date Tue, 07 Sep 2021 10:40:08 +0000
parents d4e9f7546dfa
children
line wrap: on
line source

<tool id="mixomics_plotindiv" name="mixOmics plotIndiv" version="@TOOL_VERSION@+galaxy0" profile="16.04" workflow_compatible="true">

    <description>provides scatter plots for individuals (experimental units) representation in (sparse)(I)PCA,(regularized)CCA, (sparse)PLS(DA) and (sparse)(R)GCCA(DA)</description>

    <macros>
        <import>macros.xml</import>
        <import>macros_mixomics.xml</import>
    </macros>

    <expand macro="requirements"/>
    <expand macro="stdio"/>

    <command detect_errors="aggressive"><![CDATA[

        @COMMAND_RSCRIPT@/mixomics_plotindiv.R

        --input_rdata $input_rdata

        $adv.legend
        $adv.ellipse

        --output_pdf $output_pdf

    ]]></command>

    <inputs>
        <param name="input_rdata" type="data" format="rdata"
               label="Input RData file from (sparse)(I)PCA, (regularized)CCA, (sparse)PLS(DA) or (sparse)(R)GCCA(DA)"
               help="this is the RData output file from the block.splsda function" />
        <section name="adv" title="Advanced Options" expanded="false">
            <param name="legend" type="boolean" checked="true" truevalue="--legend" falsevalue=""
                   label="Plot legend" />
            <param name="ellipse" type="boolean" checked="true" truevalue="--ellipse" falsevalue=""
                   label="Plot ellipse plots" />
        </section>
    </inputs>

    <outputs>
        <data name="output_pdf" format="pdf" label="plotIndiv.pdf" />
    </outputs>

    <tests>
        <test>
            <param name="input_rdata" value="out_rdata.rdata" />
            <output name="output_pdf" value="out_plotIndiv.pdf" />
        </test>
    </tests>

    <help><![CDATA[

@HELP_AUTHORS@

==================
mixOmics plotIndiv
==================

-----------
Description
-----------

This tool allows visualizing the samples on a two dimensionnal graphic. An effect can be visualized along the abscissa axis and along the ordinate axis.

-----------------
Workflow position
-----------------

**Upstream tools**

======================= =================================== ========
Name                    Output file                         Format
======================= =================================== ========
mixOmics.block.splsda   mixomics_blocksplsda_output.RData   rdata
======================= =================================== ========

---------------------------------------------------

-----------
Input files
-----------

+-------------------------------+------------+
| Parameter : num + label       |   Format   |
+===============================+============+
| 1 : Rdata block.splsda output |   Rdata    |
+-------------------------------+------------+


----------
Parameters
----------

@HELP_MANUAL@

------------
Output files
------------

plotIndiv.pdf
    A pdf file with scatter plots for individuals

    ]]></help>

    <expand macro="citations" />

</tool>