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
Hi,
harmonise_ld_dat()
always giveall(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