Map SNPs to regions using region meta table.

create_snp_LD_map(region_metatable, snpinfo_loader_fun = NULL)

Arguments

region_metatable

a data frame of region meta table, with columns: "chrom", "start", "stop", "region_id", "LD_file", "SNP_file".

snpinfo_loader_fun

IF not NULL, use custom loader function to read SNP files.