betadiv | R Documentation |
calcaute beta diversity
betadiv(physeq, distance = "bray", method = "PCoA")
physeq |
A |
distance |
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 |
A character string specifying ordination method. All methods available to the |
list with beta diversity data.frame and PCs
Kai Guo
{
data("Physeq")
phy<-normalize(physeq)
res <- betadiv(phy)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.