0
|
1 <tool id="acaretreg002" name="Prepare input file for regression analysis">
|
|
2 <description>
|
|
3 This Tool Converts Input csv File into RData Which Is Further Used for Model Building
|
|
4 </description>
|
|
5 <!--command interpreter="bash">step1.sh $file1 $output1 </command-->
|
|
6 <requirements>
|
|
7 <requirement type="set_environment">R_ROOT_DIR</requirement>
|
|
8 <requirement type="package" version="3.2.0">R</requirement>
|
|
9
|
|
10 </requirements>
|
|
11 <command interpreter="Rscript">caret_regression/tool1/csv2rdatatrain.R $file1 $RData </command>
|
|
12 <inputs>
|
|
13 <param format="text" name="file1" type="data" label="Select file containing training data" help="CSV format" />
|
|
14 </inputs>
|
|
15 <outputs>
|
|
16 <data format="RData" name="RData" label="Input RData" />
|
|
17 </outputs>
|
|
18 <help>
|
|
19 .. class:: infomark
|
|
20
|
|
21 **Input "csv file" format must be as given below :**
|
|
22
|
|
23
|
|
24 Name,feature1,feaure2,feature3,..,activity
|
|
25
|
|
26
|
|
27 cpd1,623,0.4,3.4,..,Active
|
|
28
|
|
29 cpd2,234,0.9,5.6,..,Inactive
|
|
30
|
|
31 cpd3,567,0.5,3.14,..,Active
|
|
32
|
|
33 cpd4,231,0.1,1.2,..,Inactive
|
|
34
|
|
35 here "cpd" stands for name or id of a compound. It is rowname with no column header.
|
|
36
|
|
37
|
|
38 </help>
|
|
39 </tool>
|