distmat_ord_table {rbiom} | R Documentation |
Run ordinations on a distance matrix.
Description
Run ordinations on a distance matrix.
Usage
distmat_ord_table(dm, ord = "PCoA", k = 2L, ...)
Arguments
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 |
Value
A data.frame with columns .sample
, .ord
, .x
,
.y
, and (optionally) .z
.
See Also
Other ordination:
bdiv_ord_plot()
,
bdiv_ord_table()
Examples
library(rbiom)
dm <- bdiv_distmat(hmp50, "bray")
ord <- distmat_ord_table(dm, "PCoA")
head(ord)
[Package rbiom version 2.2.1 Index]