Description Usage Arguments Value Examples
View source: R/universal_microbes.R
Plot heatmap over all pairwise (MAP) correlations between microbes at designated taxonomic level
1 2 3 4 5 6 7 8 9 10 |
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 |
cluster |
optional flag to hierarchically cluster across hosts and interactions |
taxon_idx |
optional logratio coordinate to render correlations against; if NULL, render all pairwise correlations |
show_plot |
optional flag to show() plot in addition to rendering it to a file |
return_matrix |
optional flag to return host x interaction correlation value matrix |
NULL or heatmap matrix
1 2 | Sigmas <- load_MAP_estimates(tax_level = "ASV", DLM = TRUE, logratio = "clr")
plot_interaction_heatmap(tax_level = "ASV", logratio = "clr", Sigmas = Sigmas)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.