Skip to contents

Articles PubTator3 has tagged with a gene

Usage

pubtator_gene_literature(symbol = NULL, entrez = NULL, ...)

Arguments

symbol

A gene symbol.

entrez

An NCBI Gene id, preferred over symbol. See the note in the file header.

...

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

Value

A biohttp envelope whose data is a list of count, entity, results (the tibble from pubtator_parse_results(), which may be NULL), and source_url. A count of 0 is ok, not no_data.

References

Wei et al. (2024). PubTator 3.0: an AI-powered literature resource for unlocking biomedical knowledge. Nucleic Acids Research 52(W1), W540-W546. doi:10.1093/nar/gkae235

Service documentation: https://www.ncbi.nlm.nih.gov/research/pubtator3/

Examples

# \donttest{
biohttp::body_or_null(pubtator_gene_literature("TP53", 7157))$count
#> [1] 284213
# }