adj: Calculate the correlation adjacacency matrix.

Description Usage Arguments Value Examples

Description

Calculate the correlation adjacacency matrix.

Usage

1
adj(x, method, ...)

Arguments

x

An object of the class mina with 'norm' defined or a 'norm' matrix.

method

The correlation coeffient used for adjacacency matrix.

...

Additional parameters.

Value

Adjacency matrix.

Examples

1
2
3
4
maize <- new("mina", tab = maize_asv2, des = maize_des2)
maize <- norm_tab(maize, method = "raref", depth = 1000)
maize <- fit_tabs(maize)
maize <- adj(maize, method = "spearman", sig = FALSE)

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