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.