Hello everyone,

I have a matrix of 170 genotypes and 3745 loci. I have added population origin to the matrix for further information when using adegenet package.

So, the first column is dedicated to genotypes (in rows), the second column is for "pop" and the third column is for locus1, fourth column is for locus2, etc. I have read adegenet tutorials.

I saved my file in a csv file. I loaded in R. All well.

The problem comes after I convert the data frame in a genind object. (I have 10 geographical origins on my data. The data frame is called adeg1):

h

More Adelina Larsen's questions See All
Similar questions and discussions