skbio.diversity.alpha.
dominance
(counts)[source]¶Calculate dominance.
State: Experimental as of 0.4.0.
Dominance is defined as
where \(p_i\) is the proportion of the entire community that OTU \(i\) represents.
Dominance can also be defined as 1 - Simpson’s index. It ranges between 0 and 1.
Parameters: | counts : 1-D array_like, int
|
---|---|
Returns: | double
|
See also
Notes
The implementation here is based on the description given in [R4747].
References
[R4747] | (1, 2) http://folk.uio.no/ohammer/past/diversity.html |