skbio.diversity.alpha.
fisher_alpha
(counts)[source]¶Calculate Fisher’s alpha, a metric of diversity.
State: Experimental as of 0.4.0.
Fisher’s alpha is estimated by solving the following equation for \(\alpha\):
where \(S\) is the number of OTUs and \(N\) is the total number of individuals in the sample.
Parameters: | counts : 1-D array_like, int
|
---|---|
Returns: | double
|
Raises: | RuntimeError
|
Notes
The implementation here is based on the description given in the SDR-IV
online manual [R29]. Uses scipy.optimize.minimize_scalar
to find
Fisher’s alpha.
References
[R29] | (1, 2) http://www.pisces-conservation.com/sdrhelp/index.html |