annotate qiime2-2020.8/qiime_longitudinal_pairwise-differences.xml @ 22:292c84bd5ab6 draft

Uploaded
author florianbegusch
date Fri, 04 Sep 2020 12:55:05 +0000
parents d93d8888f0b0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
20
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
1 <?xml version="1.0" ?>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
2 <tool id="qiime_longitudinal_pairwise-differences" name="qiime longitudinal pairwise-differences"
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
3 version="2020.8">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
4 <description>Paired difference testing and boxplots</description>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
5 <requirements>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
6 <requirement type="package" version="2020.8">qiime2</requirement>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
7 </requirements>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
8 <command><![CDATA[
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
9 qiime longitudinal pairwise-differences
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
10
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
11 #if str($itable) != 'None':
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
12 --i-table=$itable
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
13 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
14 # if $input_files_mmetadatafile:
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
15 # def list_dict_to_string(list_dict):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
16 # set $file_list = list_dict[0]['additional_input'].__getattr__('file_name')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
17 # for d in list_dict[1:]:
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
18 # set $file_list = $file_list + ' --m-metadata-file=' + d['additional_input'].__getattr__('file_name')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
19 # end for
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
20 # return $file_list
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
21 # end def
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
22 --m-metadata-file=$list_dict_to_string($input_files_mmetadatafile)
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
23 # end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
24
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
25 --p-metric=$pmetric
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
26
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
27 #if '__ob__' in str($pstatecolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
28 #set $pstatecolumn_temp = $pstatecolumn.replace('__ob__', '[')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
29 #set $pstatecolumn = $pstatecolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
30 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
31 #if '__cb__' in str($pstatecolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
32 #set $pstatecolumn_temp = $pstatecolumn.replace('__cb__', ']')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
33 #set $pstatecolumn = $pstatecolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
34 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
35 #if 'X' in str($pstatecolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
36 #set $pstatecolumn_temp = $pstatecolumn.replace('X', '\\')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
37 #set $pstatecolumn = $pstatecolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
38 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
39 #if '__sq__' in str($pstatecolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
40 #set $pstatecolumn_temp = $pstatecolumn.replace('__sq__', "'")
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
41 #set $pstatecolumn = $pstatecolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
42 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
43 #if '__db__' in str($pstatecolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
44 #set $pstatecolumn_temp = $pstatecolumn.replace('__db__', '"')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
45 #set $pstatecolumn = $pstatecolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
46 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
47
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
48 --p-state-column=$pstatecolumn
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
49
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
50
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
51 --p-state-1=$pstate1
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
52
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
53 --p-state-2=$pstate2
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
54
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
55 #if '__ob__' in str($pindividualidcolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
56 #set $pindividualidcolumn_temp = $pindividualidcolumn.replace('__ob__', '[')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
57 #set $pindividualidcolumn = $pindividualidcolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
58 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
59 #if '__cb__' in str($pindividualidcolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
60 #set $pindividualidcolumn_temp = $pindividualidcolumn.replace('__cb__', ']')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
61 #set $pindividualidcolumn = $pindividualidcolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
62 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
63 #if 'X' in str($pindividualidcolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
64 #set $pindividualidcolumn_temp = $pindividualidcolumn.replace('X', '\\')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
65 #set $pindividualidcolumn = $pindividualidcolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
66 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
67 #if '__sq__' in str($pindividualidcolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
68 #set $pindividualidcolumn_temp = $pindividualidcolumn.replace('__sq__', "'")
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
69 #set $pindividualidcolumn = $pindividualidcolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
70 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
71 #if '__db__' in str($pindividualidcolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
72 #set $pindividualidcolumn_temp = $pindividualidcolumn.replace('__db__', '"')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
73 #set $pindividualidcolumn = $pindividualidcolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
74 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
75
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
76 --p-individual-id-column=$pindividualidcolumn
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
77
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
78
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
79 #if '__ob__' in str($pgroupcolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
80 #set $pgroupcolumn_temp = $pgroupcolumn.replace('__ob__', '[')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
81 #set $pgroupcolumn = $pgroupcolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
82 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
83 #if '__cb__' in str($pgroupcolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
84 #set $pgroupcolumn_temp = $pgroupcolumn.replace('__cb__', ']')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
85 #set $pgroupcolumn = $pgroupcolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
86 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
87 #if 'X' in str($pgroupcolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
88 #set $pgroupcolumn_temp = $pgroupcolumn.replace('X', '\\')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
89 #set $pgroupcolumn = $pgroupcolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
90 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
91 #if '__sq__' in str($pgroupcolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
92 #set $pgroupcolumn_temp = $pgroupcolumn.replace('__sq__', "'")
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
93 #set $pgroupcolumn = $pgroupcolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
94 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
95 #if '__db__' in str($pgroupcolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
96 #set $pgroupcolumn_temp = $pgroupcolumn.replace('__db__', '"')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
97 #set $pgroupcolumn = $pgroupcolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
98 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
99
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
100 #if str($pgroupcolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
101 --p-group-column=$pgroupcolumn
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
102 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
103
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
104 #if $pparametric:
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
105 --p-parametric
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
106 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
107
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
108 #if str($ppalette) != 'None':
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
109 --p-palette=$ppalette
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
110 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
111
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
112 #if str($preplicatehandling) != 'None':
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
113 --p-replicate-handling=$preplicatehandling
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
114 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
115
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
116 --o-visualization=ovisualization
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
117
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
118 #if str($examples) != 'None':
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
119 --examples=$examples
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
120 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
121
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
122 ;
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
123 cp odistancematrix.qza $odistancematrix
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
124
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
125 ;
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
126 qiime tools export ovisualization.qzv --output-path out
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
127 && mkdir -p '$ovisualization.files_path'
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
128 && cp -r out/* '$ovisualization.files_path'
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
129 && mv '$ovisualization.files_path/index.html' '$ovisualization'
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
130
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
131 ]]></command>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
132 <inputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
133 <param format="qza,no_unzip.zip" label="--i-table: ARTIFACT FeatureTable[RelativeFrequency] Feature table to optionally use for paired comparisons. [optional]" name="itable" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
134 <repeat name="input_files_mmetadatafile" optional="False" title="--m-metadata-file">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
135 <param format="tabular,qza,no_unzip.zip" label="--m-metadata-file: METADATA... (multiple Sample metadata file containing arguments will be individual-id-column. merged) [required]" name="additional_input" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
136 </repeat>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
137 <param label="--p-metric: TEXT Numerical metadata or artifact column to test. [required]" name="pmetric" optional="False" type="text" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
138 <param label="--p-state-column: TEXT Metadata column containing state (e.g., Time) across which samples are paired. [required]" name="pstatecolumn" optional="False" type="text" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
139 <param label="--p-state-1: TEXT Baseline state column value. [required]" name="pstate1" optional="False" type="text" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
140 <param label="--p-state-2: TEXT State column value to pair with baseline. [required]" name="pstate2" optional="False" type="text" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
141 <param label="--p-individual-id-column: TEXT Metadata column containing subject IDs to use for pairing samples. WARNING: if replicates exist for an individual ID at either state-1 or state-2, that subject will be dropped and reported in standard output by default. Set replicate_handling=\'random\' to instead randomly select one member. [required]" name="pindividualidcolumn" optional="False" type="text" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
142 <param label="--p-group-column: TEXT Metadata column on which to separate groups for comparison [optional]" name="pgroupcolumn" optional="False" type="text" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
143 <param label="--p-parametric: --p-parametric: / --p-no-parametric Perform parametric (ANOVA and t-tests) or non-parametric (Kruskal-Wallis, Wilcoxon, and Mann-Whitney U tests) statistical tests. [default: False]" name="pparametric" selected="False" type="boolean" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
144 <param label="--p-palette: " name="ppalette" optional="True" type="select">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
145 <option selected="True" value="None">Selection is Optional</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
146 <option value="Set1">Set1</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
147 <option value="Set2">Set2</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
148 <option value="Set3">Set3</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
149 <option value="Pastel1">Pastel1</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
150 <option value="Pastel2">Pastel2</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
151 <option value="Paired">Paired</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
152 <option value="Accent">Accent</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
153 <option value="Dark2">Dark2</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
154 <option value="tab10">tab10</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
155 <option value="tab20">tab20</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
156 <option value="tab20b">tab20b</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
157 <option value="tab20c">tab20c</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
158 <option value="viridis">viridis</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
159 <option value="plasma">plasma</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
160 <option value="inferno">inferno</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
161 <option value="magma">magma</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
162 <option value="terrain">terrain</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
163 <option value="rainbow">rainbow</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
164 <option value="cividis">cividis</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
165 </param>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
166 <param label="--p-replicate-handling: " name="preplicatehandling" optional="True" type="select">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
167 <option selected="True" value="None">Selection is Optional</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
168 <option value="error">error</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
169 <option value="random">random</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
170 <option value="drop">drop</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
171 </param>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
172 <param label="--examples: Show usage examples and exit." name="examples" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
173
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
174 </inputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
175
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
176 <outputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
177 <data format="html" label="${tool.name} on ${on_string}: visualization.html" name="ovisualization" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
178
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
179 </outputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
180
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
181 <help><![CDATA[
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
182 Paired difference testing and boxplots
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
183 ###############################################################
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
184
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
185 Performs paired difference testing between samples from each subject.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
186 Sample pairs may represent a typical intervention study (e.g., samples
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
187 collected pre- and post-treatment), paired samples from two different
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
188 timepoints (e.g., in a longitudinal study design), or identical samples
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
189 receiving different treatments. This action tests whether the change in a
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
190 numeric metadata value "metric" differs from zero and differs between
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
191 groups (e.g., groups of subjects receiving different treatments), and
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
192 produces boxplots of paired difference distributions for each group. Note
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
193 that "metric" can be derived from a feature table or metadata.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
194
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
195 Parameters
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
196 ----------
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
197 metadata : Metadata
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
198 Sample metadata file containing individual_id_column.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
199 metric : Str
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
200 Numerical metadata or artifact column to test.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
201 state_column : Str
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
202 Metadata column containing state (e.g., Time) across which samples are
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
203 paired.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
204 state_1 : Str
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
205 Baseline state column value.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
206 state_2 : Str
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
207 State column value to pair with baseline.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
208 individual_id_column : Str
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
209 Metadata column containing subject IDs to use for pairing samples.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
210 WARNING: if replicates exist for an individual ID at either state_1 or
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
211 state_2, that subject will be dropped and reported in standard output
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
212 by default. Set replicate_handling="random" to instead randomly select
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
213 one member.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
214 group_column : Str, optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
215 Metadata column on which to separate groups for comparison
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
216 parametric : Bool, optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
217 Perform parametric (ANOVA and t-tests) or non-parametric (Kruskal-
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
218 Wallis, Wilcoxon, and Mann-Whitney U tests) statistical tests.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
219 palette : Str % Choices('Set1', 'Set2', 'Set3', 'Pastel1', 'Pastel2', 'Paired', 'Accent', 'Dark2', 'tab10', 'tab20', 'tab20b', 'tab20c', 'viridis', 'plasma', 'inferno', 'magma', 'terrain', 'rainbow', 'cividis'), optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
220 Color palette to use for generating boxplots.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
221 replicate_handling : Str % Choices('error', 'random', 'drop'), optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
222 Choose how replicate samples are handled. If replicates are detected,
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
223 "error" causes method to fail; "drop" will discard all replicated
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
224 samples; "random" chooses one representative at random from among
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
225 replicates.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
226 table : FeatureTable[RelativeFrequency], optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
227 Feature table to optionally use for paired comparisons.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
228
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
229 Returns
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
230 -------
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
231 visualization : Visualization
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
232 ]]></help>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
233 <macros>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
234 <import>qiime_citation.xml</import>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
235 </macros>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
236 <expand macro="qiime_citation"/>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
237 </tool>