dmr-matrix: Dimensionality reduction of the distance matrix.

Description Usage Arguments Value Examples

Description

Dimensionality reduction of the distance matrix.

Usage

1
2
## S4 method for signature 'matrix'
dmr(x, k = 4)

Arguments

x

A distance matrix.

k

The number of dimensionality after reduction, 4 by default.

Value

y The coordinates of components indicated in distance matrix in k dimension.

Examples

1
2
3
4
5
6
maize <- new("mina", tab = maize_asv2, des = maize_des2)
maize <- norm_tab(maize, method = "raref")
maize <- fit_tabs(maize)
maize <- com_dis(maize, method = "bray")
asv_dis <- dis(maize)
asv_dis_dmr <- dmr(asv_dis, k = 4)

Guan06/mina documentation built on Feb. 21, 2022, 11:56 a.m.