I am really interested in qiime diversity pcoa-biplot.
In my understanding, this plugin can show the features (with taxonomic infromation?) with arrow on PCoA space and help us to understand the relationship between features and variance of plots. Am I right?
But I could not understand the usage of this plugin well.
This plugin requires FeatureTable[RelativeFrequency].
Does anyone know how to prepare the FeatureTable[RelativeFrequency]?
And if it is possible, I would like to visualize taxonomic information upon PCoA emperor plot.
Use qiime feature-table relative-frequency to generate the table for pcoa-biplot. You need this to be based on the rarefied table you are using for your beta and pcoa steps. You can use provenance to prove that you’re using the same rarefied table in both relative-frequency and pcoa
Run pcoa-biplot with that table and an existing PCoAResults (generated by your previous pcoa).
Use qiime emperor biplot with --m-feature-metadata-file set to your FeatureData[Taxonomy] artifact. This will let you color the biplot vectors by taxonomy (it’s at the bottom of the normal color dropdown in the Emperor UI).
I would like show the taxonomic name on the arrow instead of featureID. If it is possible, I'd like to show more simple name like g_XXXX;s_XXX.
And can I export pcoa scores (contributions) of feature IDs (with their taxonomy, if possible)?
You will probably want to use qiime taxa collapse (unfortunately that has to be done of the frequency table). To my knowledge emperor does not let us rename the vectors you see there, so we have to provide a different feature set (via taxa collapse, or feature-table group).
It sounds like you are interested in something like the loadings/coefficients of each feature for a sample? Unfortunately that is only possible with Euclidean distance (PCA), with general metric spaces we don't have that option.
However if you are interested in the specifics of the feature vectors in terms of the principle coordinates, then you can export your PCoAResults % Properties("biplot") artifact to see that (it's a TSV with a few sections). But my guess is that isn't probably what you are looking for.
I do not believe so. Although if you were to export the plot as svg (via a right-click), you could edit out the labels manually. Obviously it won't be interactive anymore, so that may not be what you need.