Match GWAS sumstats with LD reference files. Only keep variants included in LD reference.

match_gwas_LDREF(sumstats, R, snp_info)

Arguments

sumstats

A data frame of GWAS summary statistics.

R

LD matrix

snp_info

Variant information for the LD matrix.

Value

A list, containing matched GWAS summary statistics and LD matrix.