adj {mina} | R Documentation

## Calculate the correlation adjacacency matrix.

### Description

Calculate the correlation adjacacency matrix.

### Usage

    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

    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)

[Package mina version 1.2.0 Index]