Get region info with filenames of LD matrices and variant information

get_UKBB_region_info(
  LD_Blocks,
  LDREF.dir,
  prefix = "ukb_b37_0.1",
  LD_matrix_ext = "RDS",
  snp_info_ext = "Rvar"
)

Arguments

LD_Blocks

A data frame of LD blocks

LDREF.dir

Directory of UKBB LD reference files

prefix

prefix name of the UKBB LD reference files

LD_matrix_ext

File extension of LD matrix files

snp_info_ext

File extension of SNP information files

Value

A data frame with information of the variants in the LD matrix.