See also
beta_div command
Beta diversity metrics
The Bray-Curtis metric between samples i and j is calculated as follows.
N = number of OTUs.
nki = count of OTU k in sample i.
S = sum k = 1 .. N of min(nki, nkj)
T = sum k = 1 .. N of (nki + nkj)
Bray-Curtis = 1 - 2 S / T