Description Usage Arguments Value Examples
View source: R/universal_microbes.R
Get all pairwise (MAP) correlations between microbes at designated taxonomic level
1 2 3 4 5 6 | get_pairwise_correlations(
tax_level = "ASV",
logratio = "alr",
Sigmas = NULL,
DLM = FALSE
)
|
tax_level |
taxonomic level at which to agglomerate data |
logratio |
logratio representation to use (e.g. "alr", "ilr", "clr") |
Sigmas |
optional list (indexed by host short name) of MAP estimates of microbial covariance; if not provided, this will be loaded |
DLM |
if TRUE, looks for DLM model fits instead of GP model fits |
taxon_idx |
the logratio coordinate to render correlations against |
correlation matrix of dimensions number of hosts x number of unique interactions between logratio taxa
1 | interactions <- get_pairwise_correlations(tax_level = "ASV", logratio = "alr")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.