Mercurial > repos > malex > secimtools
comparison anova_fixed.xml @ 1:2e7d47c0b027 draft
"planemo upload for repository https://malex@toolshed.g2.bx.psu.edu/repos/malex/secimtools"
author | malex |
---|---|
date | Mon, 08 Mar 2021 22:04:06 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:b54326490b4d | 1:2e7d47c0b027 |
---|---|
1 <tool id="secimtools_anova_fixed" name="Analysis of Variance (ANOVA) Fixed Effects Model" version="@WRAPPER_VERSION@"> | |
2 <description>- Perform a multi-way ANOVA with covariates and fixed effects.</description> | |
3 <macros> | |
4 <import>macros.xml</import> | |
5 </macros> | |
6 <expand macro="requirements" /> | |
7 <command detect_errors="exit_code"><![CDATA[ | |
8 anova_fixed.py | |
9 --input $input | |
10 --design $design | |
11 --ID $uniqID | |
12 --factors "$factor" | |
13 --factorTypes $factorTypes | |
14 --out $results_table | |
15 --flags $flags_table | |
16 --fig $qq_plots | |
17 --fig2 $volcano_plots | |
18 #if $interactions | |
19 --interactions | |
20 #end if | |
21 ]]></command> | |
22 <inputs> | |
23 <param name="input" type="data" format="tabular" label="Wide Dataset" help="Input your tab-separated wide format dataset. If file is not tab separated see TIP below."/> | |
24 <param name="design" type="data" format="tabular" label="Design File" help="Input your design file (tab-separated). Note: you need a 'sampleID' column. If not-tab separated, see TIP below."/> | |
25 <param name="uniqID" type="text" size="30" value="" label="Unique Feature Identifier" help="Name of the column in your wide dataset that contains unique feature identifiers."/> | |
26 <param name="factor" type="text" size="30" value="" label="Group(s)/Treatment(s)" help="Name of the column(s) (comma separated) in your design file that you want to use for ANOVA (ie. treatment1,treatment2,weight)."/> | |
27 <param name="factorTypes" type="text" size="30" value="" label=" Type of Group(s)/Treatment(s)" help="Type of data in your treatment columns: 'C' for Categorical and 'N' for numerical. Match the order the groups used. (ie. C,C,N)."/> | |
28 <param name="interactions" type="boolean" label="Calculate ANOVA with interactions" help="If 'Yes', the ANOVA program will output the interactions."/> | |
29 </inputs> | |
30 <outputs> | |
31 <data format="tabular" name="results_table" label="${tool.name} on ${on_string}: Results Table"/> | |
32 <data format="tabular" name="flags_table" label="${tool.name} on ${on_string}: Flags Table"/> | |
33 <data format="pdf" name="qq_plots" label="${tool.name} on ${on_string}: QQ Plots"/> | |
34 <data format="pdf" name="volcano_plots" label="${tool.name} on ${on_string}: Volcano Plots"/> | |
35 </outputs> | |
36 <tests> | |
37 <test> | |
38 <param name="input" value="ST000006_data.tsv"/> | |
39 <param name="design" value="ST000006_design.tsv"/> | |
40 <param name="uniqID" value="Retention_Index" /> | |
41 <param name="factor" value="White_wine_type_and_source" /> | |
42 <param name="factorTypes" value="C" /> | |
43 <output name="results_table" file="ST000006_anova_fixed_with_group_summary.tsv" /> | |
44 <output name="flags_table" file="ST000006_anova_fixed_with_group_flags.tsv" /> | |
45 <output name="qq_plots" file="ST000006_anova_fixed_with_group_qq_plots.pdf" compare="sim_size" delta="10000" /> | |
46 <output name="volcano_plots" file="ST000006_anova_fixed_with_group_volcano.pdf" compare="sim_size" delta="10000" /> | |
47 </test> | |
48 </tests> | |
49 <help><![CDATA[ | |
50 | |
51 @TIP_AND_WARNING@ | |
52 | |
53 **Tool Description** | |
54 | |
55 The tool fits analysis of variance (ANOVA) fixed effects model with multiple grouping variables, their interactions and numerical characteristics. | |
56 The analysis is performed row wise, independently for each feature. | |
57 The user can choose whether to include interactions between grouping variables in the model or to use a pure additive model. | |
58 Numerical characteristics of the samples can be included for both scenarios. | |
59 | |
60 -------------------------------------------------------------------------------- | |
61 | |
62 **Input** | |
63 | |
64 - Two input datasets are required. | |
65 | |
66 | |
67 @WIDE@ | |
68 | |
69 **NOTE:** The sample IDs must match the sample IDs in the Design File | |
70 (below). Extra columns will automatically be ignored. | |
71 | |
72 @METADATA@ | |
73 | |
74 @UNIQID@ | |
75 | |
76 **Group(s)/Treatment(s)** | |
77 | |
78 - Name of the column(s) (comma separated) in your Design File that you want to use for ANOVA.(ie. treatment1,treatment2,weight). | |
79 | |
80 **Type of Group(s)/Treatment(s)** | |
81 | |
82 - Type of data in your treatment column(s): 'C' for Categorical and 'N' for numerical. Match the order the groups are used. (ie. C,C,N). | |
83 | |
84 **Calculate ANOVA with interactions** | |
85 | |
86 - If 'Yes', the ANOVA program will output interactions. | |
87 | |
88 -------------------------------------------------------------------------------- | |
89 | |
90 **Output** | |
91 | |
92 The user will get four different outputs from the fixed effects ANOVA tool: | |
93 | |
94 (1) a TSV file with the results table containing the fixed effects ANOVA results for each variable, the corresponding contrast and analysis of the means. | |
95 (2) a TSV file with the flags for significant p-values. The flags in the TSV file are equal to 1 if the difference between the groups is statistically significant using the specified α level. | |
96 (3) a PDF file with QQ (quantile-quantile) plots displaying the expected quantiles of a normal distribution on x-axis versus the observed quantiles on y-axis. | |
97 (4) and a Volcano plot with the fold change displayed on the x-axis and the -log 10 of the p-value from the test of the null hypothesis is displayed on the y-axis. The red dashed line corresponds to p=0.01. | |
98 | |
99 ]]></help> | |
100 <expand macro="citations"/> | |
101 </tool> |