bioentity_homologs: Gets homologs for a gene.

View source: R/monarchr.R

bioentity_homologsR Documentation

Gets homologs for a gene.

Description

Replicates info in view: https://api.monarchinitiative.org/api/#!/bioentity/get_gene_homologs

Usage

bioentity_homologs(gene, homolog_taxon = NULL, rows = 100)

Arguments

gene

A valid monarch initiative gene id.

homolog_taxon

A taxon for the target organism.

rows

Number of rows of results to fetch.

Taxon takes the form NCBITaxon:id. (human: NCBITaxon:9606)

Details

mimics calls like these

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

Value

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

Examples

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

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