annotate testandplot.xml @ 75:0a17de046de0 draft

Deleted selected files
author fabio
date Mon, 19 Jun 2017 12:09:26 -0400
parents 2bb6b44093ba
children 7dcc25a1a062
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
58
7a806a3aeda1 Uploaded 20170608
fabio
parents: 56
diff changeset
1 <tool id="iwtomics_testandplot" name="IWTomics Test" version="@VERSION@.0">
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
2 <description>and Plot</description>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
3 <macros>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
4 <import>macros.xml</import>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
5 </macros>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
6 <expand macro="requirements" />
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
7
74
2bb6b44093ba Uploaded 20170619
fabio
parents: 72
diff changeset
8 <command detect_errors="exit_code">
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
9 <![CDATA[
70
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
10 Rscript '$__tool_directory__/testandplot.R' adjustedpvaluematrix='${adjustedpvaluematrix}' iwtomicsrespdf='${iwtomicsrespdf}' iwtomicssumpdf='${iwtomicssumpdf}' iwtomicsrdata='${iwtomicsrdata}' iwtomicstests='${iwtomicstests}' iwtomicsselectedfeatures='${iwtomicsselectedfeatures}'
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
11 regionids='${regionids}'
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
12 featureids='${featureids}'
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
13 rdatafile='${rdata}'
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
14
72
a3bfaf944f73 Uploaded 20170614
fabio
parents: 70
diff changeset
15 #set region1 = ','.join( [ str( $r.region0 ) for $r in $regionssection.regions ] )
a3bfaf944f73 Uploaded 20170614
fabio
parents: 70
diff changeset
16 #set region2 = ','.join( [ str( $r.region1 ) for $r in $regionssection.regions ] )
70
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
17 region1='c(${region1})'
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
18 region2='c(${region2})'
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
19
70
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
20 features_subset='c(${featureslist})'
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
21
72
a3bfaf944f73 Uploaded 20170614
fabio
parents: 70
diff changeset
22 statistics="'${conditionalstatistics.statistics}'"
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
23 #if $conditionalstatistics.statistics == "quantile":
72
a3bfaf944f73 Uploaded 20170614
fabio
parents: 70
diff changeset
24 #set probabilities = ','.join( [ str( $p.qprob ) for $p in $conditionalstatistics.quantilesection.qprobabilities ] )
70
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
25 testprobs='c(${probabilities})'
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
26 #end if
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
27
70
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
28 B='${permutations}'
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
29
70
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
30 testalpha='${plotres.alpha}'
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
31 average='${plotres.average}'
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
32 size='${plotres.size}'
72
a3bfaf944f73 Uploaded 20170614
fabio
parents: 70
diff changeset
33 plottype="'${plotres.conditionalplottype.plottype}'"
a3bfaf944f73 Uploaded 20170614
fabio
parents: 70
diff changeset
34 #if $plotres.conditionalplottype.plottype == "boxplot":
a3bfaf944f73 Uploaded 20170614
fabio
parents: 70
diff changeset
35 #set probs = ','.join( [ str( $p.prob ) for $p in $plotres.conditionalplottype.probabilitiessection.probabilities ] )
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
36 #if $probs != "":
70
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
37 probs='c(${plotres.conditionalplottype.probabilitiessection.prob0},${plotres.conditionalplottype.probabilitiessection.prob1},${plotres.conditionalplottype.probabilitiessection.prob2},${probs})'
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
38 #else:
70
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
39 probs='c(${plotres.conditionalplottype.probabilitiessection.prob0},${plotres.conditionalplottype.probabilitiessection.prob1},${plotres.conditionalplottype.probabilitiessection.prob2})'
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
40 #end if
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
41 #end if
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
42
72
a3bfaf944f73 Uploaded 20170614
fabio
parents: 70
diff changeset
43 groupby="'${plotsum.conditionalgroupby.groupby}'"
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
44 #if $plotsum.conditionalgroupby.groupby == "test":
70
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
45 summaryalpha='${plotsum.conditionalgroupby.testalphaplot}'
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
46 only_significant='${plotsum.conditionalgroupby.testonlysig}'
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
47 #elif $plotsum.conditionalgroupby.groupby == "feature":
70
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
48 summaryalpha='${plotsum.conditionalgroupby.featurealphaplot}'
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
49 only_significant='${plotsum.conditionalgroupby.featureonlysig}'
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
50 #end if
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
51
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
52 >& /dev/null
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
53 ]]>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
54 <!--
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
55 to print the stack add the following line at the end of the command and enable the corresponding entry in output
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
56 2> "${stackerr}"
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
57 -->
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
58 </command>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
59
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
60 <inputs>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
61 <!-- RData -->
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
62 <param format="rdata" name="rdata" type="data" label="Select IWTomicsData object" help="File created by 'IWTomics Load Smooth and Plot'." />
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
63 <!-- region IDs -->
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
64 <param format="tabular" name="regionids" type="data" label="Select region dataset IDs" help="File created by 'IWTomics Load Smooth and Plot'." />
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
65 <!-- feature IDs -->
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
66 <param format="tabular" name="featureids" type="data" label="Select feature IDs" help="File created by 'IWTomics Load Smooth and Plot'." />
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
67
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
68 <!-- repeat region ids -->
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
69 <section name="regionssection" title="Select regions for Interval-Wise Testing" expanded="True" help="IDs of the region datasets to be tested.">
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
70 <repeat name="regions" title="Two-sample test" min="1">
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
71 <param name="region0" type="data_column" data_ref="regionids" numerical="False" label="Region 1" multiple="False" use_header_names="True" />
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
72 <param name="region1" type="data_column" data_ref="regionids" numerical="False" label="Region 2" multiple="False" use_header_names="True" />
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
73 </repeat>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
74 </section>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
75
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
76 <!-- feature ids list -->
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
77 <param name="featureslist" type="data_column" data_ref="featureids" numerical="False" label="Select features" multiple="True" use_header_names="True" help="IDs of the features to be tested." />
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
78
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
79 <!-- conditional statistics -->
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
80 <conditional name="conditionalstatistics">
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
81 <!-- statistics -->
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
82 <param name="statistics" type="select" label="Test statistics">
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
83 <option value="mean">Mean difference</option>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
84 <option value="median">Median difference</option>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
85 <option value="variance">Variance ratio</option>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
86 <option value="quantile">Quantile difference(s)</option>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
87 </param>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
88 <!-- conditional choice: statistics=quantile -->
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
89 <when value="quantile">
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
90 <section name="quantilesection" title="Probabilities" expanded="True" help="Probabilities corresponding to the quantiles in test statistics.">
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
91 <repeat name="qprobabilities" title="Probabilities" min="1">
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
92 <param name="qprob" size="4" type="float" value="0.5" min="0.0" max="1.0" label="Probability" />
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
93 </repeat>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
94 </section>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
95 </when>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
96 </conditional>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
97
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
98 <!-- permutations -->
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
99 <param name="permutations" type="integer" value="1000" min="1" label="Number of permutations" />
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
100
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
101 <!-- plot IWTomics results -->
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
102 <section name="plotres" title="Plot IWTomics test results" expanded="True">
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
103 <!-- alpha -->
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
104 <param name="alpha" size="3" type="float" value="0.05" min="0.0" max="1.0" label="Level of the test (alpha)" />
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
105 <!-- average -->
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
106 <param name="average" type="boolean" truevalue="TRUE" falsevalue="FALSE" checked="True" label="Plot the mean curves" />
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
107 <!-- average -->
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
108 <param name="size" type="boolean" truevalue="TRUE" falsevalue="FALSE" checked="True" label="Plot sample size in each position" />
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
109 <!-- conditional plot type -->
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
110 <conditional name="conditionalplottype">
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
111 <!-- plot type -->
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
112 <param name="plottype" type="select" label="Plot type">
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
113 <option value="boxplot">Pointwise quantile curves (boxplot)</option>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
114 <option value="curves">Curves (aligned)</option>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
115 </param>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
116 <!-- conditional choice: plottype=boxplot -->
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
117 <when value="boxplot">
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
118 <section name="probabilitiessection" title="Probabilities" expanded="True" help="Probabilities corresponding to the quantile curves to be drawn.">
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
119 <param name="prob0" size="3" type="float" value="0.25" min="0.0" max="1.0" label="Probability" />
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
120 <param name="prob1" size="3" type="float" value="0.5" min="0.0" max="1.0" label="Probability" />
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
121 <param name="prob2" size="3" type="float" value="0.75" min="0.0" max="1.0" label="Probability" />
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
122 <repeat name="probabilities" title="Probabilities">
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
123 <param name="prob" size="3" type="float" value="0.5" min="0.0" max="1.0" label="Probability" />
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
124 </repeat>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
125 </section>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
126 </when>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
127 </conditional>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
128 </section>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
129
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
130 <!-- summary plot -->
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
131 <section name="plotsum" title="Summary plot" expanded="True">
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
132 <!-- conditional group by -->
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
133 <conditional name="conditionalgroupby">
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
134 <!-- group by -->
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
135 <param name="groupby" type="select" label="Group by" help="How tests should be grouped.">
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
136 <option value="none">No plot</option>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
137 <option value="test">Group by test</option>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
138 <option value="feature">Group by feature</option>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
139 </param>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
140 <when value="test">
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
141 <param name="testalphaplot" size="3" type="float" value="0.05" min="0.0" max="1.0" label="Level of the test (alpha)" />
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
142 <param name="testonlysig" type="boolean" truevalue="TRUE" falsevalue="FALSE" label="Plot only significant tests" />
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
143 </when>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
144 <when value="feature">
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
145 <param name="featurealphaplot" size="3" type="float" value="0.05" min="0.0" max="1.0" label="Level of the test (alpha)" />
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
146 <param name="featureonlysig" type="boolean" truevalue="TRUE" falsevalue="FALSE" label="Plot only significant tests" />
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
147 </when>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
148 </conditional>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
149 </section>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
150 </inputs>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
151
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
152 <outputs>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
153 <!--<data format="txt" name="stackerr" label="iwtomics.testandplot.stackerr.txt" from_work_dir="iwtomics.testandplot.stackerr.txt" />-->
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
154 <data format="txt" name="adjustedpvaluematrix" label="${tool.name} on ${on_string}: Adjusted p-value Matrix" from_work_dir="iwtomics.testandplot.adjustedpvalue.matrix.txt" />
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
155 <data format="pdf" name="iwtomicsrespdf" label="${tool.name} on ${on_string}: Plotted Test Results" from_work_dir="iwtomics.testandplot.iwtomicstestresults.pdf" />
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
156 <data format="pdf" name="iwtomicssumpdf" label="${tool.name} on ${on_string}: Summary Plot" from_work_dir="iwtomics.testandplot.summaryplot.pdf" />
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
157 <data format="rdata" name="iwtomicsrdata" label="${tool.name} on ${on_string}: IWTomicsData Object with Test Results" from_work_dir="iwtomics.testandplot.RData" />
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
158 <data format="tabular" name="iwtomicstests" label="${tool.name} on ${on_string}: Test IDs" from_work_dir="iwtomics.testandplot.tests.txt" />
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
159 <data format="tabular" name="iwtomicsselectedfeatures" label="${tool.name} on ${on_string}: Feature IDs" from_work_dir="iwtomics.testandplot.selectedfeatures.txt" />
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
160 </outputs>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
161
56
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
162 <tests>
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
163 <test>
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
164 <param name="rdata" value="output_loadandplot/iwtomics.loadandplot.RData" ftype="rdata" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
165 <param name="regionids" value="output_loadandplot/iwtomics.loadandplot.regions.txt" ftype="tabular" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
166 <param name="featureids" value="output_loadandplot/iwtomics.loadandplot.features.txt" ftype="tabular" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
167 <repeat name="regions">
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
168 <param name="region0" value="2" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
169 <param name="region1" value="1" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
170 </repeat>
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
171 <repeat name="regions">
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
172 <param name="region0" value="3" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
173 <param name="region1" value="1" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
174 </repeat>
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
175 <repeat name="regions">
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
176 <param name="region0" value="4" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
177 <param name="region1" value="1" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
178 </repeat>
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
179 <param name="featureslist" value="1,2" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
180 <param name="statistics" value="mean" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
181 <param name="permutations" value="1000" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
182 <param name="alpha" value="0.05" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
183 <param name="average" value="TRUE" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
184 <param name="size" value="TRUE" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
185 <param name="plottype" value="boxplot" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
186 <param name="prob0" value="0.25" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
187 <param name="prob1" value="0.5" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
188 <param name="prob2" value="0.75" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
189 <param name="groupby" value="feature" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
190 <param name="featurealphaplot" value="0.05" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
191 <param name="featureonlysig" value="TRUE" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
192 <output name="adjustedpvaluematrix" file="output_testandplot/iwtomics.testandplot.adjustedpvalue.matrix.txt" compare="sim_size" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
193 <output name="iwtomicsrespdf" file="output_testandplot/iwtomics.testandplot.iwtomicstestresults.pdf" compare="sim_size" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
194 <output name="iwtomicssumpdf" file="output_testandplot/iwtomics.testandplot.summaryplot.pdf" compare="sim_size" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
195 <output name="iwtomicsrdata" file="output_testandplot/iwtomics.testandplot.RData" compare="sim_size" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
196 <output name="iwtomicstests" file="output_testandplot/iwtomics.testandplot.tests.txt" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
197 <output name="iwtomicsselectedfeatures" file="output_testandplot/iwtomics.testandplot.selectedfeatures.txt" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
198 </test>
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
199 </tests>
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
200
68
971bb414cc4f Uploaded 20170609
fabio
parents: 66
diff changeset
201 <help><![CDATA[
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
202 This tool statistically evaluates differences in genomic features between groups of regions along the genome.
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
203 In particular, it implements the Interval-Wise Testing for omics data, an extended version of the Interval-Wise
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
204 Testing for functional data presented in Pini and Vantini (2017). It allows to perform multiple two sample permutation
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
205 tests between pairs of region datasets, on several features. It returns the adjusted p-value curves for every test
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
206 and all possible scales. Moreover, it creates a graphical representation of the Interval-Wise Testing results
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
207 and a summary plot (optional) with p-values at the maximum scale. The tool *IWTomics Plot with Threshold on Test Scale*
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
208 permits to select the scale to be used in the plots.
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
209
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
210 -----
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
211
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
212 **Input files**
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
213
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
214 RData file with the IWTomicsData object, tabular files with region dataset IDs and feature IDs.
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
215 These files are created by the tool *IWTomics Load Smooth and Plot*.
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
216
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
217 -----
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
218
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
219 **Output**
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
220
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
221 The tool returns:
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
222
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
223 1. TXT file with an adjusted p-value matrix for every test performed. Each matrix contains a p-value curve (row) for every scale considered in the test;
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
224 2. PDF file with the plotted test results;
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
225 3. PDF file with the summary plot;
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
226 4. RData with the IWTomicsData object with the test results;
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
227 5. Test identifiers;
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
228 6. Feature identifiers.
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
229
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
230 4-6 can be used as input of the tool *IWTomics Plot with Threshold on Test Scale*
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
231
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
232 -----
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
233
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
234 .. class:: infomark
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
235
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
236 **Notes**
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
237
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
238 This Galaxy tool has been developed by Fabio Cumbo (Third University of Rome, Italy) and Marzia A. Cremona (The Pennsylvania State University, USA).
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
239
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
240 It implements a simplified version of the function *IWTomicsTest*, *plotTest* and *plotSummary* for *IWTomicsData* objects.
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
241 The complete version can be found in the *R/Bioconductor* package *IWTomics* (see vignette_).
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
242
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
243 .. _vignette: https://bioconductor.org/packages/release/bioc/vignettes/IWTomics/inst/doc/IWTomics.pdf
68
971bb414cc4f Uploaded 20170609
fabio
parents: 66
diff changeset
244 ]]></help>
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
245
70
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
246 <expand macro="citations" />
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
247
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
248 </tool>