ordination | R Documentation |
This function performs ordination using a selected method. It also performs PERMANOVA using a distance matrix corresponding to the taxa abundance under the different conditions/groups. It also computes pairwise beta dispersion for all conditions of a selected grouping variable, beta dispersion is measured as the average distance of group members to the group centroid. The function a solution of ordination, PERMANOVA results and beta dispersion results. See value for details.
ordination(physeq, method, grouping_column)
physeq |
(Required). A |
which_distance |
(Optional). A string character specifying dissimilarity index to be used in calculating pairwise distances (Default index is "bray".). "unifrac","wunifrac","manhattan", "euclidean", "canberra", "bray", "kulczynski", "jaccard", "gower", "altGower", "morisita", "horn", "mountford", "raup" , "binomial", "chao", "cao" or "mahalanobis". |
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. |
14/01/2020 ShenZhen China
Returns a list of three items:
A solution of the ordination
A data.frame
of betadispersion results; compared groups, corresponding pairwise observed p-values
and significant labels.
an object of class "adonis" with all components ; see adonis
for details.
Hua Zou, Huahui Ren
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.