afl2_rsid: Look up allele frequencies and LD scores for 1000 genomes...

View source: R/afl2.r

afl2_rsidR Documentation

Look up allele frequencies and LD scores for 1000 genomes populations by rsid

Description

Look up allele frequencies and LD scores for 1000 genomes populations by rsid

Usage

afl2_rsid(rsid, reference = "1000g", opengwas_jwt = get_opengwas_jwt())

Arguments

rsid

Vector of rsids

reference

Default="1000g"

opengwas_jwt

Used to authenticate protected endpoints. Login to https://api.opengwas.io to obtain a jwt. Provide the jwt string here, or store in .Renviron under the keyname OPENGWAS_JWT.

Value

Data frame containing ancestry specific LD scores and allele frequencies for each variant


ieugwasr documentation built on July 2, 2024, 1:06 a.m.