tophits | R Documentation |
By default performs clumping on the server side.
tophits(
id,
pval = 5e-08,
clump = 1,
r2 = 0.001,
kb = 10000,
pop = "EUR",
force_server = FALSE,
opengwas_jwt = get_opengwas_jwt()
)
id |
Array of GWAS studies to query. See |
pval |
use this p-value threshold. Default = |
clump |
whether to clump ( |
r2 |
use this clumping r2 threshold. Default is very strict, |
kb |
use this clumping kb window. Default is very strict, |
pop |
Super-population to use as reference panel. Default = |
force_server |
Logical. By default will return preclumped hits.
p-value threshold 5e-8, with r2 threshold 0.001 and kb threshold 10000,
using only SNPs with MAF > 0.01 in the European samples in 1000 genomes.
If force_server = |
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.