View source: R/coda4microbiome_functions.R
shannon_sim | R Documentation |
Shannon similarity between two compositions
shannon_sim(x, y)
x |
abundance composition (vector) |
y |
abundance composition (vector) |
shannon similarity (value between 0 and 1)
M. Calle - T. Susin
data(HIV, package = "coda4microbiome")
shannon_sim(x_HIV[1,],x_HIV[2,])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.