Generate plots for a list of ordination methods and distances.

ordination_plots(obj, methods = c("PCoA", "NMDS"),
  distances = c("wunifrac", "unifrac", "bray"),
  color = "TreatmentGroup", select_otu_table = "otu_proportions")

Arguments

obj

An object to be converted to a metacoder object with create_taxmap.

methods

A list of ordination methods, Default: 'c("PCoA", "NMDS")'

distances

A list of distance methods, Default: 'c("wunifrac", "unifrac", "bray")'

color

Choose the group or factor of which colors will be mapped to, Default: 'TreatmentGroup'

select_otu_table

The data table to use in the observation data. Default: "otu_proportions"

Value

Returns a melted dataframe.

See also