annotate testandplot.xml @ 2:eef620cd3902 draft

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