Skip to contents

A thin wrapper over dgidb_genes().

Usage

dgidb_gene(symbol, ...)

Arguments

symbol

A gene symbol.

...

Passed to biohttp::post_json(), for example throttle.

Value

A biohttp envelope whose data is a one-row tibble.

References

Cannon et al. (2024). DGIdb 5.0: rebuilding the drug-gene interaction database for precision medicine and drug discovery platforms. Nucleic Acids Research 52(D1), D1227-D1235. doi:10.1093/nar/gkad1040

Service documentation: https://dgidb.org/

Examples

# \donttest{
biohttp::body_or_null(dgidb_gene("NF1"))
#> # A tibble: 1 × 4
#>   symbol concept_id interaction_count source_url                       
#>   <chr>  <chr>                  <int> <chr>                            
#> 1 NF1    hgnc:7765                 25 https://dgidb.org/genes/hgnc:7765
# }