skbio.math.diversity.alpha.singlesΒΆ

skbio.math.diversity.alpha.singles(counts)[source]ΒΆ

Calculate number of single occurrences (singletons).

Parameters:

counts : 1-D array_like, int

Vector of counts.

Returns:

int

Singleton count.