Hello Peter,
I am trying to do a small-scale migration analysis using SNP data but have no luck. I am working on a regional scale, and for the global scale, I managed to do the vcf2mirate conversion, but regionally it won't work: I get the following error when trying to use vcf2migrate to convert my file.:
" Error in x@gt[i, j, drop = FALSE] :
(subscript) logical subscript too long"when trying to use vcf2migrate to convert my file.
Code: vcfR2migrate(vcf = dacicallKK , pop = pop2, in_pop= c("Ashmead", "Railway","Keurbooms","BollardBay", "LakeBrenton", "ThePoint", "TheHeads", "Harbour"),out_file = "dacickk.txt", method = 'H')
The vcf and pops are defined. and as mentioned, the code worked on a global scale.
Then, when I used the converted file in migrate-n on a Linux cluster I had the following error:

For context, I have 1619 SNPs for 86 individuals globally and 61 individuals regionally.
I would appreciate any help!
Stephanie