Dear Valeria, I think the way you import data in the first place is wrong. The function as.genind should just be used if you already possess a table of allele frequencies.