Subsampling (skbio.math.subsample)

This module provides functionality for subsampling from vectors of counts.

Functions

subsample(counts, n[, replace]) Randomly subsample from a vector of counts, with or without replacement.