Hello everyone,
I want to generate an IBD plot from a SNP dataset (not from DArT, initially no attached lat lon data but I do have access to this info) using the gl.ibd function.
I have successfully converted the SNP dataset to a genlight one, and was able to already use some of the other dartR functions with no errors. Now that I try to perform the gl.ibd function, I encounter an error:
Error in gl.ibd(Cgla_Cmar_86_10pops_bi_removed_nomaf.gl, coordinates = coords) :
Cannot find coordinates for each individual in slot @other$latlon.
Does anyone know how I can add the latlon info to my genlight object?
Thank you very much.