Description Usage Arguments Value
UniFrac is implimented as per Phyloseq, Bray Curtis from Vegan, Jensen-Shannon divergence from Phyloseq, and PCoA from APE. Plotting via plotly's 3d plotting.
1 |
METRIC |
Desired beta-diversity metric, options are Bray Curtis (braycurtis), Weighted UniFrac (weightedunifrac), UnWeighted UniFrac (unweightedunifrac), Jensen-Shannon diversgence (jsd). |
METADATA |
Metadata table with variables to color or shape points by where sample is row name. |
FEATURES |
Table of feature counts where Samples are columns, and IDs are row names. |
TREE |
A phylogenetic tree of phylo class *only required for UniFrac Metrics |
COLOR |
Metadata column to color samples by. Defaults to none. |
SHAPE |
Metadata column to shape samples by. Defaults to none. |
SUBSAMPLE |
Should table be subsampled? TRUE/FALSE (default: TRUE) |
AXIS |
Which PCs should be plotted? Expects a numeric vector of length 3. defaults to AXIS=c(1,2,3) |
PALETTE |
a vector of COLORS to be used? defaults to the rainbow palette. |
Returns plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.