get_associations_by_efo_trait: Get GWAS Catalog associations by EFO traits

View source: R/get_associations.R

get_associations_by_efo_traitR Documentation

Get GWAS Catalog associations by EFO traits

Description

Gets associations that match EFO trait description.

Usage

get_associations_by_efo_trait(
  efo_trait = NULL,
  verbose = FALSE,
  warnings = TRUE,
  page_size = 20L
)

Arguments

efo_trait

A character vector of EFO trait descriptions, e.g., 'uric acid measurement'.

verbose

A logical indicating whether the function should be verbose about the different queries or not.

warnings

A logical indicating whether to print warnings, if any.

page_size

An integer scalar indicating the page value to be used in the JSON requests, can be between 1 and 1000.

Value

A associations object.


ramiromagno/gwasrapidd documentation built on Jan. 3, 2024, 10:21 p.m.