Hello,
I've been trying to make ordination plots but have been bumping in to obstacles.
I would like to make an UniFrac phylogenetic distance matrix, and make a principal component analysis ordination plot (PCA) based on it and also carry out a permutation test.
The problem is while Qiime can make an Unifrac matrix and perform a permutation test in can only perform a Principal Coordinates Analysis (PCoA) and not a Principal Components Analysis (PCA).
I have since resorted to Vegan and Phyloseq without much success. While the Vegan library in R can perform PCA ordination and a permutation test, it can't make an Unifrac matrix in the first place. Phyloseq while it can make an Unifrac matrix, I am not sure it can perform PCA ordination and it can't perform a permutation test.
So I'm left in a strange place where I can't complete the analysis with the most standard developed tools.
I am surely missing stuff, so my question is, could you suggest a library/method in R that can make an Unifrac matrix with which I could then make a PCA plot and possibly do a permutation test. Or should I try to convert the Qiime unifrac matrix to a Vegan readable format and continue on from there?
Thank you for any suggestions!