distmat_ord_table | R Documentation |
Run ordinations on a distance matrix.
distmat_ord_table(dm, ord = "PCoA", k = 2L, ...)
dm |
A |
ord |
Method for reducing dimensionality. Options are:
Multiple/abbreviated values allowed. Default: |
k |
Number of ordination dimensions to return. Either |
... |
Additional arguments for |
A data.frame with columns .sample
, .ord
, .x
,
.y
, and (optionally) .z
.
Other ordination:
bdiv_ord_plot()
,
bdiv_ord_table()
library(rbiom)
dm <- bdiv_distmat(hmp50, "bray")
ord <- distmat_ord_table(dm, "PCoA")
head(ord)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.