Subset counts so that all samples have the same number of observations.
rarefy(biom, depth = NULL, seed = 0)
The number of observations to keep, per sample. If set to
An integer to use for seeding the random number generator. If
you need to create different random rarefactions of the same
object, depending on the input object type. The type of object provided
is the same type that is returned. The retained observations are randomly
selected, based on a seed value derived from the
Therefore, rarefying the same biom to the same depth will always produce
the same resultant rarification.