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 April 2, 2024, 5:48 a.m.