Mercurial > repos > iuc > aldex2
comparison aldex2.xml @ 0:f4d0bd4b4d6d draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/aldex2 commit b99f09cf03f075a6881d192b0f1233233289fa60
author | iuc |
---|---|
date | Wed, 29 Jun 2022 07:36:45 +0000 |
parents | |
children | 75214276e2b7 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f4d0bd4b4d6d |
---|---|
1 <tool id="aldex2" name="ALDEx2" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> | |
2 <description>differential abundance analysis</description> | |
3 <macros> | |
4 <import>macros.xml</import> | |
5 </macros> | |
6 <expand macro="biotools"/> | |
7 <expand macro="requirements"/> | |
8 <command detect_errors="exit_code"><![CDATA[ | |
9 ## Enable building the conditions_vector. | |
10 #set group_names = [] | |
11 #set num_cols = [] | |
12 #for $condition_items in $conditions: | |
13 $group_names.append(str($condition_items.group_name)) | |
14 $num_cols.append(str($condition_items.num_cols)) | |
15 #end for | |
16 #set group_names = ','.join($group_names) | |
17 #set num_cols = ','.join($num_cols) | |
18 | |
19 #if str($analysis_type_cond.analysis_type) == 'aldex_corr': | |
20 ## Enable building the cond_var (a continuous numeric vector). | |
21 #set group_nums = [] | |
22 #set num_cols_in_groups = [] | |
23 #for $cont_var_items in $analysis_type_cond.cont_var: | |
24 $group_nums.append(str($cont_var_items.group_num)) | |
25 $num_cols_in_groups.append(str($cont_var_items.num_cols_in_group)) | |
26 #end for | |
27 #set group_nums = ','.join($group_nums) | |
28 #set num_cols_in_groups = ','.join($num_cols_in_groups) | |
29 #end if | |
30 | |
31 Rscript '${__tool_directory__}/aldex2.R' | |
32 --reads '$reads' | |
33 --group_names '$group_names' | |
34 --num_cols '$num_cols' | |
35 --num_mc_samples $num_mc_samples | |
36 --denom '$denom' | |
37 --analysis_type '$analysis_type_cond.analysis_type' | |
38 #if str($analysis_type_cond.analysis_type) == 'aldex': | |
39 --aldex_test '$analysis_type_cond.aldex_test' | |
40 --effect '$analysis_type_cond.effect' | |
41 --include_sample_summary '$analysis_type_cond.include_sample_summary' | |
42 --iterate '$analysis_type_cond.iterate' | |
43 #else if str($analysis_type_cond.analysis_type) == 'aldex_corr': | |
44 --group_nums '$group_nums' | |
45 --num_cols_in_groups '$num_cols_in_groups' | |
46 #else if str($analysis_type_cond.analysis_type) == 'aldex_effect': | |
47 --include_sample_summary '$analysis_type_cond.include_sample_summary' | |
48 #else if str($analysis_type_cond.analysis_type) == 'aldex_plot': | |
49 --aldex_test '$analysis_type_cond.aldex_test' | |
50 --effect '$analysis_type_cond.effect' | |
51 --include_sample_summary '$analysis_type_cond.include_sample_summary' | |
52 --iterate '$analysis_type_cond.iterate' | |
53 --plot_type '$analysis_type_cond.plot_type' | |
54 --plot_test '$analysis_type_cond.plot_test' | |
55 --cutoff_pval $analysis_type_cond.cutoff_pval | |
56 --cutoff_effect $analysis_type_cond.cutoff_effect | |
57 #if str($analysis_type_cond.xlab) != '': | |
58 --xlab '$analysis_type_cond.xlab' | |
59 #end if | |
60 #if str($analysis_type_cond.ylab) != '': | |
61 --ylab '$analysis_type_cond.ylab' | |
62 #end if | |
63 #else if str($analysis_type_cond.analysis_type) == 'aldex_plot_feature': | |
64 --feature_name '$analysis_type_cond.feature_name' | |
65 #else if str($analysis_type_cond.analysis_type) == 'aldex_ttest': | |
66 --paired_test '$analysis_type_cond.paired_test' | |
67 --hist_plot '$analysis_type_cond.hist_plot' | |
68 #end if | |
69 #if str($analysis_type_cond.analysis_type) == 'aldex': | |
70 --output '$output_aldex' | |
71 #else if str($analysis_type_cond.analysis_type) == 'aldex_corr': | |
72 --output '$output_aldex_corr' | |
73 #else if str($analysis_type_cond.analysis_type) == 'aldex_effect': | |
74 --output '$output_aldex_effect' | |
75 #else if str($analysis_type_cond.analysis_type) == 'aldex_expected_distance': | |
76 --output '$output_aldex_expected_distance' | |
77 #else if str($analysis_type_cond.analysis_type) == 'aldex_kw': | |
78 --output '$output_aldex_kw' | |
79 #else if str($analysis_type_cond.analysis_type) == 'aldex_plot': | |
80 --output '$output_aldex_plot' | |
81 #else if str($analysis_type_cond.analysis_type) == 'aldex_plot_feature': | |
82 --output '$output_aldex_plot_feature' | |
83 #else if str($analysis_type_cond.analysis_type) == 'aldex_ttest': | |
84 --output '$output_aldex_ttest' | |
85 #if str($analysis_type_cond.hist_plot) == 'true': | |
86 && mv 'Rplots.pdf' '$output_aldex_ttest_plot' | |
87 #end if | |
88 #end if | |
89 ]]></command> | |
90 <inputs> | |
91 <param argument="--reads" type="data" format="tabular" label="Reads table file" help="Rows contain genes and columns contain sequencing read counts"/> | |
92 <repeat name="conditions" title="Comparison group" min="1"> | |
93 <param name="group_name" type="text" value="Grp1" label="Group name" help="Specify a group label and the number of sequencing read count columns associated with it"> | |
94 <validator type="empty_field"/> | |
95 <expand macro="sanitize_query" validinitial="string.ascii_letters,string.punctuation"/> | |
96 </param> | |
97 <param name="num_cols" type="integer" min="1" value="1" label="Number of columns in group"/> | |
98 </repeat> | |
99 <param argument="--num_mc_samples" type="integer" min="1" value="128" label="Number of Monte Carlo samples to use when estimating the underlying distributions"/> | |
100 <param argument="--denom" type="select" label="Select features to retain as the denominator for the Geometric Mean calculation"> | |
101 <option value="all" selected="true">All features</option> | |
102 <option value="median">Median abundance of all features</option> | |
103 <option value="iqlr">Features that are between the first and third quartile of the variance of the clr values across all samples</option> | |
104 <option value="zero">Non-zero features in each group as the denominator</option> | |
105 <option value="lvha">features that have low variance and high relative abundance</option> | |
106 </param> | |
107 <conditional name="analysis_type_cond"> | |
108 <param name="analysis_type" type="select" label="Select the analysis to be performed"> | |
109 <option value="aldex" selected="true">Compute an ALDEx2 object (aldex)</option> | |
110 <option value="aldex_corr">Calculate correlation with a continuous variable (aldex.corr)</option> | |
111 <option value="aldex_effect">Calculate effect sizes and differences between conditions (aldex.effect)</option> | |
112 <option value="aldex_expected_distance">Calculate the expected values of distances between samples (aldex.expectedDistance)</option> | |
113 <option value="aldex_kw">Calculate the Kruskal-Wallis test and glm ANOVA statistics (aldex.kw)</option> | |
114 <option value="aldex_plot">Plot an ALDEx2 object (aldex.plot)</option> | |
115 <option value="aldex_plot_feature">Show dispersion of the expected values returned by aldex.effect (aldex.plotFeature)</option> | |
116 <option value="aldex_ttest">Calculate Welch’s t-test and Wilcoxon test statistics (aldex.ttest)</option> | |
117 </param> | |
118 <when value="aldex"> | |
119 <expand macro="aldex_test_param"/> | |
120 <expand macro="effect_param"/> | |
121 <expand macro="include_sample_summary_param"/> | |
122 <expand macro="iterate_param"/> | |
123 </when> | |
124 <when value="aldex_corr"> | |
125 <repeat name="cont_var" title="Group number" min="1"> | |
126 <param name="group_num" type="integer" min="1" value="1" label="Group number" help="Specify a group number and the number of columns from the Reads table file associated with the group"/> | |
127 <param name="num_cols_in_group" type="integer" min="1" value="1" label="Number of columns in group"/> | |
128 </repeat> | |
129 </when> | |
130 <when value="aldex_effect"> | |
131 <expand macro="include_sample_summary_param"/> | |
132 </when> | |
133 <when value="aldex_expected_distance"/> | |
134 <when value="aldex_kw"/> | |
135 <when value="aldex_plot"> | |
136 <expand macro="aldex_test_param"/> | |
137 <expand macro="effect_param"/> | |
138 <expand macro="include_sample_summary_param"/> | |
139 <expand macro="iterate_param"/> | |
140 <param name="plot_type" type="select" label="Select the plot type"> | |
141 <option value="MA" selected="true">A Bland-Altman style plot</option> | |
142 <option value="MW">A difference between to a variance within plot</option> | |
143 </param> | |
144 <param name="plot_test" type="select" label="Select the method of calculating significance"> | |
145 <option value="welch" selected="true">Welch’s t test</option> | |
146 <option value="wilcox">Wilcox rank test</option> | |
147 <option value="kruskal">Kruskal-Wallace test</option> | |
148 </param> | |
149 <param name="cutoff_pval" type="float" value="0.1" min="0" label="Benjamini-Hochberg fdr cutoff"/> | |
150 <param name="cutoff_effect" type="integer" value="1" min="0" label="Effect size cutoff for plotting"/> | |
151 <param name="xlab" type="text" value="" optional="true" label="x-label for the plot"> | |
152 <expand macro="sanitize_query" validinitial="string.ascii_letters,string.punctuation"/> | |
153 </param> | |
154 <param name="ylab" type="text" value="" optional="true" label="y-label for the plot"> | |
155 <expand macro="sanitize_query" validinitial="string.ascii_letters,string.punctuation"/> | |
156 </param> | |
157 </when> | |
158 <when value="aldex_plot_feature"> | |
159 <param name="feature_name" type="text" value="" label="Name of the feature from the input data to be plotted"> | |
160 <expand macro="sanitize_query" validinitial="string.ascii_letters,string.punctuation"/> | |
161 </param> | |
162 </when> | |
163 <when value="aldex_ttest"> | |
164 <param argument="--paired_test" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Calculate effect size for paired samples?"/> | |
165 <param argument="--hist_plot" type="select" label="Plot a histogram of p-values for the first Dirichlet Monte Carlo instance?"> | |
166 <option value="false" selected="true">No</option> | |
167 <option value="true">Yes</option> | |
168 </param> | |
169 </when> | |
170 </conditional> | |
171 </inputs> | |
172 <outputs> | |
173 <data name="output_aldex" format="tabular" label="${tool.name} on ${on_string}: (aldex)"> | |
174 <filter>analysis_type_cond['analysis_type'] == 'aldex'</filter> | |
175 </data> | |
176 <data name="output_aldex_corr" format="tabular" label="${tool.name} on ${on_string}: (aldex.corr)"> | |
177 <filter>analysis_type_cond['analysis_type'] == 'aldex_corr'</filter> | |
178 </data> | |
179 <data name="output_aldex_effect" format="tabular" label="${tool.name} on ${on_string}: (aldex.effect)"> | |
180 <filter>analysis_type_cond['analysis_type'] == 'aldex_effect'</filter> | |
181 </data> | |
182 <data name="output_aldex_expected_distance" format="png" label="${tool.name} on ${on_string}: (aldex.expectedDistance)"> | |
183 <filter>analysis_type_cond['analysis_type'] == 'aldex_expected_distance'</filter> | |
184 </data> | |
185 <data name="output_aldex_kw" format="tabular" label="${tool.name} on ${on_string}: (aldex.kw)"> | |
186 <filter>analysis_type_cond['analysis_type'] == 'aldex_kw'</filter> | |
187 </data> | |
188 <data name="output_aldex_plot" format="png" label="${tool.name} on ${on_string}: (aldex.plot)"> | |
189 <filter>analysis_type_cond['analysis_type'] == 'aldex_plot'</filter> | |
190 </data> | |
191 <data name="output_aldex_plot_feature" format="png" label="${tool.name} on ${on_string}: (aldex.plotFeature)"> | |
192 <filter>analysis_type_cond['analysis_type'] == 'aldex_plot_feature'</filter> | |
193 </data> | |
194 <data name="output_aldex_ttest" format="tabular" label="${tool.name} on ${on_string}: (aldex.ttest)"> | |
195 <filter>analysis_type_cond['analysis_type'] == 'aldex_ttest'</filter> | |
196 </data> | |
197 <data name="output_aldex_ttest_plot" format="pdf" label="${tool.name} on ${on_string}: (aldex.ttest hist plot)"> | |
198 <filter>analysis_type_cond['analysis_type'] == 'aldex_ttest' and analysis_type_cond['hist_plot'] == 'true'</filter> | |
199 </data> | |
200 </outputs> | |
201 <tests> | |
202 <test expect_num_outputs="1"> | |
203 <param name="reads" value="reads.tabular" ftype="tabular"/> | |
204 <repeat name="conditions"> | |
205 <param name="group_name" value="NS"/> | |
206 <param name="num_cols" value="7"/> | |
207 </repeat> | |
208 <repeat name="conditions"> | |
209 <param name="group_name" value="S"/> | |
210 <param name="num_cols" value="7"/> | |
211 </repeat> | |
212 <output name="output_aldex" ftype="tabular"> | |
213 <assert_contents> | |
214 <has_text text="rab.all"/> | |
215 <has_size value="39906" delta="100"/> | |
216 </assert_contents> | |
217 </output> | |
218 </test> | |
219 <test expect_num_outputs="1"> | |
220 <param name="reads" value="reads.tabular" ftype="tabular"/> | |
221 <repeat name="conditions"> | |
222 <param name="group_name" value="NS"/> | |
223 <param name="num_cols" value="7"/> | |
224 </repeat> | |
225 <repeat name="conditions"> | |
226 <param name="group_name" value="S"/> | |
227 <param name="num_cols" value="7"/> | |
228 </repeat> | |
229 <param name="denom" value="zero"/> | |
230 <output name="output_aldex" ftype="tabular"> | |
231 <assert_contents> | |
232 <has_text text="rab.all"/> | |
233 <has_size value="39908" delta="100"/> | |
234 </assert_contents> | |
235 </output> | |
236 </test> | |
237 <test expect_num_outputs="1"> | |
238 <param name="reads" value="reads.tabular" ftype="tabular"/> | |
239 <repeat name="conditions"> | |
240 <param name="group_name" value="NS"/> | |
241 <param name="num_cols" value="7"/> | |
242 </repeat> | |
243 <repeat name="conditions"> | |
244 <param name="group_name" value="S"/> | |
245 <param name="num_cols" value="7"/> | |
246 </repeat> | |
247 <param name="effect" value="false"/> | |
248 <param name="include_sample_summary" value="true"/> | |
249 <param name="iterate" value="true"/> | |
250 <output name="output_aldex" ftype="tabular"> | |
251 <assert_contents> | |
252 <has_text text="we.ep"/> | |
253 <has_size value="14595" delta="100"/> | |
254 </assert_contents> | |
255 </output> | |
256 </test> | |
257 <test expect_num_outputs="1"> | |
258 <param name="reads" value="reads.tabular" ftype="tabular"/> | |
259 <repeat name="conditions"> | |
260 <param name="group_name" value="NS"/> | |
261 <param name="num_cols" value="7"/> | |
262 </repeat> | |
263 <repeat name="conditions"> | |
264 <param name="group_name" value="S"/> | |
265 <param name="num_cols" value="7"/> | |
266 </repeat> | |
267 <param name="aldex_test" value="kw"/> | |
268 <output name="output_aldex" ftype="tabular"> | |
269 <assert_contents> | |
270 <has_text text="kw.ep"/> | |
271 <has_size value="14615" delta="100"/> | |
272 </assert_contents> | |
273 </output> | |
274 </test> | |
275 <test expect_num_outputs="1"> | |
276 <param name="reads" value="reads.tabular" ftype="tabular"/> | |
277 <repeat name="conditions"> | |
278 <param name="group_name" value="NS"/> | |
279 <param name="num_cols" value="7"/> | |
280 </repeat> | |
281 <repeat name="conditions"> | |
282 <param name="group_name" value="S"/> | |
283 <param name="num_cols" value="7"/> | |
284 </repeat> | |
285 <param name="analysis_type" value="aldex_corr"/> | |
286 <repeat name="cont_var"> | |
287 <param name="group_num" value="1"/> | |
288 <param name="num_cols_in_group" value="7"/> | |
289 </repeat> | |
290 <repeat name="cont_var"> | |
291 <param name="group_num" value="2"/> | |
292 <param name="num_cols_in_group" value="7"/> | |
293 </repeat> | |
294 <output name="output_aldex_corr" ftype="tabular"> | |
295 <assert_contents> | |
296 <has_text text="pearson.ecor"/> | |
297 <has_size value="33232" delta="100"/> | |
298 </assert_contents> | |
299 </output> | |
300 </test> | |
301 <test expect_num_outputs="1"> | |
302 <param name="reads" value="reads.tabular" ftype="tabular"/> | |
303 <repeat name="conditions"> | |
304 <param name="group_name" value="NS"/> | |
305 <param name="num_cols" value="7"/> | |
306 </repeat> | |
307 <repeat name="conditions"> | |
308 <param name="group_name" value="S"/> | |
309 <param name="num_cols" value="7"/> | |
310 </repeat> | |
311 <param name="analysis_type" value="aldex_effect"/> | |
312 <output name="output_aldex_effect" ftype="tabular"> | |
313 <assert_contents> | |
314 <has_text text="rab.all"/> | |
315 <has_size value="25268" delta="100"/> | |
316 </assert_contents> | |
317 </output> | |
318 </test> | |
319 <test expect_num_outputs="1"> | |
320 <param name="reads" value="reads.tabular" ftype="tabular"/> | |
321 <repeat name="conditions"> | |
322 <param name="group_name" value="NS"/> | |
323 <param name="num_cols" value="7"/> | |
324 </repeat> | |
325 <repeat name="conditions"> | |
326 <param name="group_name" value="S"/> | |
327 <param name="num_cols" value="7"/> | |
328 </repeat> | |
329 <param name="analysis_type" value="aldex_expected_distance"/> | |
330 <output name="output_aldex_expected_distance" ftype="png"> | |
331 <assert_contents> | |
332 <has_size value="70183" delta="2000"/> | |
333 </assert_contents> | |
334 </output> | |
335 </test> | |
336 <test expect_num_outputs="1"> | |
337 <param name="reads" value="reads.tabular" ftype="tabular"/> | |
338 <repeat name="conditions"> | |
339 <param name="group_name" value="NS"/> | |
340 <param name="num_cols" value="7"/> | |
341 </repeat> | |
342 <repeat name="conditions"> | |
343 <param name="group_name" value="S"/> | |
344 <param name="num_cols" value="7"/> | |
345 </repeat> | |
346 <param name="analysis_type" value="aldex_kw"/> | |
347 <output name="output_aldex_kw" ftype="tabular"> | |
348 <assert_contents> | |
349 <has_text text="kw.ep"/> | |
350 <has_size value="14623" delta="100"/> | |
351 </assert_contents> | |
352 </output> | |
353 </test> | |
354 <test expect_num_outputs="1"> | |
355 <param name="reads" value="reads.tabular" ftype="tabular"/> | |
356 <repeat name="conditions"> | |
357 <param name="group_name" value="NS"/> | |
358 <param name="num_cols" value="7"/> | |
359 </repeat> | |
360 <repeat name="conditions"> | |
361 <param name="group_name" value="S"/> | |
362 <param name="num_cols" value="7"/> | |
363 </repeat> | |
364 <param name="analysis_type" value="aldex_plot"/> | |
365 <output name="output_aldex_plot" ftype="png"> | |
366 <assert_contents> | |
367 <has_size value="19064" delta="500"/> | |
368 </assert_contents> | |
369 </output> | |
370 </test> | |
371 <test expect_num_outputs="1"> | |
372 <param name="reads" value="reads.tabular" ftype="tabular"/> | |
373 <repeat name="conditions"> | |
374 <param name="group_name" value="NS"/> | |
375 <param name="num_cols" value="7"/> | |
376 </repeat> | |
377 <repeat name="conditions"> | |
378 <param name="group_name" value="S"/> | |
379 <param name="num_cols" value="7"/> | |
380 </repeat> | |
381 <param name="analysis_type" value="aldex_plot_feature"/> | |
382 <param name="feature_name" value="A:D:A:E"/> | |
383 <output name="output_aldex_plot_feature" ftype="png"> | |
384 <assert_contents> | |
385 <has_size value="30772" delta="2000"/> | |
386 </assert_contents> | |
387 </output> | |
388 </test> | |
389 <test expect_num_outputs="1"> | |
390 <param name="reads" value="reads.tabular" ftype="tabular"/> | |
391 <repeat name="conditions"> | |
392 <param name="group_name" value="NS"/> | |
393 <param name="num_cols" value="7"/> | |
394 </repeat> | |
395 <repeat name="conditions"> | |
396 <param name="group_name" value="S"/> | |
397 <param name="num_cols" value="7"/> | |
398 </repeat> | |
399 <param name="analysis_type" value="aldex_ttest"/> | |
400 <output name="output_aldex_ttest" ftype="tabular"> | |
401 <assert_contents> | |
402 <has_text text="we.ep"/> | |
403 <has_size value="14596" delta="100"/> | |
404 </assert_contents> | |
405 </output> | |
406 </test> | |
407 <test expect_num_outputs="2"> | |
408 <param name="reads" value="reads.tabular" ftype="tabular"/> | |
409 <repeat name="conditions"> | |
410 <param name="group_name" value="NS"/> | |
411 <param name="num_cols" value="7"/> | |
412 </repeat> | |
413 <repeat name="conditions"> | |
414 <param name="group_name" value="S"/> | |
415 <param name="num_cols" value="7"/> | |
416 </repeat> | |
417 <param name="analysis_type" value="aldex_ttest"/> | |
418 <param name="paired_test" value="true"/> | |
419 <param name="hist_plot" value="true"/> | |
420 <output name="output_aldex_ttest" ftype="tabular"> | |
421 <assert_contents> | |
422 <has_text text="we.ep"/> | |
423 <has_size value="13822" delta="100"/> | |
424 </assert_contents> | |
425 </output> | |
426 <output name="output_aldex_ttest_plot" ftype="pdf"> | |
427 <assert_contents> | |
428 <has_text text="%PDF"/> | |
429 <has_size value="7331" delta="100"/> | |
430 </assert_contents> | |
431 </output> | |
432 </test> | |
433 </tests> | |
434 <help> | |
435 **What it does** | |
436 | |
437 Performs a differential abundance analysis for the comparison of two or more conditions (e.g., single-organism | |
438 and meta-RNA-seq high-throughput sequencing assays, or of selected and unselected values from in-vitro sequence | |
439 selections). This tool generates Monte Carlo samples of the Dirichlet distribution for each sample, converts | |
440 each instance using a log-ratio transform, then returns test results for two sample (Welch’s t, Wilcoxon) or | |
441 multi-sample (glm, Kruskal-Wallace) tests. The tool also estimates effect size for two sample analyses. | |
442 | |
443 **Options** | |
444 | |
445 * **Reads table file** - a tabular file with unique names for all rows and columns. Rows should contain genes and columns should contain sequencing read counts (i.e., sample vectors). Rows with 0 reads in each sample are deleted prior to analysis. | |
446 * **Define the comparison groups describing the reads data structure** - Specify a group label and the number of sequencing read count columns associated with it. The total number of columns must be equal to the number of numeric columns in the selected Reads table file. | |
447 * **Number of Monte Carlo samples to use** - the number of Monte Carlo samples to use when estimating the underlying distributions. Since we are estimating central tendencies, 128 is usually sufficient. | |
448 * **Select features to retain as the denominator for the Geometric Mean calculation** - indicates which features to retain as the denominator for the Geometric Mean calculation. | |
449 * **Select the analysis to be performed** | |
450 | |
451 * **Compute an ALDEx2 object (aldex)** - performs log-ratio transformation and statistical testing. Specifically, this function: (a) generates Monte Carlo samples of the Dirichlet distribution for each sample, (b) converts each instance using a log-ratio transform, then (c) retcalculates the expected values for the correlation between each feature and a contin- uous variable, using data returned returned by aldex.clr and a vector of the continuous variable. Returns results of Pearson, Spearman and Kendall tests.urns test results for two sample (Welch’s t, Wilcoxon) or multi-sample (glm, Kruskal-Wallace) tests. This function also estimates effect size for two sample analyses. | |
452 | |
453 * **Select the tests to be performed** - select the tests to be performed when crearing the ALDEx2 object. | |
454 * **Calculate abundances and effect sizes** - applies only if the selected test is Welch’s t and Wilcox tests, or if tests are performed iteratively. | |
455 * **Include median clr values for each sample** - specify whether to include median clr values for each sample (applies only if abundances and effect sizes are calculated). | |
456 * **Perform tests iteratively** - Specify whether to iteratively perform a test. For example, this will use the results from an initial Welch’s t and Wilcox test routine to seed the reference (i.e., denominator of Geometric Mean calculation) for a second Welch’s t and Wilcox test routine. | |
457 | |
458 * **Calculate correlation with a continuous variable (aldex.corr)** - calculates the expected values for the correlation between each feature and a continuous variable using data returned by aldex.clr and a vector of the continuous variable. Returns results of Pearson, Spearman and Kendall tests. | |
459 * **Calculate effect sizes and differences between conditions (aldex.effect)** - calculates (1) the median clr abundances per sample, per condition, (2) the median differences in abundance between 2 conditions and (3) the median effect size and proportion of effect that overlaps 0. | |
460 * **Calculate the expected values of distances between samples (aldex.expectedDistance)** - calculates the expected value of distances between samples using the median value of distances derived from N Monte-Carlo replicates. | |
461 * **Calculate the Kruskal-Wallis test and glm ANOVA statistics (aldex.kw)** - calculates the expected values of the Kruskal-Wallis test and a glm ANOVA. | |
462 * **Plot an ALDEx2 object (aldex.plot)** - generate an MW-plot or an MA-plot of the given ALDEx2 object. | |
463 * **Show dispersion of the expected values returned by aldex.effect (aldex.plotFeature)** - generates density plots showing the dispersion of the expected values given in the output from aldex.effect. The expected values are shown in the plots. This is a diagnostic visualization to help determine if the expected values are trustworthy. | |
464 * **Calculate Welch’s t-test and Wilcoxon test statistics (aldex.ttest)** - calculate the expected values of the Wilcoxon Rank Sum test and Welch's t-test on the data returned by aldex.clr | |
465 | |
466 * **Calculate paired tests** - specify whether to calculate effect size for paired samples (applies only if abundances and effect sizes are calculated and the selected test is Welch’s t and Wilcox tests). | |
467 * **Plot a histogram of p-values for the first Dirichlet Monte Carlo instance** - specify whether to plot a histogram of p-values for the first Dirichlet Monte Carlo instance. | |
468 </help> | |
469 <expand macro="citations"/> | |
470 </tool> | |
471 |