HLCYG (How low can you go) is an R package that provides a convenient way of testing a range of thresholds for rarefation, evaluating the effect of different values on ordination results, and integrating with commonly used packages in microbial ecology.
Installation guide and documentation can be found here: https://repeated-rarefaction.readthedocs.io/en/latest/#