Assign GWAS SNPs to LD blocks
assign_snp_locus(sumstats, LD_Blocks)
A data frame of GWAS summary statistics. It is required to have the following columns: chr, pos, snp (rsID).
A data frame of LD blocks with four columns, 'chr', 'start', 'end', and 'locus' (LD block indices).
A data frame with summary statistics with assigned locus ID.