A number of methods for microbiota community comparisons have been proposed. For a recent benchmarking study, see Weiss et al. (2017). For a comprehensive example workflow, see Callahan et al. F1000 (2017).
For individual taxa, diversity indicators etc.
Other methods, not implemented here (see Weiss et al. (2017) for a recent survey):
For community-level multivariate comparisons