A general purpose R package for the analysis of co-dominant genetic data