skbio.math.diversity.alpha.osd

skbio.math.diversity.alpha.osd(counts)[source]

Calculate observed OTUs, singles, and doubles.

Parameters:

counts : 1-D array_like, int

Vector of counts.

Returns:

osd : tuple

Observed OTUs, singles, and doubles.

Notes

This is a convenience function used by many of the other measures that rely on these three measures.