annotate abims_anova.xml @ 0:8dd2a438bfba draft

Uploaded
author lecorguille
date Tue, 30 Jun 2015 06:02:46 -0400
parents
children e646ad125f2d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
1 <tool id="abims_anova" name="Anova" version="1.1">
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
2
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
3 <requirements>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
4 <requirement type="binary">Rscript</requirement>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
5 <requirement type="binary">batch</requirement>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
6 </requirements>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
7
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
8 <description>N-way anova. With ou Without interactions</description>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
9
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
10 <command interpreter="Rscript">
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
11 abims_anova.r file "$input" sampleinfo "$sampleinfo" mode "$mode"
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
12 condition "c('$condition_1'
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
13 #for $i, $s in enumerate( $conditions )
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
14 ,'${s.condition}'
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
15 #end for
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
16 )"
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
17 interaction $interaction method $method threshold $threshold selection_method $selection_method sep "$sep" dec "$dec" outputdatapvalue $dataMatrixPValue outputdatafiltered $dataMatrixFiltered
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
18 </command>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
19
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
20 <inputs>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
21 <param name="input" type="data" label="Data Matrix file" format="tabular" help="Matrix of numeric data with headers." />
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
22 <param name="sampleinfo" type="data" label="Sample Metadata file" format="tabular" help="Tabular file with the data metadata : one sample per line and at least two columns : ids and one condition" />
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
23
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
24 <param name="mode" type="select" help="Perform the anova tests on column/row" format="text" optional="true">
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
25 <label>Mode</label>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
26 <option value="row">row</option>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
27 <option value="column">column</option>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
28 </param>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
29
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
30 <param name="condition_1" type="text" label="Condition" value="" help="The column name of the condition. ex: hour or treatment" optional="false" />
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
31 <repeat name="conditions" title="Conditions for N-ways anova">
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
32 <param name="condition" type="text" label="Condition" value="" help="The column name of the condition. ex: hour or treatment" />
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
33 </repeat>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
34
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
35 <param name="interaction" type="boolean" label="Enable interaction response p-values" truevalue="T" falsevalue="F" help="Used if more than 1 conditon. The anova will produse p-value according to the interaction between your condition (ex: condition1:conditions2, condition1:conditions3, condition2:conditions3 and condition1:condition2:conditions3)" />
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
36
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
37 <param name="method" type="select" help="Method used to apply a correction on the pvalue because of the number of test" format="text" optional="true">
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
38 <label>PValue adjusted method</label>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
39 <option value="BH">BH</option>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
40 <option value="holm">holm</option>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
41 <option value="bonferroni">bonferroni</option>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
42 <option value="hochberg">hochberg</option>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
43 <option value="hommel">hommel</option>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
44 <option value="BY">BY</option>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
45 <option value="fdr">fdr</option>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
46 <option value="none">none</option>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
47 </param>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
48
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
49 <param name="threshold" type="float" label="Threshold" value="0.01" help="max adjusted p.value accepted" />
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
50
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
51 <param name="selection_method" type="select" format="text" help="Intersection: all condition p-value must be under the threshold. Union: at least condition p-value must be under the threshold. ">
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
52 <label>Selection method</label>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
53 <option value="intersection" selected="true">intersection / strong</option>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
54 <option value="union">union / weak</option>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
55 </param>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
56
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
57 <param name="sep" type="select" format="text">
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
58 <label>Separator of columns</label>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
59 <option value="tabulation">tabulation</option>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
60 <option value="semicolon">;</option>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
61 <option value="comma">,</option>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
62 </param>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
63
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
64 <param name="dec" type="text" label="Decimal separator" value="." help="" />
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
65
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
66 </inputs>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
67
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
68 <outputs>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
69 <data name="dataMatrixPValue" format="input" label="${input.name}_anova_pvalue.${input.ext}"/>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
70 <data name="dataMatrixFiltered" format="input" label="${input.name}_anova_filtered.${input.ext}"/>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
71 </outputs>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
72
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
73 <stdio>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
74 <exit_code range="1:" level="fatal" />
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
75 </stdio>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
76
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
77 <help>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
78
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
79 .. class:: infomark
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
80
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
81 **Authors** Gildas Le Corguille ABiMS - UPMC/CNRS - Station Biologique de Roscoff - gildas.lecorguille|at|sb-roscoff.fr
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
82
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
83 ---------------------------------------------------
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
84
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
85 =====
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
86 Anova
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
87 =====
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
88
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
89 -----------
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
90 Description
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
91 -----------
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
92
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
93 Analysis of variance (ANOVA) is used to analyze the differences between group means and their associated procedures,
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
94 in which the observed variance in a particular variable is partitioned into components attributable to different sources of variation.
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
95
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
96
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
97
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
98 -----------
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
99 Input files
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
100 -----------
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
101
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
102 +---------------------------+------------+
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
103 | Parameter : num + label | Format |
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
104 +===========================+============+
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
105 | 1 : Data Matrix file | Tabular |
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
106 +---------------------------+------------+
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
107 | 2 : Sample Metadata file | Tabular |
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
108 +---------------------------+------------+
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
109
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
110
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
111
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
112 ------------
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
113 Output files
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
114 ------------
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
115
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
116
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
117
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
118 ***.anova_pvalue.tabular**
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
119
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
120 | A tabular file which represents for each metabolite (row), the value of the intensity in each sample (column) + two columns (aovPValue and aovAdjPValue).
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
121
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
122 ***.anova_filtered.tabular**
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
123
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
124 | The tabular file xset.anova_pvalue.tabular containing only the metabolites that have been filtered by aovAdjPValue.
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
125
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
126
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
127 ------
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
128
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
129 .. class:: infomark
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
130
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
131 The outputs ***.anova_filtered.tabular** or ***.anova_pvalue.tabular** are tabular files. You can continue your analysis using it in the following tools:
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
132 | PCA
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
133 | Hierarchical Clustering
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
134
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
135
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
136
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
137 ---------------------------------------------------
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
138
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
139 ---------------
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
140 Working example
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
141 ---------------
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
142
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
143
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
144 Input files
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
145 -----------
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
146
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
147 **>A part of an example of Data Matrix file input**
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
148
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
149
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
150 +--------+------------------+----------------+
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
151 | Name | Bur-eH_FSP_12 | Bur-eH_FSP_24 |
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
152 +========+==================+================+
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
153 |M202T601| 91206595.7559783 |106808979.08546 |
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
154 +--------+------------------+----------------+
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
155 |M234T851| 27249137.275504 |28824971.3177926|
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
156 +--------+------------------+----------------+
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
157
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
158 **>A part of an example of Sample Metadata file input**
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
159
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
160
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
161 +---------------------------+------------+------------+------------+
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
162 | Sample name | class | time | batch |
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
163 +===========================+============+============+============+
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
164 | Bur-eH_FSP_12 | Bur-eH | 12 | 1 |
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
165 +---------------------------+------------+------------+------------+
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
166 | Bur-eH_FSP_24 | Bur-eH | 24 | 1 |
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
167 +---------------------------+------------+------------+------------+
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
168 | Bur-NI_FSP_12 | Bur-NI | 12 | 2 |
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
169 +---------------------------+------------+------------+------------+
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
170 | Bur-NI_FSP_24 | Bur-NI | 24 | 2 |
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
171 +---------------------------+------------+------------+------------+
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
172
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
173 Parameters
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
174 ----------
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
175
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
176 | Mode -> **row**
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
177 | column name of condition -> **class**
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
178 | Separator of columns: -> **tabulation**
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
179 | Decimal separator -> **.**
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
180 | PValue adjusted method -> **BH**
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
181 | Threshold -> **0.001**
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
182
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
183
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
184
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
185 Output files
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
186 ------------
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
187
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
188 **Part of an example of xset.anova_filtered.tabular:**
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
189
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
190 .. image:: anova_pvalue.png
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
191
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
192 **Part of an example of xset.anova_pvalue.tabular:**
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
193
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
194 .. image:: anova_filtered.png
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
195
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
196
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
197 </help>
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
198
8dd2a438bfba Uploaded
lecorguille
parents:
diff changeset
199 </tool>