Map SNPs to regions using all the variants in the LD reference.

create_snp_map(region_info, ref_snp_info, ncore = 1)

Arguments

region_info

a data frame of region definitions, with columns: "chrom", "start", "stop", "region_id".

ref_snp_info

a data frame of all variant info in the reference.

ncore

The number of cores used to parallelize over regions