extract_outcome_data | R Documentation |
read_exposure_data()
and all the SNPs therein will be queried against the requested outcomes in remote database using API.Supply the output from read_exposure_data()
and all the SNPs therein will be queried against the requested outcomes in remote database using API.
extract_outcome_data(
snps,
outcomes,
proxies = TRUE,
rsq = 0.8,
align_alleles = 1,
palindromes = 1,
maf_threshold = 0.3,
opengwas_jwt = ieugwasr::get_opengwas_jwt(),
splitsize = 10000,
proxy_splitsize = 500
)
snps |
Array of SNP rs IDs. |
outcomes |
Array of IDs (see |
proxies |
Look for LD tags? Default is |
rsq |
Minimum LD rsq value (if proxies = 1). Default = |
align_alleles |
Try to align tag alleles to target alleles (if proxies = 1). |
palindromes |
Allow palindromic SNPs (if proxies = 1). |
maf_threshold |
MAF threshold to try to infer palindromic SNPs. The default is |
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. |
splitsize |
The default is |
proxy_splitsize |
The default is |
Dataframe of summary statistics for all available outcomes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.