cmat2table: Convert Correlation Matrix into a Table

Description Usage Arguments Value Author(s) References Examples

View source: R/associate.R

Description

Arrange correlation matrices from associate into a table format.

Usage

1
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

1
2
3
4
5
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 documentation built on Nov. 8, 2020, 5:08 p.m.