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.

Examples

if (FALSE) { # \dontrun{
biohttp::body_or_null(pubtator_gene_literature("TP53", 7157))$count
} # }