The batch POST, which is the reason this client is worth installing. An N-symbol list is one round trip rather than N, and the round trip is where essentially all the time goes.
Arguments
- symbols
Gene symbols, Ensembl gene ids, or Entrez ids.
- species
Passed through to MyGene.
- ...
Passed to
biohttp::post_json().
Value
A biohttp envelope whose data is a tibble with one row per entry in
symbols, in the same order.
Examples
if (FALSE) { # \dontrun{
res <- mygene_genes(c("TP53", "BRCA1", "EGFR"))
biohttp::body_or_null(res)
} # }