extract_instruments | R Documentation |
This function searches for GWAS significant SNPs (for a given p-value) for a specified set of outcomes. It then performs LD based clumping to return only independent significant associations.
extract_instruments(
outcomes,
p1 = 5e-08,
clump = TRUE,
p2 = 5e-08,
r2 = 0.001,
kb = 10000,
access_token = ieugwasr::check_access_token(),
force_server = FALSE
)
outcomes |
Array of outcome IDs (see |
p1 |
Significance threshold. The default is |
clump |
Logical; whether to clump results. The default is |
p2 |
Secondary clumping threshold. The default is |
r2 |
Clumping r2 cut off. The default is |
kb |
Clumping distance cutoff. The default is |
access_token |
Google OAuth2 access token. Used to authenticate level of access to data. The default is |
force_server |
Force the analysis to extract results from the server rather than the MRInstruments package. |
data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.