MRCIEU / ieugwasr

R interface to the IEU GWAS database API
https://mrcieu.github.io/ieugwasr/
Other
67 stars 23 forks source link

harmonise_ld_dat not working properly #45

Open marwaalarab opened 6 months ago

marwaalarab commented 6 months ago

Hi, harmonise_ld_dat()always give all(snpnames[, 1] == x$SNP) is not TRUE even if the snps in matrix and x are equal, this should be either fixed tostopifnot(all(sort(snpnames[, 1]) == sort(x$SNP))) or notify the users in the help page to sort the snps before running the function. Thanks