annotate qiime2-2020.8/qiime_longitudinal_linear-mixed-effects.xml @ 0:5c352d975ef7 draft

Uploaded
author florianbegusch
date Thu, 03 Sep 2020 09:33:04 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
1 <?xml version="1.0" ?>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
2 <tool id="qiime_longitudinal_linear-mixed-effects" name="qiime longitudinal linear-mixed-effects"
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
3 version="2020.8">
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
4 <description>Linear mixed effects modeling</description>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
5 <requirements>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
6 <requirement type="package" version="2020.8">qiime2</requirement>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
7 </requirements>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
8 <command><![CDATA[
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
9 qiime longitudinal linear-mixed-effects
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
10
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
11 #if str($itable) != 'None':
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
12 --i-table=$itable
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
13 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
14 # if $input_files_mmetadatafile:
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
15 # def list_dict_to_string(list_dict):
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
16 # set $file_list = list_dict[0]['additional_input'].__getattr__('file_name')
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
17 # for d in list_dict[1:]:
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
18 # set $file_list = $file_list + ' --m-metadata-file=' + d['additional_input'].__getattr__('file_name')
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
19 # end for
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
20 # return $file_list
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
21 # end def
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
22 --m-metadata-file=$list_dict_to_string($input_files_mmetadatafile)
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
23 # end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
24
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
25 #if '__ob__' in str($pstatecolumn):
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
26 #set $pstatecolumn_temp = $pstatecolumn.replace('__ob__', '[')
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
27 #set $pstatecolumn = $pstatecolumn_temp
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
28 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
29 #if '__cb__' in str($pstatecolumn):
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
30 #set $pstatecolumn_temp = $pstatecolumn.replace('__cb__', ']')
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
31 #set $pstatecolumn = $pstatecolumn_temp
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
32 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
33 #if 'X' in str($pstatecolumn):
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
34 #set $pstatecolumn_temp = $pstatecolumn.replace('X', '\\')
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
35 #set $pstatecolumn = $pstatecolumn_temp
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
36 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
37 #if '__sq__' in str($pstatecolumn):
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
38 #set $pstatecolumn_temp = $pstatecolumn.replace('__sq__', "'")
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
39 #set $pstatecolumn = $pstatecolumn_temp
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
40 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
41 #if '__db__' in str($pstatecolumn):
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
42 #set $pstatecolumn_temp = $pstatecolumn.replace('__db__', '"')
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
43 #set $pstatecolumn = $pstatecolumn_temp
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
44 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
45
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
46 --p-state-column=$pstatecolumn
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
47
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
48
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
49 #if '__ob__' in str($pindividualidcolumn):
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
50 #set $pindividualidcolumn_temp = $pindividualidcolumn.replace('__ob__', '[')
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
51 #set $pindividualidcolumn = $pindividualidcolumn_temp
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
52 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
53 #if '__cb__' in str($pindividualidcolumn):
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
54 #set $pindividualidcolumn_temp = $pindividualidcolumn.replace('__cb__', ']')
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
55 #set $pindividualidcolumn = $pindividualidcolumn_temp
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
56 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
57 #if 'X' in str($pindividualidcolumn):
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
58 #set $pindividualidcolumn_temp = $pindividualidcolumn.replace('X', '\\')
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
59 #set $pindividualidcolumn = $pindividualidcolumn_temp
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
60 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
61 #if '__sq__' in str($pindividualidcolumn):
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
62 #set $pindividualidcolumn_temp = $pindividualidcolumn.replace('__sq__', "'")
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
63 #set $pindividualidcolumn = $pindividualidcolumn_temp
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
64 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
65 #if '__db__' in str($pindividualidcolumn):
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
66 #set $pindividualidcolumn_temp = $pindividualidcolumn.replace('__db__', '"')
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
67 #set $pindividualidcolumn = $pindividualidcolumn_temp
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
68 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
69
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
70 --p-individual-id-column=$pindividualidcolumn
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
71
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
72
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
73 #if str($pmetric):
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
74 --p-metric=$pmetric
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
75 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
76 #if '__ob__' in str($pgroupcolumns):
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
77 #set $pgroupcolumns_temp = $pgroupcolumns.replace('__ob__', '[')
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
78 #set $pgroupcolumns = $pgroupcolumns_temp
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
79 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
80 #if '__cb__' in str($pgroupcolumns):
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
81 #set $pgroupcolumns_temp = $pgroupcolumns.replace('__cb__', ']')
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
82 #set $pgroupcolumns = $pgroupcolumns_temp
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
83 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
84 #if 'X' in str($pgroupcolumns):
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
85 #set $pgroupcolumns_temp = $pgroupcolumns.replace('X', '\\')
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
86 #set $pgroupcolumns = $pgroupcolumns_temp
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
87 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
88 #if '__sq__' in str($pgroupcolumns):
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
89 #set $pgroupcolumns_temp = $pgroupcolumns.replace('__sq__', "'")
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
90 #set $pgroupcolumns = $pgroupcolumns_temp
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
91 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
92 #if '__db__' in str($pgroupcolumns):
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
93 #set $pgroupcolumns_temp = $pgroupcolumns.replace('__db__', '"')
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
94 #set $pgroupcolumns = $pgroupcolumns_temp
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
95 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
96
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
97 #if str($pgroupcolumns):
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
98 --p-group-columns=$pgroupcolumns
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
99 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
100
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
101 #if str($prandomeffects):
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
102 --p-random-effects=$prandomeffects
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
103 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
104 #if str($ppalette) != 'None':
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
105 --p-palette=$ppalette
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
106 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
107
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
108 #if $plowess:
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
109 --p-lowess
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
110 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
111
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
112 --p-ci=$pci
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
113
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
114 #if $pformula:
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
115 --p-formula
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
116 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
117
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
118 --o-visualization=ovisualization
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
119
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
120 #if str($examples) != 'None':
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
121 --examples=$examples
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
122 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
123
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
124 ;
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
125 cp ofirstdistances.qza $ofirstdistances
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
126
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
127 ;
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
128 qiime tools export ovisualization.qzv --output-path out
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
129 && mkdir -p '$ovisualization.files_path'
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
130 && cp -r out/* '$ovisualization.files_path'
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
131 && mv '$ovisualization.files_path/index.html' '$ovisualization'
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
132
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
133 ]]></command>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
134 <inputs>
5c352d975ef7 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" />
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
136 <repeat name="input_files_mmetadatafile" optional="False" title="--m-metadata-file">
5c352d975ef7 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" />
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
138 </repeat>
5c352d975ef7 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" />
5c352d975ef7 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" />
5c352d975ef7 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" />
5c352d975ef7 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" />
5c352d975ef7 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" />
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
144 <param label="--p-palette: " name="ppalette" optional="True" type="select">
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
145 <option selected="True" value="None">Selection is Optional</option>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
146 <option value="Set1">Set1</option>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
147 <option value="Set2">Set2</option>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
148 <option value="Set3">Set3</option>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
149 <option value="Pastel1">Pastel1</option>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
150 <option value="Pastel2">Pastel2</option>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
151 <option value="Paired">Paired</option>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
152 <option value="Accent">Accent</option>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
153 <option value="Dark2">Dark2</option>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
154 <option value="tab10">tab10</option>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
155 <option value="tab20">tab20</option>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
156 <option value="tab20b">tab20b</option>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
157 <option value="tab20c">tab20c</option>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
158 <option value="viridis">viridis</option>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
159 <option value="plasma">plasma</option>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
160 <option value="inferno">inferno</option>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
161 <option value="magma">magma</option>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
162 <option value="terrain">terrain</option>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
163 <option value="rainbow">rainbow</option>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
164 <option value="cividis">cividis</option>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
165 </param>
5c352d975ef7 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" />
5c352d975ef7 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" />
5c352d975ef7 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" />
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
169 <param label="--examples: Show usage examples and exit." name="examples" optional="False" type="data" />
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
170
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
171 </inputs>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
172
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
173 <outputs>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
174 <data format="html" label="${tool.name} on ${on_string}: visualization.html" name="ovisualization" />
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
175
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
176 </outputs>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
177
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
178 <help><![CDATA[
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
179 Linear mixed effects modeling
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
180 ###############################################################
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
181
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
182 Linear mixed effects models evaluate the contribution of exogenous
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
183 covariates "group_columns" and "random_effects" to a single dependent
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
184 variable, "metric". Perform LME and plot line plots of each group column. A
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
185 feature table artifact is required input, though whether "metric" is
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
186 derived from the feature table or metadata is optional.
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
187
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
188 Parameters
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
189 ----------
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
190 metadata : Metadata
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
191 Sample metadata file containing individual_id_column.
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
192 state_column : Str
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
193 Metadata column containing state (time) variable information.
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
194 individual_id_column : Str
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
195 Metadata column containing IDs for individual subjects.
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
196 metric : Str, optional
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
197 Dependent variable column name. Must be a column name located in the
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
198 metadata or feature table files.
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
199 group_columns : Str, optional
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
200 Comma-separated list (without spaces) of metadata columns to use as
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
201 independent covariates used to determine mean structure of "metric".
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
202 random_effects : Str, optional
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
203 Comma-separated list (without spaces) of metadata columns to use as
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
204 independent covariates used to determine the variance and covariance
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
205 structure (random effects) of "metric". To add a random slope, the same
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
206 value passed to "state_column" should be passed here. A random
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
207 intercept for each individual is set by default and does not need to be
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
208 passed here.
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
209 table : FeatureTable[RelativeFrequency], optional
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
210 Feature table containing metric.
5c352d975ef7 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
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
212 Color palette to use for generating boxplots.
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
213 lowess : Bool, optional
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
214 Estimate locally weighted scatterplot smoothing. Note that this will
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
215 eliminate confidence interval plotting.
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
216 ci : Float % Range(0, 100), optional
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
217 Size of the confidence interval for the regression estimate.
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
218 formula : Str, optional
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
219 R-style formula to use for model specification. A formula must be used
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
220 if the "metric" parameter is None. Note that the metric and group
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
221 columns specified in the formula will override metric and group columns
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
222 that are passed separately as parameters to this method. Formulae will
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
223 be in the format "a ~ b + c", where "a" is the metric (dependent
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
224 variable) and "b" and "c" are independent covariates. Use "+" to add a
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
225 variable; "+ a:b" to add an interaction between variables a and b; "*"
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
226 to include a variable and all interactions; and "-" to subtract a
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
227 particular term (e.g., an interaction term). See
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
228 https://patsy.readthedocs.io/en/latest/formulas.html for full
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
229 documentation of valid formula operators. Always enclose formulae in
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
230 quotes to avoid unpleasant surprises.
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
231
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
232 Returns
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
233 -------
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
234 visualization : Visualization
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
235 ]]></help>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
236 <macros>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
237 <import>qiime_citation.xml</import>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
238 </macros>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
239 <expand macro="qiime_citation"/>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
240 </tool>