I am trying to import a structure input file into the R package adegenet. I am going round and round and still not able to figure it out yet

This is the error I am getting:

Error in mat[, (ncol(mat) - p + 1):ncol(mat)] :

only 0's may be mixed with negative subscripts

I have 363 genotypes with 1000 markers and 2nd column is pop.label.

I can import the data using the df2genind function but then I have problem when I include the population data later on (which is the reason I wanted to use adegenet in the first place).

the error that I get while adding population label is follow:

pop(obj)

More Muhammad Massub Tehseen's questions See All
Similar questions and discussions