get_traits_by_efo_uri: Get GWAS Catalog traits by EFO URIs

View source: R/get_traits.R

get_traits_by_efo_uriR Documentation

Get GWAS Catalog traits by EFO URIs

Description

Gets traits that match EFO URI.

Usage

get_traits_by_efo_uri(
  efo_uri = NULL,
  verbose = FALSE,
  warnings = TRUE,
  page_size = 20L
)

Arguments

efo_uri

A character vector of EFO URIs.

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 traits object.


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