cmat2table: Convert Correlation Matrix into a Table

View source: R/associate.R

cmat2tableR 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')

microbiome/microbiome documentation built on Aug. 22, 2023, 7:12 a.m.