Get LD matrix using local plink binary and reference dataset
ld_matrix_local(variants, bfile, plink_bin, with_alleles = TRUE)
data frame
List of variants (rsids)
Path to bed/bim/fam ld reference panel
Specify path to plink binary. Default = NULL
.
See https://github.com/explodecomputer/plinkbinr for convenient access to plink binaries
Whether to append the allele names to the SNP names.
Default: TRUE