0
|
1 <tool id="aacaret003" name="Predict Activity">
|
|
2 <description>
|
|
3 used to predict activity based on given model
|
|
4 </description>
|
|
5 <!--command interpreter="bash">step3run.sh $file1 $model $output1 2>/dev/null </command-->
|
|
6 <requirements>
|
|
7 <requirement type="set_environment">R_ROOT_DIR</requirement>
|
|
8 <requirement type="package" version="3.2.0">R</requirement>
|
|
9 <requirement type="package" version="1.0.0">caret-tools</requirement>
|
|
10 </requirements>
|
|
11 <command interpreter="Rscript">caret_future/tool2/Preold_advance.R $file1 $model $output1 2>/dev/null </command>
|
|
12
|
|
13 <inputs>
|
|
14 <param name="model" format="RData" type="data" label="Select Model" />
|
|
15 <param name="file1" format="csv" type="data" label="Select file have descriptor data for activity prediction" help="csv format" />
|
|
16 </inputs>
|
|
17 <outputs>
|
|
18 <data format="txt" name="output1" label="Prediction on $file1.name" />
|
|
19 </outputs>
|
|
20 <help>
|
|
21
|
|
22 .. class:: infomark
|
|
23
|
|
24 Make sure this file **must** contain **all** or **more features** than **input** "csv file" used for **model building**
|
|
25
|
|
26 ----------
|
|
27
|
|
28 **Input "csv file" must be as follows**
|
|
29
|
|
30 ----------
|
|
31
|
|
32
|
|
33 Example file:-
|
|
34
|
|
35
|
|
36
|
|
37 # example.csv
|
|
38
|
|
39 feature1,feature2,feature3,..,featureN
|
|
40
|
|
41 ro1 234,2.3,34,7,..,0.9
|
|
42
|
|
43 ro2 432,3.4,23.1,12,..,0.12
|
|
44
|
|
45 ro3 692,23,12.2,19,..,0.14
|
|
46
|
|
47
|
|
48 -----------
|
|
49
|
|
50 **MODEL**
|
|
51
|
|
52 Choose model file received from model building step.
|
|
53
|
|
54 Model file has "data" file format can be seen by
|
|
55
|
|
56 clicking on output files shown in history .
|
|
57
|
|
58
|
|
59 </help>
|
|
60 </tool>
|