add_RS_to_GWAS: Find overlapping RS ids in GWAS using genomic co-ordinates.

Description Usage Arguments Value

View source: R/GWAS_formatting_functions.R

Description

Function to find the RS ids in a GWAS where SNPs have been provided as genomic coordinates i.e. some combination of SNP and BP.

Usage

1
add_RS_to_GWAS(GWAS, dbSNPref)

Arguments

GWAS

GWAS with a minimum of 2 columns labelled CHR and BP. If additional columns included these will be preserved.

dbSNPref

BS genome reference snps (choose appropriate dbSNP build dependent on genome build)

Value

GWAS with RS ids.


RHReynolds/LDSCforRyten documentation built on Sept. 27, 2021, 5:20 p.m.