hello friends!
I am running the following function:
gl.ld.haplotype(mygl1,chrom_name = "LR991647.1_chromosome_24", ld_max_pairwise = 10000000 ).
this works well for some chromosomes, but for others, I get the following error:
Starting gl.ld.haplotype
Processing genlight object with SNP data
Calculating pairwise LD in population F
Analysing chromosome LR991647.1_chromosome_24
Regions defined for each Polygons
Error in `[.data.frame`(df.4.cut_4, , 2) : undefined columns selected
Could someone explain to me why this error occurs and if you know how to fix it?
Thanks in advance
cca
Translated with DeepL