Description Usage Arguments Value Author(s) Examples
View source: R/mantel.genus2meta.R
Test the correlation of two matrix using the mantel function in the vegan package
1 | mantel.genus2meta(genusdata, metadata, method = "pearson", perm = 999)
|
genusdata |
the OTU table |
metadata |
the metadata |
method |
method to be used for correlation analysis, one of pearson and spearman, the default value is pearson |
perm |
the permutation value, default value is 999 |
a ggplot object
Zhonghui Gai
1 | mantel.genus2meta(iris[,1:2], iris[,3:4])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.