Skip to contents

Look up one gene

Usage

mygene_gene(symbol, species = "human", ...)

Arguments

symbol

A gene symbol, Ensembl gene id, or Entrez id.

species

Passed through to MyGene.

...

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

Value

A biohttp envelope whose data is a one-row tibble. See mygene_parse_hits() for the columns.

Examples

if (FALSE) { # \dontrun{
res <- mygene_gene("TP53")
biohttp::body_or_null(res)
} # }