View source: R/humann2_utils.R
outputs order of samples by bray curtis
| 1 2 3 4 5 6 | plotHummanMetadata(
  metaphlan,
  distance.method = "bray",
  cluster.method = "single",
  metadata = hmp1_2_metadata
)
 | 
| metaphlan | MetaPhlAn2 table | 
| distance.method | Dissimilarity index, partial match to "manhattan", "euclidean", "canberra", "clark", "bray", "kulczynski", "jaccard", "gower", "altGower", "morisita", "horn", "mountford", "raup", "binomial", "chao", "cao" or "mahalanobis". | 
| cluster.method | The agglomeration method to be used. This should be (an unambiguous abbreviation of) one of "ward.D", "ward.D2", "single", "complete", "average" (= UPGMA), "mcquitty" (= WPGMA), "median" (= WPGMC) or "centroid" (= UPGMC). | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.