6
|
1 <tool id="normalize_matrix_by_other" name="Normalize Matrix By Other Matrix" force_history_refresh="True">
|
|
2 <command interpreter="python">normalize.matrix.by.other.py
|
|
3 -d ${dataset}
|
|
4 -D ${dataset2}
|
|
5 -c ${ctr_method}
|
|
6
|
|
7 #if str($ctr_method) == "median":
|
|
8 -o ${output_median}
|
|
9 #end if
|
|
10
|
|
11 #if str($ctr_method) == "mean":
|
|
12 -o ${output_mean}
|
|
13 #end if
|
|
14
|
|
15 -r ${return_normalizer_matrix}
|
|
16
|
|
17 #if str($return_normalizer_matrix) == 'yes':
|
|
18 -O ${output_normal}
|
|
19 #end if
|
|
20 </command>
|
|
21 <inputs>
|
|
22 <param name="dataset" type="data" format='tabular' label="Target Data (Matrix to be normalized)" help="Matrix to be normalized (e.g. disease)"/>
|
|
23 <param name="dataset2" type="data" format='tabular' label="Reference Data (Matrix that will be used to normalize other)" help="Matrix to be normalizer (e.g. normals)"/>
|
|
24 <param name="ctr_method" type="select" label="Centering Metric for Genes" help="Specify Metric to Use for Center Rows (Genes)" >
|
|
25 <option value="median" selected="true">Median</option>
|
|
26 <option value="mean">Mean</option>
|
|
27 </param>
|
|
28 <param name="return_normalizer_matrix" type='select' display="radio" label="?" help="Specify whether or not to return a a normalized version of the Reference matrix">
|
|
29 <option value="yes" selected='true' >Yes</option>
|
|
30 <option value="no">No</option>
|
|
31 </param>
|
|
32 </inputs>
|
|
33 <outputs>
|
|
34 <data format="tabular" name="output_median" label="Median Normalized Matrix (by Reference Set)">
|
|
35 <filter>(ctr_method)=="median"</filter>
|
|
36 </data>
|
|
37 <data format="tabular" name="output_mean" label="Mean Normalized Matrix (by Reference Set)">
|
|
38 <filter>(ctr_method)=="mean"</filter>
|
|
39 </data>
|
|
40 <data format="tabular" name="output_normal" label="Normalized Reference Matrix">
|
|
41 <filter>(return_normal_matrix)=="yes"</filter>
|
|
42 </data>
|
|
43 </outputs>
|
|
44 <help>
|
|
45 .. class:: infomark
|
|
46
|
|
47 **Normalize Matrix - Tool to normalize a matrix**
|
|
48
|
|
49 ----
|
|
50
|
|
51 **Parameters**
|
|
52
|
|
53 - **Center Rows** Centering Method for Rows
|
|
54
|
|
55 * No Centering
|
|
56 * Mean
|
|
57 * Median
|
|
58
|
|
59 - **Center Rows** Centering Method for Columns
|
|
60
|
|
61 * No Centering
|
|
62 * Mean
|
|
63 * Median
|
|
64
|
|
65 - **Variance Adjustment for Rows** Variance Adjustment Method for Rows
|
|
66
|
|
67 * No Adjustment
|
|
68 * Median Absolute Deviation
|
|
69 * Standard Deviation
|
|
70
|
|
71 - **Variance Adjustment for Rows** Variance Adjustment Method for Columns
|
|
72
|
|
73 * No Adjustment
|
|
74 * Median Absolute Deviation
|
|
75 * Standard Deviation
|
|
76
|
|
77 </help>
|
|
78 </tool>
|