I am working on analyzing the microbiome of a specific human body site to compare patients before and after a clinical intervention. Because the data is collected from the exact same patients at two different time points, the samples are inherently correlated (a strictly paired/repeated-measures design).
For alpha diversity, my current plan is to evaluate normality and proceed with either a parametric approach (Paired t-test) or a non-parametric approach (Wilcoxon signed-rank test).
However, I could use some guidance on the subsequent steps of the analysis:
Beta Diversity (PERMANOVA): Does anyone have advice on how to properly implement this before/after design in a PERMANOVA to evaluate shifts in beta diversity?
Differential Abundance (DA) Analysis: Which differential abundance tools do you highly recommend for this type of paired design?
Any insights, R package recommendations, or links to similar analytical workflows would be greatly appreciated.
Hopefully its okay that I mention it. I've used gemelli CTF a few times for both beta diverisity and sort of differential abundance. I like it because it does the deltas for me, and becuase I can look at orientation more easily. (Is there directionality in PCA space). Since CTF/PCA are grounded in features, I can translate that direction to changing taxa.
Thank you both so much for the detailed recommendations!
Since I am not very experienced with Python and QIIME 2, I have been running my entire workflow in R. To account for the repeated-measures design, I used a PERMANOVA restricted to each patient ID using adonis2.
I am running into a visualization issue, however. The restricted PERMANOVA results are significant, but my standard PCoA plots do not reflect this because they display the ordination without any stratification. Does anyone have suggestions on how to better plot these results in R so the visual aligns with the restricted PERMANOVA?
In general, most people get better performance out of learning to use existing well tested, well documented tools rather than trying to re-invent the wheel. Broadening your horizons will give you more opportunities. I also think q2-longitudinal gives you some new ways to think about your data and associated tests.
I agree with your intuition that this visualziation doesn't communicate what you'd like to say; depending on what the assumptions of the comparison are, you could look at changes in direction (I tend to only do this is the rPCA context where the axes are meaningful and not with a straight up PCoA where they're not) or changes in distance between groups. So, I've used boxplots/strip plots, and vectors to show deltas in various contexts, treating the first time point as a reference position and then measuring either distance or change in ordination space from that point.
Of course, if you're going to visualize the data that way, you might decide to just drop the permanova ll together and look at how the magnitude of change (distance) compares for your exposures and unexposed groups.