get_all_vs_one_correlations: Get correlations between one microbe and all others at...

Description Usage Arguments Value Examples

View source: R/universal_microbes.R

Description

Get correlations between one microbe and all others at designated taxonomic level

Usage

1
2
3
4
5
6
get_all_vs_one_correlations(
  taxon_idx,
  tax_level = "ASV",
  logratio = "alr",
  Sigmas = NULL
)

Arguments

taxon_idx

the logratio coordinate to render correlations against

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

Value

correlation matrix of dimensions number of hosts x number of logratio taxa - 1

Examples

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

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