View source: R/beta_diversity_fun.R
ordination_plot | R Documentation |
Plot Ordination
ordination_plot( phylo, ordination, type = "samples", color = NULL, shape = NULL, geom_star = TRUE )
phylo |
phyloseq object |
ordination |
ordination object |
type |
Plot type. Supported options are c("samples", "sites", "species", "taxa", "biplot", "split", "scree") |
color |
Map colors based on character string of a sample variable or taxonomic rank |
shape |
Map shapes based on character string of a sample variable or taxonomic rank |
geom_star |
boolean. If TRUE create a star plot by drawing segments from group centroid to each points. |
ggplot
data("mice_B6_N") ordination <- phyloseq::ordinate(mice_B6_N, "NMDS", "bray") ordination_plot(mice_B6_N, ordination)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.