I have a variety of (microsatellite) data sets for different species and want to compare their mean genetic diversity, i.e. their mean number of alleles per locus. This is dependent on the sample size in every data set. Does anyone know a good way to standardize the mean number of alleles to make them comparable across datasets? Preferably already implemented in an R package or possible to implement myself. Thanks!