All functions

api_query()

Wrapper for sending queries and payloads to API

api_status()

MR-Base server status

associations()

Query specific variants from specific GWAS

batches()

Get list of data batches in IEU GWAS database

check_access_token()

Check if authentication has been made

editcheck()

Check datasets that are in process of being uploaded

get_access_token()

Get access token for OAuth2 access to MR Base

get_query_content()

Parse out json response from httr object

gwasinfo()

Get list of studies with available GWAS summary statistics through API

ld_clump()

Perform LD clumping on SNP data

ld_clump_api()

Perform clumping on the chosen variants using through API

ld_clump_local()

Wrapper for clump function using local plink binary and ld reference dataset

ld_matrix()

Get LD matrix for list of variants

ld_matrix_local()

Get LD matrix using local plink binary and reference dataset

legacy_ids()

Convert current IDs to legacy IDs

logging_info()

Details of how access token logs are used

phewas()

Perform fast phewas of a specific variants against all available GWAS datasets

revoke_access_token()

Revoke access token for MR Base

select_api()

Toggle API address between development and release

tophits()

Obtain top hits from a GWAS dataset

variants_chrpos()

Obtain information about chr pos and surrounding region

variants_gene()

Obtain variants around a gene

variants_rsid()

Obtain information about rsid

variants_to_rsid()

Convert mixed array of rsid and chrpos to list of rsid