bioentity_diseases_assoc_w_gene: Gets diseases associated with a gene.

View source: R/monarchr.R

bioentity_diseases_assoc_w_geneR Documentation

Gets diseases associated with a gene.

Description

Given a gene, what diseases are associated with it.

Usage

bioentity_diseases_assoc_w_gene(gene, rows = 100)

Arguments

gene

A valid monarch initiative gene id.

rows

Number of rows of results to fetch.

Details

https://api.monarchinitiative.org/api/bioentity/gene/NCBIGene

Value

A list of (tibble of disease information, monarch_api S3 class).

Examples

gene <- "NCBIGene:8314"
bioentity_diseases_assoc_w_gene(gene)

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