fitTetra is an R package for assigning tetraploid genotype