0
|
1 <tool id="gls-adjusted" name="Linear regression ajusted" version="0.1">
|
|
2 <description>for autocorrelation in the residuals</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-adjusted.R' '$input1' '$input2' '$output' '$output2' ]]>
|
|
9 </command>
|
|
10 <inputs>
|
|
11 <param format="tabular" name="input1" type="data" label="File generated by the glmmpql/Expected temporal trend tool"/>
|
|
12 <param format="tabular" name="input2" type="data" label="File generated by the ab_index tool"/>
|
|
13 </inputs>
|
|
14 <outputs>
|
|
15 <data format="txt" name="output" from_work_dir="mod_adjusted-summary.txt" />
|
|
16 <data format="rdata" name="output2" from_work_dir="mod_adjusted.rda" />
|
|
17 </outputs>
|
|
18 <tests>
|
|
19 <test> <!--FAILED-->
|
|
20 <param name="input1" value="glmmpql.tabular"/>
|
|
21 <param name="input2" value="data_index.tabular"/>
|
|
22 <output name="output" value="gls-adju_sum.txt"/>
|
|
23 <output name="output2" value="gls-adju_rda.rda"/>
|
|
24 </test>
|
|
25 </tests>
|
|
26 <help><![CDATA[
|
|
27
|
|
28 .. class:: infomark
|
|
29
|
|
30 ==========================
|
1
|
31 Linear regression ajusted
|
0
|
32 ==========================
|
|
33
|
1
|
34 This tool is an implementation of the gls_adjusted function from RegionalGAM package: https://github.com/RetoSchmucki/regionalGAM/
|
0
|
35 This function adjust the model to account for autocorrelation in the residuals.
|
|
36
|
|
37 ]]></help>
|
|
38 <citations>
|
|
39 <citation type="doi">10.1111/1365-2664.12561</citation>
|
|
40 </citations>
|
|
41 </tool>
|