View source: R/dendrogram_phyloseq.R
dendrogram_phyloseq | R Documentation |
Inputs a phyloseq-class
object and
plots the dendrogram of samples colored by treatment.
dendrogram_phyloseq(phyloseq_obj, treatment, method = 'bray',
colors = 'default')
phyloseq_obj |
A |
treatment |
Column name as a string or number in the
|
method |
the distance measurement algorithm to use, match to "euclidean", "manhattan", "canberra", "clark", "bray", "kulczynski", "jaccard", "gower", "altGower", "morisita", "horn", "mountford", "raup", "binomial", "chao", "cao" or "mahalanobis". |
colors |
Name of a color set from the RColorBrewer package or a vector palette of R-accepted colors. |
ggplot-object
dendrogram_phyloseq(soil_column, c('Matrix', 'Treatment'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.