diversity alpha-correlation for groups

I want to determine correlation between alpha-diversity and number of weeks, see the results for two groups of samples. e.g. correlation between Faith-PD and number of weeks for Control group and Test group separately. Following script calculates correlation between all samples and weeks

qiime diversity alpha-correlation
--i-alpha-diversity alpha-div-faith-pd.qza
--m-metadata-file metadata.tsv
--o-visualization visualization.qzv

How should I proceed to get correlation for each group of samples.

Thanks

Would this be a good use case for qiime longitudinal linear-mixed-effects?

Output looks like this:
In your case y = faiths_pd, x = weeks, color = group

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.