50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

gwasrapidd (version 0.99.17)

get_child_efo: Get all child terms of this trait in the EFO hierarchy

Description

Get all child terms of this trait in the EFO hierarchy

Usage

get_child_efo(
  efo_id,
  verbose = FALSE,
  warnings = TRUE,
  page_size = 20L,
  progress_bar = TRUE
)

Value

A named list whose values are character vectors of EFO identifiers.

Arguments

efo_id

A character vector of EFO identifiers.

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.

progress_bar

Whether to show a progress bar as the paginated resources are retrieved.

Examples

Run this code
if (FALSE) {
get_child_efo(c('EFO_0004884', 'EFO_0004343', 'EFO_0005299'))
}

Run the code above in your browser using DataLab