Skip to contents

Interaction partners for one gene

Usage

string_partners(symbol, species = STRING_HUMAN, limit = 25, ...)

Arguments

symbol

A gene symbol.

species

An NCBI taxon id. Defaults to human.

limit

How many partners to return.

...

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

Value

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

On STRING's content type

STRING serves JSON as text/json rather than application/json. A client that trusts the content-type header rejects a perfectly good body. biohttp parses with check_type = FALSE, so this works, but it is the reason not to "tidy" that up.

Examples

if (FALSE) { # \dontrun{
biohttp::body_or_null(string_partners("TP53"))
} # }