bioentity_genes_assoc_w_disease: Get genes associated with a disease

View source: R/monarchr.R

bioentity_genes_assoc_w_diseaseR Documentation

Get genes associated with a disease

Description

mimics https://api.monarchinitiative.org/api/bioentity/disease/MONDO

Usage

bioentity_genes_assoc_w_disease(disease, rows = 100, start = 0,
  fetch_objects = FALSE)

Arguments

disease

An id for a disease, like a MONDO ID.

rows

Number of rows of results to fetch.

start

The starting row of the results to fetch.

fetch_objects

Whether or not to fetch objects at the top level of the json response.

Value

A list of (a list of information, monarch_api S3 class).

Examples

disease <- "MONDO:0006486" # uveal melanoma
bioentity_genes_assoc_w_disease(disease)

charlieccarey/monarchr documentation built on Dec. 12, 2023, 12:57 p.m.