skbio.diversity.alpha.singles

skbio.diversity.alpha.singles(counts)[source]

Calculate number of single occurrences (singletons).

State: Experimental as of 0.4.0.

Parameters

counts (1-D array_like, int) – Vector of counts.

Returns

Singleton count.

Return type

int