dmr,matrix-method {mina}R Documentation

Dimensionality reduction of the distance matrix.

Description

Dimensionality reduction of the distance matrix.

Usage

## 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

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)

[Package mina version 1.2.0 Index]