calc_universality_score: Calculate a score (0.0 to 1.0) for the "universality" of...

Description Usage Arguments Details Value Examples

View source: R/universal_microbes.R

Description

Calculate a score (0.0 to 1.0) for the "universality" of given microbial interaction

Usage

1

Arguments

x

vector of correlations between a pair of CLR microbes across individuals

Details

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.

Value

score

Examples

1
2
interaction_matrix <- get_universal_interactions(tax_level="ASV")
score <- calc_universality_score(interaction_matrix[,1])

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