Conversation
|
@antagomir Any further ideas visualizing PCA/PCoA results? |
|
Seems great.
|
|
2.-3. This is working just like scater::plotReducedDim(). This does not do any calculations. |
Oh yes. |
|
Remember to update Check also that the naming of arguments is harmonized. Currently, some of the arguments are passed to plotReducedDim without touching them, leading to usage of to naming conventions. For instance, this does not work
but this works
|
|
Add option for adding sample names:
It can take either TRUE, FALSE or vector value that has the displayed sample names. |
|
in plotRDA (and plotOrdination) make sure that axis labels are from reducedDim() results. Currently, plotRDA overwrites somewhere the axis labels. In the example below, y axis should be MDS1 as there is only one constrained axis (dbRDA1). However, they are now dbRDA1 and dbRDA2. |
We have been using scater::plotReducedDim() to visualize reduced dimensionalities. However, it has couple limitations. For instance, it does not have functionality to add ellipses or to connect paired samples. The idea of plotOrdination() is to create a method that allows us to create easily visualizations commonly used in microbiome context. This can be easily extended later if needed.
I checked the literature, and identified the plots below. Is there other layouts that should be implemented?