skbio.diversity.alpha.observed_features#

skbio.diversity.alpha.observed_features(counts)[source]#

Calculate the number of distinct features.

Parameters:
counts1-D array_like, int

Vector of counts.

Returns:
int

Distinct feature count.

See also

sobs

Notes

observed_features is an alias for sobs.