Skip to contents

GO annotations for a UniProt accession

Usage

quickgo_annotations(
  accession,
  aspect = c("biological_process", "molecular_function", "cellular_component"),
  limit = 100,
  ...
)

Arguments

accession

A UniProt accession, for example "P21359".

aspect

One of "biological_process", "molecular_function", or "cellular_component".

limit

Maximum annotation rows to ask for. Remember these are evidence lines rather than terms, so this is not a term count.

...

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

Value

A biohttp envelope whose data is the tibble described in quickgo_parse_annotations().

Examples

if (FALSE) { # \dontrun{
biohttp::body_or_null(quickgo_annotations("P21359"))
} # }