1
|
1 <tool id="computeR2" name="compute R2" version="1.0.0">
|
|
2 <description>compute R-squared value of a prediction vs true phenotype</description>
|
|
3 <command interpreter="Rscript">
|
|
4 computeR2.R $config
|
|
5 </command>
|
|
6
|
|
7 <inputs>
|
|
8 <param name="phenotype" type="data"
|
|
9 label="true phenotype"
|
|
10 />
|
|
11
|
|
12 <param name="predictedPhenotype" type="data"
|
|
13 label="predicted phenotype"
|
|
14 />
|
|
15
|
|
16 </inputs>
|
|
17
|
|
18 <configfiles>
|
|
19 <configfile name="config">
|
|
20 ## Desc: this file is sourced in encode wrapper script
|
|
21 ## as means to pass all galaxy params to R
|
|
22 "${predictedPhenotype}" -> predicted
|
|
23 "${phenotype}" -> phenotype
|
|
24 "${r2}" -> out
|
|
25
|
|
26 </configfile>
|
|
27 </configfiles>
|
|
28
|
|
29 <outputs>
|
|
30 <data format="tabular" name = "r2" />
|
|
31 </outputs>
|
|
32
|
|
33 <help>
|
|
34 compute R2 of prediction vs true phenotype
|
|
35 </help>
|
|
36 </tool> |