associations | R Documentation |
Every rsid is searched for against each requested GWAS id. To get a list of
available GWAS ids, or to find their meta data, use gwasinfo
.
Can request LD proxies for instances when the requested rsid is not present
in a particular GWAS dataset. This currently only uses an LD reference panel
composed of Europeans in 1000 genomes version 3.
It is also restricted to biallelic single nucleotide polymorphisms (no indels),
with European MAF > 0.01.
associations(
variants,
id,
proxies = 1,
r2 = 0.8,
align_alleles = 1,
palindromes = 1,
maf_threshold = 0.3,
opengwas_jwt = get_opengwas_jwt()
)
variants |
Array of variants e.g. |
id |
Array of GWAS studies to query. See |
proxies |
|
r2 |
Minimum proxy LD rsq value. Default= |
align_alleles |
Try to align tag alleles to target alleles (if |
palindromes |
Allow palindromic SNPs (if |
maf_threshold |
MAF threshold to try to infer palindromic SNPs. Default = |
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. |
Dataframe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.