View source: R/misc_helper_functions.R
basic_correlation_matrix | R Documentation |
Basic species-metaoblite correlation for comparison
basic_correlation_matrix(species, mets, method = "pearson")
species |
long-form table of species abundances |
mets |
long-form table of metabolite concentrations |
method |
Correlation method, must be one recognized by cor.test |
Table of correlation coefficients and p-values for every species-metabolite pair with sufficient complete sample data
basic_correlation_matrix(species, mets)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.