[adegenet-forum] xy coordinate data

Lumley, Lisa Lisa.Lumley at RNCan-NRCan.gc.ca
Sat Feb 8 08:20:10 CET 2014


Hi there,

I've searched the adegenet forum and web, but have not been able to find anything, so hopefully these questions aren't redundant. I just want to confirm the way I am inputting the xy coordinate data.

1. I am importing Structure files, where the data is on two lines for each individual. However, I am importing an xy coordinate file corresponding to the data that gives the coordinates only on one line per individual (i.e. a file for 100 individuals will have 200 rows of data in Structure, corresponding to 100 rows of data in the xy coordinate file). 

2. After converting a genind file to a genpop file (e.g. for IBD), I am importing an xy coordinate file with only one line of coordinate data per population (i.e. 15 populations = 15 rows of coordinate data).

Are these the correct way of doing this? Just want to make sure, as matching these two matrices will be crucial to any spatial analyses...

Thanks for your help!
Lisa


More information about the adegenet-forum mailing list