view gls_en.xml @ 0:5b126f770671 draft

Uploaded
author mnhn65mo
date Fri, 03 Aug 2018 08:28:22 -0400
parents
children b8fa05dbcff4
line wrap: on
line source

<tool id="gls" name="Model temporal trend" version="0.1">
    <description>with a simple linear regression</description>
    <requirements>
        <requirement type="package" version="3.1_131">r-nlme</requirement>
        <requirement type="package" version="7.3_48">r-mass</requirement>
    </requirements>
    <command detect_errors="exit_code"><![CDATA[
        Rscript '$__tool_directory__/gls.R' '$input1' '$input2' '$output' '$output2' ]]>
    </command>
    <inputs>
        <param name="input1" type="data" format="tabular" label="File generated by the glmmpql/Expected temporal trend tool"/>
        <param name="input2" type="data" format="tabular" label="File generated by the outil ab_index tool"/>
    </inputs>
    <outputs>
        <data format="txt" name="output" from_work_dir="mod-summary.txt" />
        <data format="rdata" name="output2" from_work_dir="mod.rda" />
    </outputs>
    <tests>
        <test> <!--FAILED for binary-->
            <param name="input1" value="glmmpql.tabular"/>
            <param name="input2" value="data_index.tabular"/>
            <output name="output" value="gls_sum.txt"/>
            <output name="output2" value="gls_rda.rda"/>
        </test>
    </tests>
    <help><![CDATA[

.. class:: infomark 

==========================
Model temporal trend
==========================

This tool is an implementation of the gls function from `RegionalGAM package:  https://github.com/RetoSchmucki/regionalGAM/
This function model temporal trend with a simple linear regression.

    ]]></help>
    <citations>
        <citation type="doi">10.1111/1365-2664.12561</citation>  
</citations>
</tool>