Description Usage Arguments Details Value Examples
View source: R/universal_microbes.R
Calculate a score (0.0 to 1.0) for the "universality" of given microbial interaction
1 |
x |
vector of correlations between a pair of CLR microbes across individuals |
An element of x should be the (MAP) correlation between a pair of CLR microbes. The length of x is assumed equal to the number of hosts.
score
1 2 | interaction_matrix <- get_universal_interactions(tax_level="ASV")
score <- calc_universality_score(interaction_matrix[,1])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.