| plot_ordination_pq | R Documentation |
A wrapper of plot_ordination with vegan distance matrix
plot_ordination_pq(
physeq,
method = "robust.aitchison",
ordination_method = "NMDS",
...
)
physeq |
(required) a |
method |
(string, default "robust.aitchison") The distance method to use from vegan::vegdist(). See ?vegan::vegdist for more details. |
ordination_method |
(string, default "NMDS") The ordination method to use in phyloseq::ordinate(). See ?phyloseq::ordinate for more details. |
... |
Additional arguments passed on to phyloseq::plot_ordination() |
Basically a wrapper of phyloseq::plot_ordination() to use aitchison and
robust.aitchison distances from vegan package.
A ggplot2 object
Adrien Taudière
library(patchwork)
plot_ordination_pq(data_fungi_mini, method = "robust.aitchison", color = "Height") +
plot_ordination_pq(data_fungi_mini, method = "bray", color = "Height")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.