The monarch_api class is included in return mainly for debugging the REST requests.

bioentity_gene_info(gene, rows = 100)

Arguments

gene

A valid monarch initiative gene id.

rows

Number of rows of results to fetch.

Value

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

Details

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

Examples

gene <-"NCBIGene:8314" bioentity_gene_info(gene)
#> $gene_info #> $gene_info$taxon #> $gene_info$taxon$label #> [1] "Homo sapiens" #> #> $gene_info$taxon$id #> [1] "NCBITaxon:9606" #> #> #> $gene_info$xrefs #> NULL #> #> $gene_info$synonyms #> NULL #> #> $gene_info$types #> NULL #> #> $gene_info$replaced_by #> NULL #> #> $gene_info$description #> NULL #> #> $gene_info$categories #> [1] "gene" "sequence feature" #> #> $gene_info$consider #> NULL #> #> $gene_info$deprecated #> NULL #> #> $gene_info$label #> [1] "BAP1" #> #> $gene_info$id #> [1] "HGNC:950" #> #> #> $response #> <monarch https://api.monarchinitiative.org/api/bioentity/gene/NCBIGene%3A8314?rows=100&fetch_objects=true&format=json> #> <Showing parsed R objects from json response. 2 level(s) deep> #> List of 11 #> $ taxon :List of 2 #> ..$ label: chr "Homo sapiens" #> ..$ id : chr "NCBITaxon:9606" #> $ xrefs : NULL #> $ synonyms : NULL #> $ types : NULL #> $ replaced_by: NULL #> $ description: NULL #> $ categories : chr [1:2] "gene" "sequence feature" #> $ consider : NULL #> $ deprecated : NULL #> $ label : chr "BAP1" #> $ id : chr "HGNC:950" #>