0
|
1 <tool id="gls" name="Model temporal trend" version="0.1">
|
|
2 <description>with a simple linear regression</description>
|
|
3 <requirements>
|
|
4 <requirement type="package" version="3.1_131">r-nlme</requirement>
|
|
5 <requirement type="package" version="7.3_48">r-mass</requirement>
|
|
6 </requirements>
|
|
7 <command detect_errors="exit_code"><![CDATA[
|
|
8 Rscript '$__tool_directory__/gls.R' '$input1' '$input2' '$output' '$output2' ]]>
|
|
9 </command>
|
|
10 <inputs>
|
|
11 <param name="input1" type="data" format="tabular" label="File generated by the glmmpql/Expected temporal trend tool"/>
|
|
12 <param name="input2" type="data" format="tabular" label="File generated by the outil ab_index tool"/>
|
|
13 </inputs>
|
|
14 <outputs>
|
|
15 <data format="txt" name="output" from_work_dir="mod-summary.txt" />
|
|
16 <data format="rdata" name="output2" from_work_dir="mod.rda" />
|
|
17 </outputs>
|
|
18 <tests>
|
|
19 <test> <!--FAILED for binary-->
|
|
20 <param name="input1" value="glmmpql.tabular"/>
|
|
21 <param name="input2" value="data_index.tabular"/>
|
|
22 <output name="output" value="gls_sum.txt"/>
|
|
23 <output name="output2" value="gls_rda.rda"/>
|
|
24 </test>
|
|
25 </tests>
|
|
26 <help><![CDATA[
|
|
27
|
|
28 .. class:: infomark
|
|
29
|
|
30 ==========================
|
|
31 Model temporal trend
|
|
32 ==========================
|
|
33
|
1
|
34 This tool is an implementation of the gls function from RegionalGAM package: https://github.com/RetoSchmucki/regionalGAM/
|
0
|
35 This function model temporal trend with a simple linear regression.
|
|
36
|
|
37 ]]></help>
|
|
38 <citations>
|
|
39 <citation type="doi">10.1111/1365-2664.12561</citation>
|
|
40 </citations>
|
|
41 </tool>
|