R/ctwas_snp_LD_map.R
create_snp_map.Rd
Map SNPs to regions using all the variants in the LD reference.
create_snp_map(region_info, ref_snp_info, ncore = 1)
a data frame of region definitions, with columns: "chrom", "start", "stop", "region_id".
a data frame of all variant info in the reference.
The number of cores used to parallelize over regions