View source: R/plot_ordination.R
plot_ordination | R Documentation |
This function produces visualisation of ordination and beta dispersion results.
plot_ordination(physeq, method, grouping_column)
ordination.res |
(Required). A solution of ordination results returned from ordination. |
method |
(Optional). A character string specifying ordination method. All methods available to the |
grouping_column |
(Required). Character string specifying name of a categorical variable that is preffered for grouping the information. information. |
PID |
id (Required) for paired test |
paired |
|
circle |
|
time_colour |
a vector include the color |
14/01/2020 ShenZhen China
Returns a ggplot object.
Hua Zou; hua huiren
http://userweb.eng.gla.ac.uk/umer.ijaz/, Umer Ijaz, 2015
data(physeq_data)
physeq <- physeq_data
ord.res <- ordination(physeq, method = "NMDS", grouping_column = "Stage")
plot_ordination(ord.res, method = "PCoA", grouping_column = "Stage", PID = "ID")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.