I have exported pcoa.qza file, hoping I will find the value for axis in my ordination.
The output has a line with Eigvals for top 15 axis, proportion explained for top 15 axis, and a "matrix" with sample as the first coulmn (labeld Site) and additional 15 coulmns, all filled with values. my guess would be that the second coulmn (first after Site coulmn) stands for PC1 values for each sample, coulmn 3 stands for PC2, etc.
couple of quests:
is there a way to get a user-specified number of axis output?
Hi @kam ,
The issue is that QIIME 2 stores the pcoa results on disk as scikit-bio OrdinationResults format. So the file contains various information, not only the ordination values.
It is easier to view and interact with these data in python:
Yes, see the last line of the python example above. I am selecting the first 2 rows and first 3 columns of the dataframe. You could instead write pcs.samples.iloc[:,:3] to select all rows and only the first 3 axes.
Yes, see the last line of the python example above. I am selecting the first 2 rows and first 3 columns of the dataframe. You could instead write pcs.samples.iloc[:,:3] to select all rows and only the first 3 axes.
Yes, this is displaying the selected rows based on pandas indexing. I was referring to the data itself - is it possible to get more than values for 15 lines as I received from my data?
The issue is that QIIME 2 stores the pcoa results on disk as scikit-bio OrdinationResults format. So the file contains various information, not only the ordination values.
Unfortunately I am having an issue with scikit-bio package at the moment, so I will post a photo from the top left of an excel file( ) of the exported Jaccard pcoa results from the Moving Pictures tutorial to make sure I got your point: