annotate qiime2-2020.8/qiime_longitudinal_linear-mixed-effects.xml @ 20:d93d8888f0b0 draft

Uploaded
author florianbegusch
date Fri, 04 Sep 2020 12:44:24 +0000
parents
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_linear-mixed-effects" name="qiime longitudinal linear-mixed-effects"
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
3 version="2020.8">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
4 <description>Linear mixed effects modeling</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 linear-mixed-effects
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 #if '__ob__' in str($pstatecolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
26 #set $pstatecolumn_temp = $pstatecolumn.replace('__ob__', '[')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
27 #set $pstatecolumn = $pstatecolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
28 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
29 #if '__cb__' in str($pstatecolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
30 #set $pstatecolumn_temp = $pstatecolumn.replace('__cb__', ']')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
31 #set $pstatecolumn = $pstatecolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
32 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
33 #if 'X' in str($pstatecolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
34 #set $pstatecolumn_temp = $pstatecolumn.replace('X', '\\')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
35 #set $pstatecolumn = $pstatecolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
36 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
37 #if '__sq__' in str($pstatecolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
38 #set $pstatecolumn_temp = $pstatecolumn.replace('__sq__', "'")
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
39 #set $pstatecolumn = $pstatecolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
40 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
41 #if '__db__' in str($pstatecolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
42 #set $pstatecolumn_temp = $pstatecolumn.replace('__db__', '"')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
43 #set $pstatecolumn = $pstatecolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
44 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
45
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
46 --p-state-column=$pstatecolumn
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
47
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
48
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
49 #if '__ob__' in str($pindividualidcolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
50 #set $pindividualidcolumn_temp = $pindividualidcolumn.replace('__ob__', '[')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
51 #set $pindividualidcolumn = $pindividualidcolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
52 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
53 #if '__cb__' in str($pindividualidcolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
54 #set $pindividualidcolumn_temp = $pindividualidcolumn.replace('__cb__', ']')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
55 #set $pindividualidcolumn = $pindividualidcolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
56 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
57 #if 'X' in str($pindividualidcolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
58 #set $pindividualidcolumn_temp = $pindividualidcolumn.replace('X', '\\')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
59 #set $pindividualidcolumn = $pindividualidcolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
60 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
61 #if '__sq__' in str($pindividualidcolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
62 #set $pindividualidcolumn_temp = $pindividualidcolumn.replace('__sq__', "'")
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
63 #set $pindividualidcolumn = $pindividualidcolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
64 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
65 #if '__db__' in str($pindividualidcolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
66 #set $pindividualidcolumn_temp = $pindividualidcolumn.replace('__db__', '"')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
67 #set $pindividualidcolumn = $pindividualidcolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
68 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
69
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
70 --p-individual-id-column=$pindividualidcolumn
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
71
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
72
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
73 #if str($pmetric):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
74 --p-metric=$pmetric
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
75 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
76 #if '__ob__' in str($pgroupcolumns):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
77 #set $pgroupcolumns_temp = $pgroupcolumns.replace('__ob__', '[')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
78 #set $pgroupcolumns = $pgroupcolumns_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
79 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
80 #if '__cb__' in str($pgroupcolumns):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
81 #set $pgroupcolumns_temp = $pgroupcolumns.replace('__cb__', ']')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
82 #set $pgroupcolumns = $pgroupcolumns_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
83 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
84 #if 'X' in str($pgroupcolumns):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
85 #set $pgroupcolumns_temp = $pgroupcolumns.replace('X', '\\')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
86 #set $pgroupcolumns = $pgroupcolumns_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
87 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
88 #if '__sq__' in str($pgroupcolumns):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
89 #set $pgroupcolumns_temp = $pgroupcolumns.replace('__sq__', "'")
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
90 #set $pgroupcolumns = $pgroupcolumns_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
91 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
92 #if '__db__' in str($pgroupcolumns):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
93 #set $pgroupcolumns_temp = $pgroupcolumns.replace('__db__', '"')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
94 #set $pgroupcolumns = $pgroupcolumns_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
95 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
96
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
97 #if str($pgroupcolumns):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
98 --p-group-columns=$pgroupcolumns
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
99 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
100
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
101 #if str($prandomeffects):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
102 --p-random-effects=$prandomeffects
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
103 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
104 #if str($ppalette) != 'None':
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
105 --p-palette=$ppalette
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
106 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
107
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
108 #if $plowess:
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
109 --p-lowess
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
110 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
111
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
112 --p-ci=$pci
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
113
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
114 #if $pformula:
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
115 --p-formula
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
116 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
117
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
118 --o-visualization=ovisualization
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
119
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
120 #if str($examples) != 'None':
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
121 --examples=$examples
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
122 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
123
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
124 ;
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
125 cp ofirstdistances.qza $ofirstdistances
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
126
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
127 ;
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
128 qiime tools export ovisualization.qzv --output-path out
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
129 && mkdir -p '$ovisualization.files_path'
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
130 && cp -r out/* '$ovisualization.files_path'
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
131 && mv '$ovisualization.files_path/index.html' '$ovisualization'
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
132
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
133 ]]></command>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
134 <inputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
135 <param format="qza,no_unzip.zip" label="--i-table: ARTIFACT FeatureTable[RelativeFrequency] Feature table containing metric. [optional]" name="itable" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
136 <repeat name="input_files_mmetadatafile" optional="False" title="--m-metadata-file">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
137 <param format="tabular,qza,no_unzip.zip" label="--m-metadata-file: METADATA... (multiple arguments Sample metadata file containing will be merged) individual-id-column. [required]" name="additional_input" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
138 </repeat>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
139 <param label="--p-state-column: TEXT Metadata column containing state (time) variable information. [required]" name="pstatecolumn" optional="False" type="text" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
140 <param label="--p-individual-id-column: TEXT Metadata column containing IDs for individual subjects. [required]" name="pindividualidcolumn" optional="False" type="text" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
141 <param label="--p-metric: TEXT Dependent variable column name. Must be a column name located in the metadata or feature table files. [optional]" name="pmetric" optional="False" type="text" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
142 <param label="--p-group-columns: TEXT Comma-separated list (without spaces) of metadata columns to use as independent covariates used to determine mean structure of \'metric\'. [optional]" name="pgroupcolumns" optional="False" type="text" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
143 <param label="--p-random-effects: TEXT Comma-separated list (without spaces) of metadata columns to use as independent covariates used to determine the variance and covariance structure (random effects) of \'metric\'. To add a random slope, the same value passed to \'state-column\' should be passed here. A random intercept for each individual is set by default and does not need to be passed here. [optional]" name="prandomeffects" optional="False" type="text" />
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-lowess: --p-lowess: / --p-no-lowess Estimate locally weighted scatterplot smoothing. Note that this will eliminate confidence interval plotting. [default: False]" name="plowess" selected="False" type="boolean" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
167 <param label="--p-ci: NUMBER Size of the confidence interval for the regression Range(0, 100) estimate. [default: 95]" max="100" min="0" name="pci" optional="True" type="integer" value="95" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
168 <param label="--p-formula: --p-formula: TEXT R-style formula to use for model specification. A formula must be used if the \'metric\' parameter is None. Note that the metric and group columns specified in the formula will override metric and group columns that are passed separately as parameters to this method. Formulae will be in the format \'a ~ b + c\', where \'a\' is the metric (dependent variable) and \'b\' and \'c\' are independent covariates. Use \'+\' to add a variable; \'+ a:b\' to add an interaction between variables a and b; \'*\' to include a variable and all interactions; and \'-\' to subtract a particular term (e.g., an interaction term). See https://patsy.readthedocs.io/en/latest/formulas.html for full documentation of valid formula operators. Always enclose formulae in quotes to avoid unpleasant surprises. [optional]" name="pformula" selected="False" type="boolean" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
169 <param label="--examples: Show usage examples and exit." name="examples" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
170
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
171 </inputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
172
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
173 <outputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
174 <data format="html" label="${tool.name} on ${on_string}: visualization.html" name="ovisualization" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
175
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
176 </outputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
177
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
178 <help><![CDATA[
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
179 Linear mixed effects modeling
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
180 ###############################################################
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
181
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
182 Linear mixed effects models evaluate the contribution of exogenous
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
183 covariates "group_columns" and "random_effects" to a single dependent
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
184 variable, "metric". Perform LME and plot line plots of each group column. A
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
185 feature table artifact is required input, though whether "metric" is
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
186 derived from the feature table or metadata is optional.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
187
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
188 Parameters
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
189 ----------
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
190 metadata : Metadata
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
191 Sample metadata file containing individual_id_column.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
192 state_column : Str
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
193 Metadata column containing state (time) variable information.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
194 individual_id_column : Str
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
195 Metadata column containing IDs for individual subjects.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
196 metric : Str, optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
197 Dependent variable column name. Must be a column name located in the
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
198 metadata or feature table files.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
199 group_columns : Str, optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
200 Comma-separated list (without spaces) of metadata columns to use as
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
201 independent covariates used to determine mean structure of "metric".
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
202 random_effects : Str, optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
203 Comma-separated list (without spaces) of metadata columns to use as
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
204 independent covariates used to determine the variance and covariance
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
205 structure (random effects) of "metric". To add a random slope, the same
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
206 value passed to "state_column" should be passed here. A random
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
207 intercept for each individual is set by default and does not need to be
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
208 passed here.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
209 table : FeatureTable[RelativeFrequency], optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
210 Feature table containing metric.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
211 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
212 Color palette to use for generating boxplots.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
213 lowess : Bool, optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
214 Estimate locally weighted scatterplot smoothing. Note that this will
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
215 eliminate confidence interval plotting.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
216 ci : Float % Range(0, 100), optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
217 Size of the confidence interval for the regression estimate.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
218 formula : Str, optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
219 R-style formula to use for model specification. A formula must be used
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
220 if the "metric" parameter is None. Note that the metric and group
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
221 columns specified in the formula will override metric and group columns
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
222 that are passed separately as parameters to this method. Formulae will
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
223 be in the format "a ~ b + c", where "a" is the metric (dependent
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
224 variable) and "b" and "c" are independent covariates. Use "+" to add a
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
225 variable; "+ a:b" to add an interaction between variables a and b; "*"
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
226 to include a variable and all interactions; and "-" to subtract a
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
227 particular term (e.g., an interaction term). See
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
228 https://patsy.readthedocs.io/en/latest/formulas.html for full
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
229 documentation of valid formula operators. Always enclose formulae in
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
230 quotes to avoid unpleasant surprises.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
231
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
232 Returns
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
233 -------
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
234 visualization : Visualization
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
235 ]]></help>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
236 <macros>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
237 <import>qiime_citation.xml</import>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
238 </macros>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
239 <expand macro="qiime_citation"/>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
240 </tool>