Skip to contents

One request for the whole list, because DGIdb's genes query already takes an array.

Usage

dgidb_genes(symbols, ...)

Arguments

symbols

Gene symbols.

...

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

Value

A biohttp envelope whose data is a tibble with one row per entry in symbols, in the same order. See dgidb_parse_genes() for the columns and for why an unknown gene is NA rather than 0.

Examples

if (FALSE) { # \dontrun{
biohttp::body_or_null(dgidb_genes(c("NF1", "BRAF")))
} # }