get_pairwise_proportionalities: Get all pairwise (MAP) proportionalities between microbes at...

Description Usage Arguments Value Examples

View source: R/universal_microbes.R

Description

Get all pairwise (MAP) proportionalities between microbes at designated taxonomic level

Usage

1
2
3
4
5
6
get_pairwise_proportionalities(
  tax_level = "ASV",
  logratio = "alr",
  Sigmas = NULL,
  DLM = FALSE
)

Arguments

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

Value

correlation matrix of dimensions number of hosts x number of unique interactions between logratio taxa

Examples

1
interactions <- get_pairwise_proportionalities(tax_level = "ASV", logratio = "alr")

kimberlyroche/ROL documentation built on Dec. 10, 2020, 2:18 a.m.