skbio.diversity.alpha.mcintosh_e

skbio.diversity.alpha.mcintosh_e(counts)[源代码]

计算麦金托什均匀度测量E。

状态:从0.4.0开始实验。

麦金托什均匀度E定义为:

\[E = \frac{\sqrt{\sum{n_i^2}}}{\sqrt{((N-S+1)^2 + S -1}}\]

哪里 \(n_i\) 中的个数 \(i^{\text{th}}\) 奥图, \(N\) 是个体的总数,以及 \(S\) 是示例中的OTU数量。

参数:

counts (1-D array_like, int) -- 计数向量。

返回:

麦金托什均匀度E。

返回类型:

double

参见

mcintosh_d

备注

The implementation here is based on the description given in [1], NOT the one in the SDR-IV online manual, which is wrong.

引用