| gc_get | R Documentation | 
This function gets a GWAS Catalog by URL endpoint. The response must correspond to one of the four types of entities: studies, associations, variants or traits.
gc_get(
  resource_url,
  base_url = gwas_rest_api_base_url,
  verbose = FALSE,
  warnings = TRUE,
  page_size = 20L
)
| resource_url | Endpoint URL. The endpoint is internally appended to the
 | 
| base_url | The GWAS REST API base URL (one should not need to change its default value). | 
| verbose | Whether to be chatty. | 
| warnings | Whether to print warnings. | 
| page_size | Page parameter used in the URL endpoint. | 
A normalised JSON-list corresponding to either studies, associations, variants or traits.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.