Load UK Biobank LD reference matrix and variant information
load_UKBB_LDREF(
LD_Blocks,
locus,
LDREF.dir,
prefix = "ukb_b37_0.1",
LD_matrix_ext = "RDS",
snp_info_ext = "Rvar"
)
A data frame of LD blocks
locus ID
Directory of UKBB LD reference files
prefix name of the UKBB LD reference files
File extension of LD matrix files
File extension of SNP information files
A list, containing LD (correlation) matrix R and a data frame with information of the variants in the LD matrix.