Functions to query specific subset of data via dedicated APIs.

query_monarch(...)

query_oard(
  ids,
  concept_prefix = "q=",
  domain = "https://rare.cohd.io/api/",
  dataset_id = NULL,
  endpoint = "vocabulary/findConceptByAny",
  batch_size = 100
)

Arguments

...

Arguments passed on to monarchr::biolink_search

phrase_or_id

Something for which we are looking for more information, or to find useful entities.

rows

Number of rows of results to fetch.

ids

IDs to query.

concept_prefix

Concept prefix.

domain

OARD domain URL.

dataset_id

Dataset ID.

endpoint

OARD API endpoint to use. See the OARD API docs for details.

batch_size

Number of IDs to query at once.

Value

Queried data.

Functions

  • query_monarch(): query_

  • query_oard(): query_

    Query the Open Real-world-based Annotation for Rare Disease (OARD). See here for details.

Examples

cells <- monarchr::biolink_search(phrase_or_id = "T-cell")