Good evening everyone, I am new to this forum and sorry to bother you with the question
I am stuck to the Parkinson Mouse tutorial, I am trying to use the ARTIFACT API
At the step to analyze alpha diversity, here is the line I entered but it doesn’t work and I don’t understand why. May you help me?
faith_pd_vector_qzv = anova(metadata=(metadata, faith_pd_vector_qza), formula = "faith_pd ~ genotype * donor_status")
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-44-16ee66bdf4e4> in <module>
----> 1 faith_pd_vector_qzv = anova(metadata=(metadata, faith_pd_vector_qza), formula = "faith_pd ~ genotype * donor_status")
</opt/conda/envs/qiime2-2019.10/lib/python3.6/site-packages/decorator.py:decorator-gen-258> in anova(metadata, formula, sstype)
/opt/conda/envs/qiime2-2019.10/lib/python3.6/site-packages/qiime2/sdk/action.py in bound_callable(*args, **kwargs)
201
202 # Type management
--> 203 self.signature.check_types(**user_input)
204 output_types = self.signature.solve_output(**user_input)
205 callable_args = {}
/opt/conda/envs/qiime2-2019.10/lib/python3.6/site-packages/qiime2/core/type/signature.py in check_types(self, **kwargs)
352 "Parameter %r received %r as an argument, which is "
353 "incompatible with parameter type: %r"
--> 354 % (name, parameter, spec.qiime_type))
355
356 def solve_output(self, **kwargs):
TypeError: Parameter 'metadata' received (Metadata
--------
48 IDs x 8 columns
barcode: ColumnProperties(type='categorical')
mouse_id: ColumnProperties(type='categorical')
genotype: ColumnProperties(type='categorical')
cage_id: ColumnProperties(type='categorical')
donor: ColumnProperties(type='categorical')
donor_status: ColumnProperties(type='categorical')
days_post_transplant: ColumnProperties(type='numeric')
genotype_and_donor_status: ColumnProperties(type='categorical')
Call to_dataframe() for a tabular representation., Metadata
--------
47 IDs x 1 column
faith_pd: ColumnProperties(type='numeric')
Call to_dataframe() for a tabular representation.) as an argument, which is incompatible with parameter type: Metadata