76
|
1 <tool id="evaluation" name="evaluation" version="1.0.0">
|
|
2 <description>evaluate results of classifiers prediction</description>
|
|
3 <command interpreter="Rscript">
|
|
4 evaluation.R $config > ${output1}
|
|
5 </command>
|
|
6
|
|
7 <inputs>
|
|
8 <param name="genotype" type="data"
|
|
9 label="genotype data"
|
|
10 />
|
|
11
|
|
12 <param name="prediction" type="data"
|
|
13 label="results of prediction"
|
|
14 />
|
|
15
|
|
16 <param name="phenotype" type="data"
|
|
17 label="phenotype file"
|
|
18 />
|
|
19
|
|
20 <param name="r2" type="integer" value="1"
|
|
21 label="compute r-squared distance" help=" whether or not to compute the r-squared distance. 1 means the tool will compute it, any other argument means it will not be computed "
|
|
22 />
|
|
23
|
|
24 <param name="cor" type="integer" value="1"
|
|
25 label="compute correlation" help=" whether or not to compute the correlation between predictions and ture values. 1 means the tool will compute it, any other argument means it will not be computed "
|
|
26 />
|
|
27
|
|
28 <param name="folds" type="data"
|
|
29 label="folds" help=" path to a folds file containing folds indexes in a R list called /folds/ such as produced by the folds tools in OGHMA suite. "
|
|
30 />
|
|
31
|
|
32 </inputs>
|
|
33
|
|
34
|
|
35 <configfiles>
|
|
36 <configfile name="config">
|
|
37 ## Desc: this file is sourced in encode wrapper script
|
|
38 ## as means to pass all galaxy params to R
|
|
39 "${genotype}" -> genotype
|
|
40 "${phenotype}" -> phenotype
|
|
41 "${prediction}" -> prediction
|
|
42 "${r2}" -> doR2
|
|
43 "${cor}" -> doCor
|
|
44 "${folds}" -> folds
|
|
45 </configfile>
|
|
46 </configfiles>
|
|
47
|
|
48 <outputs>
|
|
49 <data format="tabular" name = "output1" label="classifier prediction" />
|
|
50 </outputs>
|
|
51
|
|
52 <help>
|
|
53 evaluate the predictions of classifiers. For now correlation between true valeus and predictions, and r-squared distance are implemeted
|
|
54 </help>
|
|
55 </tool> |