I have to perform ANOVA test on my samples. I would like to know to analyse in qiime2. What are the commands and and how one can choose value for --p-formula.
Please see following Docstring in qiim2 tutorial.
Usage: qiime longitudinal anova [OPTIONS]
Perform an ANOVA test on any factors present in a metadata file and/or
metadata-transformable artifacts. This is followed by pairwise t-tests to
examine pairwise differences between categorical sample groups.
(multiple Sample metadata containing formula terms.
be merged) [required]
–p-formula TEXT R-style formula specifying the model. All terms must
be present in the sample metadata or
metadata-transformable artifacts and can be continuous
or categorical metadata columns. 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).
for full documentation of valid formula operators.
Always enclose formulae in quotes to avoid unpleasant
–p-sstype TEXT Choices(‘I’, ‘II’, ‘III’)
Type of sum of squares calculation to perform (I, II,
or III). [default: ‘II’]
How to construct above formula using R-style formula specifying the model. .