cmat2table {microbiome} | R Documentation

## Convert Correlation Matrix into a Table

### Description

Arrange correlation matrices from associate into a table format.

### Usage

    cmat2table(res, verbose = FALSE)

### Arguments

`res` | Output from associate
`verbose` | verbose

### Value

Correlation table

### Author(s)

Contact: Leo Lahti microbiome-admin@googlegroups.com

### References

See citation('microbiome')

### Examples

    data(peerj32)
    d1 <- peerj32$microbes[1:20, 1:10]
    d2 <- peerj32$lipids[1:20,1:10]
    cc <- associate(d1, d2, mode='matrix', method='pearson')
    cmat <- associate(d1, d2, mode='table', method='spearman')

[Package microbiome version 1.8.0 Index]