match_gwas_LDREF: Match GWAS sumstats with LD reference files. Only keep...

View source: R/utils.R

match_gwas_LDREFR Documentation

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

Description

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

Usage

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.


kevinlkx/mapgen documentation built on March 31, 2024, 11:03 p.m.